qemu_capabilities: Stop detecting QEMU_CAPS_DISK_WRITE_CACHE

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:
Michal Privoznik 2022-11-08 08:41:06 +01:00
parent f28807a1e0
commit d974ecbab5
29 changed files with 0 additions and 32 deletions

View File

@ -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 },
{ "write-cache", QEMU_CAPS_DISK_WRITE_CACHE, NULL },
{ "acpi-index", QEMU_CAPS_ACPI_INDEX, NULL },
};
@ -1449,13 +1448,11 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVfioPCI[] = {
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsSCSIDisk[] = {
{ "channel", QEMU_CAPS_SCSI_DISK_CHANNEL, NULL },
{ "wwn", QEMU_CAPS_SCSI_DISK_WWN, 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 },
{ "write-cache", QEMU_CAPS_DISK_WRITE_CACHE, NULL },
};
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsPiix4PM[] = {
@ -1470,7 +1467,6 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsUSBRedir[] = {
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsUSBStorage[] = {
{ "removable", QEMU_CAPS_USB_STORAGE_REMOVABLE, NULL },
{ "write-cache", QEMU_CAPS_DISK_WRITE_CACHE, NULL },
};
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsKVMPit[] = {

View File

@ -79,7 +79,6 @@
<flag name='vmcoreinfo'/>
<flag name='pl011'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -77,7 +77,6 @@
<flag name='spapr-vty'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -46,7 +46,6 @@
<flag name='virtio-keyboard-ccw'/>
<flag name='virtio-mouse-ccw'/>
<flag name='virtio-tablet-ccw'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='vfio-ccw'/>

View File

@ -108,7 +108,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -81,7 +81,6 @@
<flag name='vmcoreinfo'/>
<flag name='pl011'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -79,7 +79,6 @@
<flag name='spapr-vty'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -78,7 +78,6 @@
<flag name='chardev-reconnect'/>
<flag name='vxhs'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -108,7 +108,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -22,7 +22,6 @@
<flag name='spice-rendernode'/>
<flag name='chardev-reconnect'/>
<flag name='isa-serial'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -107,7 +107,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -80,7 +80,6 @@
<flag name='vmcoreinfo'/>
<flag name='pl011'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -77,7 +77,6 @@
<flag name='spapr-vty'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -76,7 +76,6 @@
<flag name='qemu-xhci'/>
<flag name='chardev-reconnect'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -44,7 +44,6 @@
<flag name='virtio-keyboard-ccw'/>
<flag name='virtio-mouse-ccw'/>
<flag name='virtio-tablet-ccw'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='vfio-ccw'/>

View File

@ -107,7 +107,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -81,7 +81,6 @@
<flag name='vmcoreinfo'/>
<flag name='pl011'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -44,7 +44,6 @@
<flag name='virtio-keyboard-ccw'/>
<flag name='virtio-mouse-ccw'/>
<flag name='virtio-tablet-ccw'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='vfio-ccw'/>

View File

@ -106,7 +106,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -105,7 +105,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -88,7 +88,6 @@
<flag name='vmcoreinfo'/>
<flag name='pl011'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -77,7 +77,6 @@
<flag name='spapr-vty'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -105,7 +105,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -88,7 +88,6 @@
<flag name='vmcoreinfo'/>
<flag name='pl011'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -83,7 +83,6 @@
<flag name='spapr-vty'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -105,7 +105,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -82,7 +82,6 @@
<flag name='spapr-vty'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='pr-manager-helper'/>
<flag name='screendump_device'/>

View File

@ -105,7 +105,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>

View File

@ -105,7 +105,6 @@
<flag name='vmcoreinfo'/>
<flag name='isa-serial'/>
<flag name='pcie-pci-bridge'/>
<flag name='disk-write-cache'/>
<flag name='nbd-tls'/>
<flag name='tpm-crb'/>
<flag name='pr-manager-helper'/>