[libvirt] [glib PATCH 0/2] Add ns to the node's children when setting a custom XML

Fabiano Fidêncio fidencio at redhat.com
Wed Oct 3 11:59:37 UTC 2018


This work is preparing the field for adding and using metadata.libosinfo
in GNOME Boxes (in a similar way that's already done for virt-manager)
so we can have a cross-app schema for tracking libosinfo OS ID in the
domain <metadata> XML.

The tests added are from real cases as:
- current Boxes' metadata (so, we ensure we won't break anything there);
- the new Boxes' metadata.libosinfo;
- Nova's XML example;

Fabiano Fidêncio (2):
  object: Also add the ns to the node's children
  domain: Introduce gvir_config_domain_set_custom_xml_ns_children()

 libvirt-gconfig/libvirt-gconfig-domain.c      | 41 ++++++++++++---
 libvirt-gconfig/libvirt-gconfig-domain.h      |  5 ++
 .../libvirt-gconfig-object-private.h          |  3 +-
 libvirt-gconfig/libvirt-gconfig-object.c      | 51 +++++++++++++++----
 libvirt-gconfig/libvirt-gconfig.sym           |  5 ++
 tests/test-gconfig.c                          |  3 ++
 tests/xml/gconfig-domain.xml                  | 12 +++++
 7 files changed, 103 insertions(+), 17 deletions(-)

-- 
2.19.0




More information about the libvir-list mailing list