mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
qemu_capabilities: Stop detecting QEMU_CAPS_DISK_SHARE_RW
All supported QEMUs have this capability. Stop detecting it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
6c4148f693
commit
589e9a769b
@ -1416,7 +1416,6 @@ virQEMUCapsDevicePropsVirtioBlkSCSIDefault(virJSONValue *props,
|
||||
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVirtioBlk[] = {
|
||||
{ "scsi", QEMU_CAPS_VIRTIO_BLK_SCSI, virQEMUCapsDevicePropsVirtioBlkSCSIDefault },
|
||||
{ "queue-size", QEMU_CAPS_VIRTIO_BLK_QUEUE_SIZE, NULL },
|
||||
{ "share-rw", QEMU_CAPS_DISK_SHARE_RW, NULL },
|
||||
{ "write-cache", QEMU_CAPS_DISK_WRITE_CACHE, NULL },
|
||||
{ "acpi-index", QEMU_CAPS_ACPI_INDEX, NULL },
|
||||
};
|
||||
@ -1450,14 +1449,12 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVfioPCI[] = {
|
||||
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsSCSIDisk[] = {
|
||||
{ "channel", QEMU_CAPS_SCSI_DISK_CHANNEL, NULL },
|
||||
{ "wwn", QEMU_CAPS_SCSI_DISK_WWN, NULL },
|
||||
{ "share-rw", QEMU_CAPS_DISK_SHARE_RW, NULL },
|
||||
{ "write-cache", QEMU_CAPS_DISK_WRITE_CACHE, NULL },
|
||||
{ "rotation_rate", QEMU_CAPS_ROTATION_RATE, NULL },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsIDEDrive[] = {
|
||||
{ "wwn", QEMU_CAPS_IDE_DRIVE_WWN, NULL },
|
||||
{ "share-rw", QEMU_CAPS_DISK_SHARE_RW, NULL },
|
||||
{ "write-cache", QEMU_CAPS_DISK_WRITE_CACHE, NULL },
|
||||
};
|
||||
|
||||
@ -1473,7 +1470,6 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsUSBRedir[] = {
|
||||
|
||||
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsUSBStorage[] = {
|
||||
{ "removable", QEMU_CAPS_USB_STORAGE_REMOVABLE, NULL },
|
||||
{ "share-rw", QEMU_CAPS_DISK_SHARE_RW, NULL },
|
||||
{ "write-cache", QEMU_CAPS_DISK_WRITE_CACHE, NULL },
|
||||
};
|
||||
|
||||
|
@ -77,7 +77,6 @@
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vxhs'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='pl011'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -75,7 +75,6 @@
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vxhs'/>
|
||||
<flag name='spapr-vty'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vxhs'/>
|
||||
<flag name='sclplmconsole'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='virtio-gpu-ccw'/>
|
||||
<flag name='virtio-keyboard-ccw'/>
|
||||
<flag name='virtio-mouse-ccw'/>
|
||||
|
@ -106,7 +106,6 @@
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vxhs'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -79,7 +79,6 @@
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vxhs'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='pl011'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -77,7 +77,6 @@
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vxhs'/>
|
||||
<flag name='spapr-vty'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -77,7 +77,6 @@
|
||||
<flag name='qemu-xhci'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vxhs'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
<flag name='nbd-tls'/>
|
||||
|
@ -106,7 +106,6 @@
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vxhs'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -21,7 +21,6 @@
|
||||
<flag name='query-hotpluggable-cpus'/>
|
||||
<flag name='spice-rendernode'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
<flag name='nbd-tls'/>
|
||||
|
@ -105,7 +105,6 @@
|
||||
<flag name='intel-iommu.device-iotlb'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -78,7 +78,6 @@
|
||||
<flag name='qemu-xhci'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='pl011'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -75,7 +75,6 @@
|
||||
<flag name='spapr-pci-host-bridge.numa_node'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='spapr-vty'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -75,7 +75,6 @@
|
||||
<flag name='pcie-root-port'/>
|
||||
<flag name='qemu-xhci'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
<flag name='nbd-tls'/>
|
||||
|
@ -40,7 +40,6 @@
|
||||
<flag name='loadparm'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='sclplmconsole'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='virtio-gpu-ccw'/>
|
||||
<flag name='virtio-keyboard-ccw'/>
|
||||
<flag name='virtio-mouse-ccw'/>
|
||||
|
@ -105,7 +105,6 @@
|
||||
<flag name='intel-iommu.device-iotlb'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -79,7 +79,6 @@
|
||||
<flag name='qemu-xhci'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='pl011'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -40,7 +40,6 @@
|
||||
<flag name='loadparm'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='sclplmconsole'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='virtio-gpu-ccw'/>
|
||||
<flag name='virtio-keyboard-ccw'/>
|
||||
<flag name='virtio-mouse-ccw'/>
|
||||
|
@ -104,7 +104,6 @@
|
||||
<flag name='intel-iommu.device-iotlb'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -103,7 +103,6 @@
|
||||
<flag name='intel-iommu.device-iotlb'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -86,7 +86,6 @@
|
||||
<flag name='qemu-xhci'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='pl011'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -75,7 +75,6 @@
|
||||
<flag name='spapr-pci-host-bridge.numa_node'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='spapr-vty'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -103,7 +103,6 @@
|
||||
<flag name='intel-iommu.device-iotlb'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -86,7 +86,6 @@
|
||||
<flag name='qemu-xhci'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='pl011'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -81,7 +81,6 @@
|
||||
<flag name='spapr-pci-host-bridge.numa_node'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='spapr-vty'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -103,7 +103,6 @@
|
||||
<flag name='intel-iommu.device-iotlb'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -80,7 +80,6 @@
|
||||
<flag name='spapr-pci-host-bridge.numa_node'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='spapr-vty'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -103,7 +103,6 @@
|
||||
<flag name='intel-iommu.device-iotlb'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
@ -103,7 +103,6 @@
|
||||
<flag name='intel-iommu.device-iotlb'/>
|
||||
<flag name='chardev-reconnect'/>
|
||||
<flag name='vmcoreinfo'/>
|
||||
<flag name='disk-share-rw'/>
|
||||
<flag name='isa-serial'/>
|
||||
<flag name='pcie-pci-bridge'/>
|
||||
<flag name='disk-write-cache'/>
|
||||
|
Loading…
Reference in New Issue
Block a user