Always connect to libvirt read-only.
authorRichard Jones <rjones@redhat.com>
Thu, 15 Oct 2009 11:30:34 +0000 (12:30 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 15 Oct 2009 12:13:44 +0000 (13:13 +0100)
commit0c87800038cc907cd67c92ce5101596712e3d56f
tree9f3972ef928be3775a8773fd01f298d956e28c49
parentfe2861c25bad25e3966e601f0d9dc0c6c8648cc9
Always connect to libvirt read-only.

We should never be modifying domains, so there should never
be a need to make a writable connection to libvirt.

This also tidies up the connection code into a single function.
vhostmd/virt-util.c