v2 of:
https://listman.redhat.com/archives/libvir-list/2021-May/msg00767.html
diff to v1:
- Deduplicated the code per Pavel's suggestion
Michal Prívozník (3):
virxml: Introduce and use virXMLFormatMetadata()
virxml: Report error if virXMLFormatMetadata() fails
virxml: Avoid double indentation of <metadata/> element
src/conf/domain_conf.c | 23 ++----------------
src/conf/network_conf.c | 23 ++----------------
src/libvirt_private.syms | 1 +
src/util/virxml.c | 51 ++++++++++++++++++++++++++++++++++++++++
src/util/virxml.h | 3 +++
5 files changed, 59 insertions(+), 42 deletions(-)
--
2.26.3