Richard W.M. Jones
ecbf093850
v2v: Allow libvirt >= 2.1.0 to be used for Xen and vCenter conversions.
...
Libvirt >= 2.1.0 now allows you to open files which have a "json:"
QEMU pseudo-URL as backingfile, whereas previously it would fail hard
in this case (RHBZ#1134878).
When virt-v2v performs conversions from Xen (over SSH) or vCenter
(over HTTPS) it uses these pseudo-URLs as backingfiles. We had to
tell people to use LIBGUESTFS_BACKEND=direct to avoid libvirt in this
situation.
This commit narrows the check so it will now only print the error if
libvirt < 2.1.0 and LIBGUESTFS_BACKEND=direct is not set. Also the
error is modified to tell users they can either upgrade libvirt or set
LIBGUESTFS_BACKEND=direct to work around the problem.
Note there is not an easy way apart from checking the version number
of libvirt to tell if the json pseudo-URL is supported.
As a side-effect, this commit also prints the libvirt version number
in debugging output when virt-v2v starts up, which is sometimes useful
information for narrowing down bugs (it is in fact already printed by
libguestfs, so this is duplicate information, but it's a bit easier to
find when it's at the top of the debug).
Thanks: Peter Krempa.
2016-08-25 09:02:01 +01:00
..
2016-08-17 17:13:41 +01:00
2016-08-03 15:01:59 +02:00
2016-01-02 21:19:51 +00:00
2016-07-18 17:01:22 +01:00
2016-04-30 12:49:28 +01:00
2016-08-18 14:00:43 +02:00
2016-04-05 21:20:26 +01:00
2016-07-08 09:56:47 +01:00
2016-04-05 21:20:26 +01:00
2016-07-18 17:01:22 +01:00
2016-06-12 18:24:45 +01:00
2016-06-12 18:24:45 +01:00
2016-08-25 09:02:01 +01:00
2016-08-25 09:02:01 +01:00
2016-08-25 09:02:01 +01:00
2016-08-08 17:25:40 +02:00
2016-01-02 21:19:51 +00:00
2016-08-25 09:02:01 +01:00
2016-08-25 09:02:01 +01:00
2016-08-25 09:02:01 +01:00
2016-01-02 21:19:51 +00:00
2016-08-25 09:02:01 +01:00
2016-01-02 21:19:51 +00:00
2016-01-02 21:19:51 +00:00
2016-01-02 21:19:51 +00:00
2016-07-08 09:56:47 +01:00
2016-01-02 21:19:51 +00:00
2016-08-08 17:25:40 +02:00
2016-01-02 21:19:51 +00:00
2016-06-13 10:21:14 +01:00
2016-04-24 11:31:16 +01:00
2016-08-05 18:09:10 +02:00
2016-05-23 09:59:21 +01:00
2016-08-18 14:48:51 +01:00
2016-07-08 09:56:47 +01:00
2016-03-24 15:07:01 +03:00
2016-06-18 14:46:43 +01:00
2016-01-02 21:19:51 +00:00
2016-08-23 17:23:10 +01:00
2016-01-02 21:19:51 +00:00
2016-01-02 21:19:51 +00:00
2016-01-02 21:19:51 +00:00
2016-01-02 21:19:51 +00:00
2016-01-02 21:19:51 +00:00
2016-08-23 17:23:10 +01:00
2016-01-02 21:19:51 +00:00
2016-07-07 18:13:07 +01:00
2016-04-30 12:49:28 +01:00
2016-07-07 18:13:07 +01:00
2016-04-30 12:49:28 +01:00
2016-07-08 09:56:47 +01:00
2016-04-30 12:49:28 +01:00
2016-06-22 18:25:36 +01:00
2016-04-24 11:31:48 +01:00
2016-04-12 10:37:12 +01:00
2015-07-02 14:17:23 +01:00
2015-11-05 16:23:10 +00:00
2016-01-02 21:19:51 +00:00
2015-11-19 21:51:42 +00:00
2016-07-19 13:06:14 +01:00
2016-06-22 18:25:36 +01:00
2016-06-22 18:25:36 +01:00
2016-06-22 18:25:36 +01:00
2015-11-05 16:23:10 +00:00
2016-03-24 15:07:01 +03:00
2015-04-30 17:38:49 +01:00
2016-03-22 09:45:41 +01:00
2016-03-24 15:07:01 +03:00
2014-10-18 21:57:54 +01:00
2016-03-22 09:45:41 +01:00
2016-05-24 09:19:48 +01:00
2016-05-24 09:19:48 +01:00
2016-05-24 09:19:48 +01:00
2016-03-24 15:07:01 +03:00
2014-10-16 16:00:34 +01:00
2016-03-22 09:45:41 +01:00
2016-03-22 09:45:41 +01:00
2016-06-22 18:25:36 +01:00
2016-05-20 10:48:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-24 18:29:59 +01:00
2015-11-05 16:23:10 +00:00
2016-01-02 21:19:51 +00:00
2015-11-05 16:23:10 +00:00
2015-11-05 16:23:10 +00:00
2015-11-05 16:23:10 +00:00
2015-11-05 16:23:10 +00:00
2015-11-05 16:23:10 +00:00
2015-11-05 16:23:10 +00:00
2016-04-30 12:49:28 +01:00
2016-01-02 21:19:51 +00:00
2015-11-05 16:23:10 +00:00
2015-11-05 16:23:10 +00:00
2016-04-14 14:08:04 +03:00
2016-04-16 20:40:49 +01:00
2015-11-05 16:23:10 +00:00
2016-01-02 21:19:51 +00:00
2016-04-30 12:49:28 +01:00
2016-05-20 10:48:50 +01:00
2016-05-20 10:48:50 +01:00
2016-01-29 12:41:02 +00:00
2016-06-22 18:25:36 +01:00
2016-06-22 18:25:36 +01:00
2016-08-18 14:48:51 +01:00
2016-08-18 14:48:51 +01:00
2016-08-18 14:48:51 +01:00
2016-08-18 14:48:51 +01:00
2016-08-25 09:02:01 +01:00
2016-07-08 09:56:47 +01:00
2016-01-02 21:19:51 +00:00
2016-01-02 21:19:51 +00:00
2016-08-18 14:48:51 +01:00
2016-07-12 08:25:29 +01:00
2016-05-21 15:40:56 +01:00
2016-01-31 14:25:30 +00:00
2016-05-21 15:40:56 +01:00
2016-07-26 10:43:45 +01:00
2016-07-31 17:20:08 +01:00
2016-07-31 17:04:16 +01:00