From abbbe3de4aea92319f77cc9d402e983513d08539 Mon Sep 17 00:00:00 2001 From: Cornelia Huck Date: Fri, 26 Apr 2013 02:12:55 +0000 Subject: s390-ccw.img: Get queue config from host. Ask the host about the configuration instead of guessing it. Signed-off-by: Cornelia Huck Signed-off-by: Alexander Graf --- pc-bios/s390-ccw/virtio.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pc-bios/s390-ccw/virtio.h') diff --git a/pc-bios/s390-ccw/virtio.h b/pc-bios/s390-ccw/virtio.h index a33199d..86fdd57 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; -- cgit v1.1