[libvirt] [PATCH v3 0/3] qemu: Use virtio-pci by default for mach-virt guests

Andrea Bolognani abologna at redhat.com
Fri Dec 23 18:54:17 UTC 2016


Changes from [v2]:

  * rename qemuDomainCountVirtioMMIODevices() to
    qemuDomainHasVirtioMMIODevices() and make it exit as soon
    as the first virtio-mmio device is encountered, as
    suggested by Laine

  * tweak test suite and note no new test cases are needed

  * add comments and user documentation

  * add release notes entry

  * can actually be merged now that all patches it builds on
    have been merged :)

Changes from [v1]:

  * use virDomainDeviceInfoIterate(), as suggested by Martin
    and Laine, which results in cleaner and more robust code


[v1] https://www.redhat.com/archives/libvir-list/2016-October/msg00988.html
[v2] https://www.redhat.com/archives/libvir-list/2016-October/msg01042.html

Andrea Bolognani (3):
  qemu: Use virtio-pci by default for mach-virt guests
  docs: Document virtio-mmio by default for mach-virt guests
  NEWS: Update for virtio-pci by default for mach-virt guests

 docs/formatdomain.html.in                          |  8 +++-
 docs/news.html.in                                  |  6 +++
 src/qemu/qemu_domain_address.c                     | 51 ++++++++++++++++++++--
 ...l2argv-aarch64-virt-2.6-virtio-pci-default.args | 14 +++---
 .../qemuxml2argv-aarch64-virtio-pci-default.args   | 17 +++++---
 .../qemuxml2argv-aarch64-virtio-pci-default.xml    |  3 --
 tests/qemuxml2argvtest.c                           |  1 +
 .../qemuxml2xmlout-aarch64-virtio-pci-default.xml  | 40 ++++++++++++++---
 tests/qemuxml2xmltest.c                            |  1 +
 9 files changed, 119 insertions(+), 22 deletions(-)

-- 
2.7.4




More information about the libvir-list mailing list