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