12 Jan
2022
12 Jan
'22
11:58 a.m.
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@redhat.com>