[libvirt] [PATCH] conf: Remove duplicate entries in <metadata> by namespace
Peter Krempa
pkrempa at redhat.com
Thu Mar 5 15:27:58 UTC 2015
On Thu, Mar 05, 2015 at 15:03:22 +0100, Michal Privoznik wrote:
> On 04.03.2015 10:06, Peter Krempa wrote:
> > Since the APIs support just one element per namespace and while
> > modifying an element all duplicates would be removed, let's do this
> > right away in the post parse callback.
> >
> > Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1190590
> > ---
> > src/conf/domain_conf.c | 42 ++++++++++++++++++++++
> > .../qemuxml2argv-metadata-duplicate.xml | 34 ++++++++++++++++++
> > .../qemuxml2xmlout-metadata-duplicate.xml | 31 ++++++++++++++++
> > tests/qemuxml2xmltest.c | 1 +
> > 4 files changed, 108 insertions(+)
> > create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-metadata-duplicate.xml
> > create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-metadata-duplicate.xml
>
> ACK
Pushed; Thanks
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150305/d6ec2c8a/attachment-0001.sig>
More information about the libvir-list
mailing list