v2 of:
https://www.redhat.com/archives/libvir-list/2016-September/msg00802.html
diff to v1:
- Instead of introducing vir*Opaque() APIs, just add parseOpaque argument to everything
that needs it
- Pass qemuCaps directly instead of domain object
Michal Privoznik (11):
virDomainDefPostParse: Introduce @parseOpaque argument
virDomainDefParseNode: Introduce @parseOpaque argument
virDomainDefParse{File,String}: Introduce @parseOpaque argument
virDomainDefCopy: Introduce @parseOpaque argument
qemuDomainDefPostParse: Fetch qemuCaps from domain object
conf: Extend virDomainDeviceDefPostParse for parseOpaque
qemuDomainDeviceDefPostParse: Fetch caps from domain object
conf: Extend virDomainDefAssignAddressesCallback for parseOpaque
qemuDomainDefAssignAddresses: Fetch caps from domain object
domain_conf: Introduce VIR_DOMAIN_DEF_PARSE_SKIP_POST_PARSE
conf: Skip post parse callbacks when creating copy
src/bhyve/bhyve_domain.c | 6 ++--
src/bhyve/bhyve_driver.c | 6 ++--
src/conf/domain_conf.c | 60 ++++++++++++++++++++++++++++------------
src/conf/domain_conf.h | 40 +++++++++++++++++++--------
src/conf/snapshot_conf.c | 2 +-
src/conf/virdomainobjlist.c | 2 +-
src/esx/esx_driver.c | 4 +--
src/libxl/libxl_domain.c | 12 ++++----
src/libxl/libxl_driver.c | 6 ++--
src/libxl/libxl_migration.c | 3 ++
src/lxc/lxc_domain.c | 6 ++--
src/lxc/lxc_driver.c | 4 +--
src/lxc/lxc_native.c | 2 +-
src/openvz/openvz_driver.c | 11 +++++---
src/phyp/phyp_driver.c | 7 +++--
src/qemu/qemu_domain.c | 54 +++++++++++++++++++++++-------------
src/qemu/qemu_driver.c | 23 +++++++--------
src/qemu/qemu_migration.c | 8 +++---
src/qemu/qemu_parse_command.c | 2 +-
src/security/virt-aa-helper.c | 2 +-
src/test/test_driver.c | 13 +++++----
src/uml/uml_driver.c | 10 ++++---
src/vbox/vbox_common.c | 8 ++++--
src/vmware/vmware_driver.c | 10 ++++---
src/vmx/vmx.c | 8 ++++--
src/vz/vz_driver.c | 9 ++++--
src/xen/xen_driver.c | 11 +++++---
src/xen/xm_internal.c | 1 +
src/xenapi/xenapi_driver.c | 8 ++++--
src/xenconfig/xen_sxpr.c | 2 +-
src/xenconfig/xen_xl.c | 2 +-
src/xenconfig/xen_xm.c | 2 +-
tests/bhyvexml2argvtest.c | 2 +-
tests/domainconftest.c | 2 +-
tests/qemuagenttest.c | 2 +-
tests/qemuhotplugtest.c | 1 +
tests/qemuxml2argvtest.c | 2 +-
tests/securityselinuxlabeltest.c | 2 +-
tests/testutils.c | 2 +-
tests/xlconfigtest.c | 4 +--
tests/xmconfigtest.c | 2 +-
tests/xml2sexprtest.c | 2 +-
tests/xml2vmxtest.c | 2 +-
43 files changed, 231 insertions(+), 136 deletions(-)
--
2.8.4