[Libguestfs] [PATCH] v2v: xen: Require direct backend when doing Xen conversions over SSH.

Richard W.M. Jones rjones at redhat.com
Wed Mar 22 15:46:13 UTC 2017


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

Unfortunately libvirt has another bug related to the qemu
ssh driver, as described here:

https://bugzilla.redhat.com/show_bug.cgi?id=1434651#c3

Until this bug is fixed we have to require the direct backend to be
used for xen+ssh conversions.

This partially reverts commit ecbf09385033ba0acf14e914927ec81ad20a5308.
---
 v2v/input_libvirt_xen_ssh.ml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/v2v/input_libvirt_xen_ssh.ml b/v2v/input_libvirt_xen_ssh.ml
index 4975eff..a68cdf8 100644
--- a/v2v/input_libvirt_xen_ssh.ml
+++ b/v2v/input_libvirt_xen_ssh.ml
@@ -38,6 +38,9 @@ object
     debug "input_libvirt_xen_ssh: source: scheme %s server %s"
           scheme server;
 
+    if backend_is_libvirt () then (
+      error (f_"because of libvirt bug https://bugzilla.redhat.com/1434651 you must set this environment variable:\n\nexport LIBGUESTFS_BACKEND=direct\n\nand then rerun the virt-v2v command.")
+    );
     error_if_libvirt_does_not_support_json_backingfile ();
     error_if_no_ssh_agent ();
 
-- 
1.8.3.1




More information about the Libguestfs mailing list