mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemu: Introduce vhost-scsi capability
Do all the stuff for the vhost-scsi capability in QEMU, so it's in place for our checks later. Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com> Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
This commit is contained in:
parent
a42342912b
commit
c271fc1f35
@ -352,6 +352,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
"ivshmem-doorbell", /* 240 */
|
||||
"query-qmp-schema",
|
||||
"gluster.debug_level",
|
||||
"vhost-scsi",
|
||||
);
|
||||
|
||||
|
||||
@ -1596,6 +1597,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
||||
{ "intel-iommu", QEMU_CAPS_DEVICE_INTEL_IOMMU },
|
||||
{ "ivshmem-plain", QEMU_CAPS_DEVICE_IVSHMEM_PLAIN },
|
||||
{ "ivshmem-doorbell", QEMU_CAPS_DEVICE_IVSHMEM_DOORBELL },
|
||||
{ "vhost-scsi", QEMU_CAPS_DEVICE_VHOST_SCSI },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBalloon[] = {
|
||||
|
@ -387,6 +387,7 @@ typedef enum {
|
||||
QEMU_CAPS_DEVICE_IVSHMEM_DOORBELL, /* -device ivshmem-doorbell */
|
||||
QEMU_CAPS_QUERY_QMP_SCHEMA, /* query-qmp-schema command */
|
||||
QEMU_CAPS_GLUSTER_DEBUG_LEVEL, /* -drive gluster.debug_level={0..9} */
|
||||
QEMU_CAPS_DEVICE_VHOST_SCSI, /* -device vhost-scsi-{ccw,pci} */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -139,6 +139,7 @@
|
||||
<flag name='device-tray-moved-event'/>
|
||||
<flag name='nec-usb-xhci-ports'/>
|
||||
<flag name='display'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>1005003</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -144,6 +144,7 @@
|
||||
<flag name='device-tray-moved-event'/>
|
||||
<flag name='nec-usb-xhci-ports'/>
|
||||
<flag name='display'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>1006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -146,6 +146,7 @@
|
||||
<flag name='device-tray-moved-event'/>
|
||||
<flag name='nec-usb-xhci-ports'/>
|
||||
<flag name='display'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>1007000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -161,6 +161,7 @@
|
||||
<flag name='name-guest'/>
|
||||
<flag name='drive-detect-zeroes'/>
|
||||
<flag name='display'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>2001001</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -181,6 +181,7 @@
|
||||
<flag name='virtio-pci-disable-legacy'/>
|
||||
<flag name='machine-iommu'/>
|
||||
<flag name='virtio-vga'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>2004000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -187,6 +187,7 @@
|
||||
<flag name='machine-iommu'/>
|
||||
<flag name='virtio-vga'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>2005000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -162,6 +162,7 @@
|
||||
<flag name='ivshmem-plain'/>
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>2006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -162,6 +162,7 @@
|
||||
<flag name='ivshmem-plain'/>
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>2005094</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -159,6 +159,7 @@
|
||||
<flag name='ivshmem-plain'/>
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>2006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -196,6 +196,7 @@
|
||||
<flag name='ivshmem-plain'/>
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>2006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -198,6 +198,7 @@
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='gluster.debug_level'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<version>2007000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package> (v2.7.0)</package>
|
||||
|
Loading…
Reference in New Issue
Block a user