aboutsummaryrefslogtreecommitdiff
path: root/hw/s390-virtio-bus.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-02-11 08:40:59 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2012-02-22 13:39:59 +0100
commit973abc7f4159fabe26734680158ecc3495d791d8 (patch)
tree614cbb5968f327506f6725d86016059fdd23dfa6 /hw/s390-virtio-bus.h
parent43b978b932488d58fd3a79b43466baa06d032092 (diff)
virtio-scsi: Add virtio-scsi stub device
Add a useless virtio SCSI HBA device: qemu -device virtio-scsi-pci Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/s390-virtio-bus.h')
-rw-r--r--hw/s390-virtio-bus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/s390-virtio-bus.h b/hw/s390-virtio-bus.h
index b5e59b7d4b..0e60bc0fa2 100644
--- a/hw/s390-virtio-bus.h
+++ b/hw/s390-virtio-bus.h
@@ -19,6 +19,7 @@
#include "virtio-net.h"
#include "virtio-serial.h"
+#include "virtio-scsi.h"
#define VIRTIO_DEV_OFFS_TYPE 0 /* 8 bits */
#define VIRTIO_DEV_OFFS_NUM_VQ 1 /* 8 bits */
@@ -67,6 +68,7 @@ struct VirtIOS390Device {
uint32_t host_features;
virtio_serial_conf serial;
virtio_net_conf net;
+ VirtIOSCSIConf scsi;
};
typedef struct VirtIOS390Bus {