Open a read/write connection. Newer libvirt requires it.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 10 Mar 2009 11:08:54 +0000 (11:08 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 10 Mar 2009 11:08:54 +0000 (11:08 +0000)
virt-df/virt_df_main.ml

index bcb798a..0d5c12d 100644 (file)
@@ -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);