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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]