[Pkg-libvirt-commits] [libguestfs] 71/384: debug: add-domain: Dump XML of original domain.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:55:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit f4b4dcc03aa06a4afdb02d81b56806f8a9c6dd78
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.
---
 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);

-- 
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