From c29e8831ed1414ff57811921afe323f223743f8b Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Mon, 20 Jun 2016 10:02:11 +0100
Subject: [PATCH] p2v: Don't display libvirt XML and wrapper script on stderr.
Confusing for end users, and not necessary for debugging since those
files are saved on the conversion server.
(cherry picked from commit 55a0ab845d570c781d321b09213aa43a709e91cd)
---
p2v/conversion.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/p2v/conversion.c b/p2v/conversion.c
index fe18b4a..b54f971 100644
--- a/p2v/conversion.c
+++ b/p2v/conversion.c
@@ -277,7 +277,7 @@ start_conversion (struct config *config,
if (libvirt_xml == NULL)
goto out;
-#if DEBUG_STDERR
+#if DEBUG_STDERR && 0
fprintf (stderr, "%s: libvirt XML:\n%s",
guestfs_int_program_name, libvirt_xml);
#endif
@@ -287,7 +287,7 @@ start_conversion (struct config *config,
if (wrapper_script == NULL)
goto out;
-#if DEBUG_STDERR
+#if DEBUG_STDERR && 0
fprintf (stderr, "%s: wrapper script:\n%s",
guestfs_int_program_name, wrapper_script);
#endif
--
1.8.3.1