[Libguestfs] [PATCH 24/46] launch: direct: Print \n after printing qemu command line.

Richard W.M. Jones rjones at redhat.com
Sat Aug 24 12:37:00 UTC 2013


From: "Richard W.M. Jones" <rjones at redhat.com>

This makes it easier to see error messages printed by qemu.

(cherry picked from commit 19ee64303e65766b4a1b1ac55adbbb646a1c3500)
(cherry picked from commit 847c515043870bc7b1c785bad747462a84c43f35)
---
 src/launch-appliance.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/launch-appliance.c b/src/launch-appliance.c
index 6b142e6..f0278ce 100644
--- a/src/launch-appliance.c
+++ b/src/launch-appliance.c
@@ -770,6 +770,8 @@ print_qemu_command_line (guestfs_h *g, char **argv)
     if (needs_quote) fputc ('\'', stderr);
     i++;
   }
+
+  fputc ('\n', stderr);
 }
 
 static void parse_qemu_version (guestfs_h *g);
-- 
1.8.3.1




More information about the Libguestfs mailing list