Peter pointed out that Brandon's patch to add metadata to the network
XML should "sanitize" it (to remove duplicate namespaces) in the same
manner as we do (thanks to Peter!) for the domain metadata. In order
to make that simpler, I made a patch that turns
virDomainDefMetadataSanitize() into the generic function
virXMLNodeSanitizeNamespaces(), then (in a separate patch) changed the
domain parser to use that new generic function. I will also add a call
to that function into Brandon's patch before pushing it.
Laine Stump (2):
util: new function virXMLNodeSanitizeNamespaces()
qemu: use virXMLNodeSanitizeNamespaces()
src/conf/domain_conf.c | 56 ++----------------------------------------------
src/libvirt_private.syms | 1 +
src/util/virxml.c | 52 ++++++++++++++++++++++++++++++++++++++++++++
src/util/virxml.h | 2 ++
4 files changed, 57 insertions(+), 54 deletions(-)
--
2.5.5