[Libguestfs] [PATCH v3] v2v: don't fail when virtio-win does not have qemu-ga

Richard W.M. Jones rjones at redhat.com
Wed Dec 5 11:48:21 UTC 2018


Sorry, there was a small mistake in v2 of the patch.  The difference
between v2 & v3 is below.  All my other comments in the cover letter
of v2 also apply here.

Rich.

--- a/v2v/windows_virtio.ml
+++ b/v2v/windows_virtio.ml
@@ -293,8 +293,7 @@ and copy_drivers g inspect driverdir =
   [] <> copy_from_virtio_win g inspect "/" driverdir
     virtio_iso_path_matches_guest_os
     (fun () ->
-      error "driver directory ‘%s’ is missing from the virtio-win directory or ISO.\n\nThis should not happen and may indicate that virtio-win or virt-v2v is broken in some way.  Please report this as a bug with a full debug log."
-            driverdir)
+      error "root directory ‘/’ is missing from the virtio-win directory or ISO.\n\nThis should not happen and may indicate that virtio-win or virt-v2v is broken in some way.  Please report this as a bug with a full debug log.")
 
 (* Copy all files from virtio_win directory/ISO located in [srcdir]
  * subdirectory and all its subdirectories to the [destdir]. The directory






More information about the Libguestfs mailing list