mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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:
parent
0f3f1f302f
commit
abbbe3de4a
2 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue