Useful for debugging labelling issues.
---
src/libvirt-domain.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index 78503e5..b7a9ad7 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -767,6 +767,8 @@ get_domain_xml (guestfs_h *g, virDomainPtr dom)
return NULL;
}
+ debug (g, "original domain XML:\n%s", xml);
+
/* Parse the domain XML into an XML document. */
doc = xmlReadMemory (xml, strlen (xml),
NULL, NULL, XML_PARSE_NONET);
--
2.1.0