[libvirt] [PATCH 0/4] qemu: Assign addresses via virDomainDefPostParse

Cole Robinson crobinso at redhat.com
Sat May 14 20:00:06 UTC 2016


This series adds a new domain post parse callback
virDomainDefAssignAddressesCallback, which we use in the qemu driver to
trigger qemuDomainAssignAddresses via PostParse. This streamlines
things a bit, but is also needed for some future work.

After this series, the only remaining open coded
qemuDomainAssignAddresses calls involve populating the runtime VM
address caches, which I discussesd here:

http://www.redhat.com/archives/libvir-list/2016-May/msg01071.html

Cole Robinson (4):
  domain: Add virDomainDefAssignAddressesCallback
  qemu: Assign device addresses in PostParse
  qemu: Remove redundant qemuDomainAssignAddresses calls
  qemu: Call virDomainDefPostParse via CONFIG hotplug

 src/conf/domain_conf.c                             |  7 ++
 src/conf/domain_conf.h                             |  8 ++
 src/qemu/qemu_domain.c                             | 25 ++++++
 src/qemu/qemu_driver.c                             | 90 +++++++++-------------
 .../qemuargv2xmldata/qemuargv2xml-pseries-disk.xml |  4 +-
 tests/qemuxml2argvtest.c                           |  2 +-
 tests/qemuxml2xmltest.c                            | 11 +--
 7 files changed, 83 insertions(+), 64 deletions(-)

-- 
2.7.4




More information about the libvir-list mailing list