diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2013-04-26 02:12:55 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-26 20:18:24 +0200 |
commit | abbbe3de4aea92319f77cc9d402e983513d08539 (patch) | |
tree | 6fb3d1e9a61c74ecd8d9ba3c746a48983a1ec0d5 /pc-bios/s390-ccw/virtio.h | |
parent | 0f3f1f302fd2021a5ce6cb170321d0a0d35bdec5 (diff) | |
download | qemu-abbbe3de4aea92319f77cc9d402e983513d08539.tar.gz qemu-abbbe3de4aea92319f77cc9d402e983513d08539.tar.bz2 qemu-abbbe3de4aea92319f77cc9d402e983513d08539.zip |
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>
Diffstat (limited to 'pc-bios/s390-ccw/virtio.h')
-rw-r--r-- | pc-bios/s390-ccw/virtio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pc-bios/s390-ccw/virtio.h b/pc-bios/s390-ccw/virtio.h index a33199dd08..86fdd579b4 100644 --- a/pc-bios/s390-ccw/virtio.h +++ b/pc-bios/s390-ccw/virtio.h @@ -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; |