[PATCHv3 00/11] qemu: allow disabling certain virtio revisions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1227354
v1: https://www.redhat.com/archives/libvir-list/2016-July/msg01235.html
v2: https://www.redhat.com/archives/libvir-list/2016-August/msg00412.html
* probe for the qemu capability
* add the attribute to virtio1-only devices such as virtio-gpu
  and virtio-input devices
* allow multiple revisions to be specified

v3:
* touch up documentation
* rename the capability from "virtio-revision" to "virtio-disable-legacy"
* move the formatting in qemuBuildNicDevStr after the address
  and only do it for virtio
* get rid of novelty enum names

I left the bitmap usage intact, since enforcing both revision makes sense
according to the discussion under:
[PATCH 0/6] Use more PCIe, less legacy PCI slots
and I considered specifying both features in the XML nicer than adding
a new value.

Ján Tomko (11):
  Use separate buffer for <input> subelements
  Add virtio revision attribute to memballoon
  Add virtio revision attribute to disks
  Add virtio revision attribute to controllers
  Add virtio revision attribute to filesystems
  Add virtio revision attribute to interfaces
  Add virtio revision to rng devices
  Add virtio revision attribute to video
  Add virtio revision attribute to input devices
  Introduce QEMU_CAPS_VIRTIO_DISABLE_LEGACY
  qemu: format options for enforcing virtio revisions

 docs/formatdomain.html.in                          |  69 ++++++++++
 docs/schemas/domaincommon.rng                      |  37 ++++++
 src/conf/domain_conf.c                             | 148 +++++++++++++++++++--
 src/conf/domain_conf.h                             |  16 +++
 src/qemu/qemu_capabilities.c                       |   6 +
 src/qemu/qemu_capabilities.h                       |   1 +
 src/qemu/qemu_command.c                            |  56 ++++++++
 tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml   |   1 +
 .../caps_2.6.0-gicv2.aarch64.xml                   |   1 +
 .../caps_2.6.0-gicv3.aarch64.xml                   |   1 +
 tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml  |   1 +
 tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml   |   1 +
 .../qemuxml2argv-virtio-revision.args              |  62 +++++++++
 .../qemuxml2argv-virtio-revision.xml               | 113 ++++++++++++++++
 tests/qemuxml2argvtest.c                           |  11 ++
 .../qemuxml2xmlout-virtio-revision.xml             | 113 ++++++++++++++++
 tests/qemuxml2xmltest.c                            |   2 +
 19 files changed, 630 insertions(+), 11 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-virtio-revision.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-virtio-revision.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-virtio-revision.xml

-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]