Displaying 11 results from an estimated 11 matches for "error_if_libvirt_backend".
2016 Aug 24
1
[PATCH] v2v: Allow libvirt >= 2.1.0 to be used for Xen and vCenter conversions.
...ort the "json:" pseudo-URLs that
+ * we use as backingfiles, when accessing Xen over SSH or vCenter
+ * over HTTPS. Check this and print a workaround.
+ *
+ * We can remove this when/if we ever require libvirt >= 2.1.0 as
+ * a minimum version.
+ *
+ * See also RHBZ#1134878.
*)
-let error_if_libvirt_backend () =
+let error_if_libvirt_does_not_support_json_backingfile () =
let libguestfs_backend = (open_guestfs ())#get_backend () in
if libguestfs_backend = "libvirt" then (
- error (f_"because of libvirt bug https://bugzilla.redhat.com/show_bug.cgi?id=1134592 you must set this en...
2015 Oct 21
2
[PATCH] v2v: use open_guestfs everywhere
...format -> format in
diff --git a/v2v/input_libvirt_other.ml b/v2v/input_libvirt_other.ml
index 0a137c1..bb97bc6 100644
--- a/v2v/input_libvirt_other.ml
+++ b/v2v/input_libvirt_other.ml
@@ -28,7 +28,7 @@ open Utils
* (RHBZ#1134592). This can be removed once the libvirt bug is fixed.
*)
let error_if_libvirt_backend () =
- let libguestfs_backend = (new Guestfs.guestfs ())#get_backend () in
+ let libguestfs_backend = (open_guestfs ())#get_backend () in
if libguestfs_backend = "libvirt" then (
error (f_"because of libvirt bug https://bugzilla.redhat.com/show_bug.cgi?id=1134592 you must s...
2014 Sep 23
0
[PATCH 02/13] syntax-check: fix error_message_period check
...Enable the best non-Xen kernel, where "best" means the one with
* the highest version which supports virtio.
diff --git a/v2v/input_libvirt.ml b/v2v/input_libvirt.ml
index 9e8b510..ead10ec 100644
--- a/v2v/input_libvirt.ml
+++ b/v2v/input_libvirt.ml
@@ -30,7 +30,7 @@ open Utils
let error_if_libvirt_backend () =
let libguestfs_backend = (new Guestfs.guestfs ())#get_backend () in
if libguestfs_backend = "libvirt" then (
- error (f_"because of libvirt bug https://bugzilla.redhat.com/show_bug.cgi?id=1134592 you must set this environment variable:\n\nexport LIBGUESTFS_BACKEND=direc...
2015 Oct 21
0
Re: [PATCH] v2v: use open_guestfs everywhere
...a/v2v/input_libvirt_other.ml b/v2v/input_libvirt_other.ml
> index 0a137c1..bb97bc6 100644
> --- a/v2v/input_libvirt_other.ml
> +++ b/v2v/input_libvirt_other.ml
> @@ -28,7 +28,7 @@ open Utils
> * (RHBZ#1134592). This can be removed once the libvirt bug is fixed.
> *)
> let error_if_libvirt_backend () =
> - let libguestfs_backend = (new Guestfs.guestfs ())#get_backend () in
> + let libguestfs_backend = (open_guestfs ())#get_backend () in
> if libguestfs_backend = "libvirt" then (
> error (f_"because of libvirt bug https://bugzilla.redhat.com/show_bug.cgi?i...
2016 May 22
0
[PATCH 2/2] ocaml tools: Use a common debug function.
...table dcPath = ""
method source () =
- if verbose () then
- printf "input_libvirt_vcenter_https: source: scheme %s server %s\n%!"
- scheme server;
+ debug "input_libvirt_vcenter_https: source: scheme %s server %s"
+ scheme server;
error_if_libvirt_backend ();
@@ -72,17 +71,14 @@ object
* users to correct any mistakes in v2v or libvirt.
*)
| Some p, (None|Some _) ->
- if verbose () then
- printf "vcenter: using --dcpath from the command line: %s\n" p;
+ debug "vcenter: using --dcpat...
2016 May 22
4
ocaml tools: Use a common debug function.
Add a Common_utils.debug function for printing messages
only when in verbose mode.
Rich.
2014 Oct 30
2
[PATCH 0/2] v2v: Add --password-file parameter (RHBZ#1158526).
These patches add the --password-file parameter, allowing you to pass
a single password via a file.
https://bugzilla.redhat.com/show_bug.cgi?id=1158526
Rich.
2014 Sep 23
27
[PATCH 00/13] syntax-check
Hi Rich,
This series includes patches to make `make syntax-check` pass.
Some of the fix require change to maint.mk, but the file is not in git
repo. Is it intended?
Thanks!
Hu Tao (13):
syntax-check: dirty hack to pass bindtextdomain check
syntax-check: fix error_message_period check
syntax-check: fix makefile_at_at_check
syntax-check: fix prohibit_assert_without_use check
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...(fun { Input_libvirtxml.p_source_disk = disk } -> disk) disks in
{ source with s_disks = disks }
diff --git a/v2v/input_libvirt_other.mli b/v2v/input_libvirt_other.mli
index 87652d7..df5a37f 100644
--- a/v2v/input_libvirt_other.mli
+++ b/v2v/input_libvirt_other.mli
@@ -21,10 +21,10 @@
val error_if_libvirt_backend : unit -> unit
val error_if_no_ssh_agent : unit -> unit
-class virtual input_libvirt : bool -> string option -> string option -> string -> object
+class virtual input_libvirt : string option -> string option -> string -> object
method as_options : string
method v...
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623