From 7e20234d7493721008c661b6e2c9bd4c33326589 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Open a read/write connection. Newer libvirt requires it. --- virt-df/virt_df_main.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt-df/virt_df_main.ml b/virt-df/virt_df_main.ml index bcb798a..0d5c12d 100644 --- a/virt-df/virt_df_main.ml +++ b/virt-df/virt_df_main.ml @@ -126,7 +126,7 @@ OPTIONS" in (* Connect to the hypervisor. *) let conn = let name = !uri in - try C.connect_readonly ?name () + try C.connect ?name () with Libvirt.Virterror err -> prerr_endline (Libvirt.Virterror.to_string err); -- 1.8.3.1