[Libguestfs] [PATCH v2v 3/3] lib/utils.ml: Pass virt-v2v -v flag to libnbd
Laszlo Ersek
lersek at redhat.com
Wed Jan 12 11:58:10 UTC 2022
On 01/11/22 13:49, Richard W.M. Jones wrote:
> If using virt-v2v in verbose mode, pass the debug flag when using
> libnbd. This provides additional debugging.
> ---
> lib/utils.ml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/utils.ml b/lib/utils.ml
> index 863cfc4eb0..4c43a4b516 100644
> --- a/lib/utils.ml
> +++ b/lib/utils.ml
> @@ -169,6 +169,7 @@ let with_nbd_connect_unix ?(meta_contexts = []) ~socket f =
> let nbd = NBD.create () in
> protect
> ~f:(fun () ->
> + NBD.set_debug nbd (verbose ());
> List.iter (NBD.add_meta_context nbd) meta_contexts;
> NBD.connect_unix nbd socket;
> protect
>
Reviewed-by: Laszlo Ersek <lersek at redhat.com>
More information about the Libguestfs
mailing list