diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-02-11 08:40:59 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-22 13:39:59 +0100 |
commit | 973abc7f4159fabe26734680158ecc3495d791d8 (patch) | |
tree | 614cbb5968f327506f6725d86016059fdd23dfa6 /hw/virtio-pci.h | |
parent | 43b978b932488d58fd3a79b43466baa06d032092 (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/virtio-pci.h')
-rw-r--r-- | hw/virtio-pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/virtio-pci.h b/hw/virtio-pci.h index 344c22b68f..e5604282e5 100644 --- a/hw/virtio-pci.h +++ b/hw/virtio-pci.h @@ -17,6 +17,7 @@ #include "virtio-net.h" #include "virtio-serial.h" +#include "virtio-scsi.h" /* Performance improves when virtqueue kick processing is decoupled from the * vcpu thread using ioeventfd for some devices. */ @@ -40,6 +41,7 @@ typedef struct { #endif virtio_serial_conf serial; virtio_net_conf net; + VirtIOSCSIConf scsi; bool ioeventfd_disabled; bool ioeventfd_started; } VirtIOPCIProxy; |