[Pkg-libvirt-commits] [libguestfs] 142/165: v2v: Print qemu-img source overlay command when using -v.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:25:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit 437e387c4d7f00892c01d7b149390b0e125e9805
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Jun 18 14:17:48 2014 +0100
v2v: Print qemu-img source overlay command when using -v.
---
v2v/v2v.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index 6157aa3..4e64b99 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -66,6 +66,7 @@ let rec main () =
let cmd =
sprintf "qemu-img create -q -f qcow2 -b %s -o %s %s"
(quote qemu_uri) (quote options) overlay in
+ if verbose then printf "%s\n%!" cmd;
if Sys.command cmd <> 0 then
error (f_"qemu-img command failed, see earlier errors");
overlay, qemu_uri, format
--
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