]> xenbits.xensource.com Git - libvirt.git/commit
Introduce QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY
authorJán Tomko <jtomko@redhat.com>
Mon, 8 Aug 2016 14:05:27 +0000 (16:05 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 17 Aug 2016 16:13:06 +0000 (18:13 +0200)
commit41f5c2ca27762770a40187fe63459c10a74c79f9
treec4376035401edd9c8ad977ff5bc98ab793760dd0
parentd53d465083edeb64cc7b78249c030734c0d91c6b
Introduce QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY

Check whether the disable-legacy property is present on the following
devices:
  virtio-balloon-pci
  virtio-blk-pci
  virtio-scsi-pci
  virtio-serial-pci
  virtio-9p-pci
  virtio-net-pci
  virtio-rng-pci
  virtio-gpu-pci
  virtio-input-host-pci
  virtio-keyboard-pci
  virtio-mouse-pci
  virtio-tablet-pci

Assuming that if QEMU knows other virtio devices where this property
is applicable, it will have at least one of these devices.

Added in QEMU by:
commit e266d421490e0ae83044bbebb209b2d3650c0ba6
    virtio-pci: add flags to enable/disable legacy/modern
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.6.0-gicv2.aarch64.xml
tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.xml
tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml