[Libvir] PATCH: RFC: env var to set default connection URI

Soren Hansen soren at ubuntu.com
Sat Jan 19 22:07:18 UTC 2008


On Sat, Jan 19, 2008 at 06:29:52PM +0000, Daniel P. Berrange wrote:
> So this patch adds support for LIBVIRT_DEFAULT_URI env variable which
> will be used if the connect URI is NULL. If that variable is not set
> it will still default to Xen. 

virsh needs to be made aware of this as well. Current behaviour for
virsh is to connect readOnly if the connection uri is NULL and you're
not root. That will cause quite unexpected problems, if
LIBVIRT_DEFAULT_URI is set to e.g. qemu:///session.

-- 
Soren Hansen
Ubuntu Server Team
http://www.ubuntu.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080119/bf098a02/attachment-0001.sig>


More information about the libvir-list mailing list