[libvirt] [PATCH 0/2] Make a generic version of virDomainDefMetadataSanitize()

Laine Stump laine at laine.org
Fri Jun 24 15:33:49 UTC 2016


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




More information about the libvir-list mailing list