On Sat, Jan 19, 2008 at 11:07:18PM +0100, Soren Hansen wrote:
> 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.

Yes, the automatic use of readOnly is not neccessary now that we have
proper authentication support, because we can authenticate to get a full
read-write connection if required. I'll cook up a new patch with this
change & the uri.html docs update.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to