[Pkg-libvirt-commits] [libguestfs] 18/59: v2v: When debugging, dump OVF to stderr.

Hilko Bengen bengen at moszumanska.debian.org
Sun May 3 21:26:27 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 4f021006e9e85b0cc284d8c1cd3dcee416d75d51
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Apr 23 10:52:08 2015 +0100

    v2v: When debugging, dump OVF to stderr.
    
    Useful for debugging problems like RHBZ#1213701.
---
 v2v/OVF.ml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/v2v/OVF.ml b/v2v/OVF.ml
index 6537a5c..a1ce73b 100644
--- a/v2v/OVF.ml
+++ b/v2v/OVF.ml
@@ -314,6 +314,11 @@ let rec create_ovf verbose source targets guestcaps inspect
     warning (f_"This guest required a password for connection to its display, but this is not supported by RHEV.  Therefore the converted guest's display will not require a separate password to connect.");
     | _ -> ());
 
+  if verbose then (
+    eprintf "OVF:\n";
+    doc_to_chan Pervasives.stderr ovf
+  );
+
   (* Return the OVF document. *)
   ovf
 

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