[libvirt] [PATCHv5 00/13] qemu: allow disabling certain virtio revisions

Ján Tomko jtomko at redhat.com
Tue Aug 23 22:20:42 UTC 2016


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

v4:
  * only probe the capability for PCI devices

v5:
  * instead of a separate element, use one attribute under the driver
    element

Ján Tomko (13):
  Use a separate buffer for <input> subelements
  Use a separate buffer for <disk><driver>
  Use a separate buffer for <controller><driver>
  Use a separate buffer for <filesystem><driver>
  Add compatibility attribute to memballoon
  Add compatibility attribute to disks
  Add compatibility attribute to controllers
  Add compatibility attribute to filesystems
  Add compatibility attribute to interfaces
  Add compatibility attribute to rng devices
  Add compatibility attribute to video
  Add compatibility attribute to input devices
  qemu: format options for enforcing virtio revisions

 docs/formatdomain.html.in                          |  60 +++++-
 docs/schemas/domaincommon.rng                      |  42 ++++
 src/conf/domain_conf.c                             | 220 +++++++++++++++------
 src/conf/domain_conf.h                             |  17 ++
 src/qemu/qemu_command.c                            |  70 +++++++
 .../qemuxml2argv-virtio-revision.args              |  62 ++++++
 .../qemuxml2argv-virtio-revision.xml               | 109 ++++++++++
 tests/qemuxml2argvtest.c                           |  11 ++
 .../qemuxml2xmlout-virtio-revision.xml             | 108 ++++++++++
 tests/qemuxml2xmltest.c                            |   2 +
 10 files changed, 641 insertions(+), 60 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




More information about the libvir-list mailing list