[Pkg-libvirt-commits] [libguestfs] 01/35: v2v: Clarify the missing input format error message (RHBZ#1141723).

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:46:36 UTC 2014


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

bengen pushed a commit to annotated tag debian/1%1.27.49-1
in repository libguestfs.

commit 77b371b18b6a7ad37105a595931514f542a04396
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Sep 15 11:31:55 2014 +0100

    v2v: Clarify the missing input format error message (RHBZ#1141723).
---
 v2v/v2v.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index 0c1c3e7..0d1e9bf 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -158,7 +158,7 @@ let rec main () =
           | Some format, _ -> format    (* -of overrides everything *)
           | None, Some format -> format (* same as backing format *)
           | None, None ->
-            error (f_"disk %s (%s) has no defined format, you have to either define the original format in the source metadata, or use the '-of' option to force the output format") ov.ov_sd ov.ov_source.s_qemu_uri in
+            error (f_"disk %s (%s) has no defined format.\n\nThe input metadata did not define the disk format (eg. raw/qcow2/etc) of this disk, and so virt-v2v will try to autodetect the format when reading it.\n\nHowever because the input format was not defined, we do not know what output format you want to use.  You have two choices: either define the original format in the source metadata, or use the '-of' option to force the output format") ov.ov_sd ov.ov_source.s_qemu_uri in
 
         (* What really happens here is that the call to #disk_create
          * below fails if the format is not raw or qcow2.  We would

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