From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Tue, 10 Mar 2009 11:08:54 +0000 (+0000) Subject: Open a read/write connection. Newer libvirt requires it. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=7e20234d7493721008c661b6e2c9bd4c33326589;p=virt-df.git Open a read/write connection. Newer libvirt requires it. --- 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);