[Pkg-libvirt-commits] [libguestfs] 68/146: debug: add-domain: Dump XML of original domain.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 29 17:00:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 2d562dd4b05e5592a3995c9410afb00dcc7bf8b7
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Dec 11 13:47:01 2014 +0000
debug: add-domain: Dump XML of original domain.
Useful for debugging labelling issues.
(cherry picked from commit f4b4dcc03aa06a4afdb02d81b56806f8a9c6dd78)
---
src/libvirt-domain.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index 59bb4bc..62c91fc 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -766,6 +766,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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list