s390-ccw.img: Get queue config from host.

Ask the host about the configuration instead of guessing it.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
Cornelia Huck 2013-04-26 02:12:55 +00:00 committed by Alexander Graf
parent 0f3f1f302f
commit abbbe3de4a
2 changed files with 12 additions and 3 deletions

View file

@ -53,6 +53,11 @@ struct vq_info_block {
u16 num;
} __attribute__((packed));
struct vq_config_block {
u16 index;
u16 num;
} __attribute__((packed));
struct virtio_dev {
struct virtio_dev_header *header;
struct virtio_vqconfig *vqconfig;