Re: [libvirt] [PATCH] Allow overriding default URI in config file

2012-03-14 Thread Eric Blake
On 03/14/2012 07:38 AM, Daniel P. Berrange wrote: > On Wed, Mar 14, 2012 at 06:54:40AM -0600, Eric Blake wrote: >> On 03/14/2012 06:37 AM, Daniel P. Berrange wrote: >>> From: "Daniel P. Berrange" >>> >>> Currently if the URI passed to virConnectOpen* is NULL, then we >>> >>> - Look for LIBVIRT_DE

Re: [libvirt] [PATCH] Allow overriding default URI in config file

2012-03-14 Thread Daniel P. Berrange
On Wed, Mar 14, 2012 at 06:54:40AM -0600, Eric Blake wrote: > On 03/14/2012 06:37 AM, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > Currently if the URI passed to virConnectOpen* is NULL, then we > > > > - Look for LIBVIRT_DEFAULT_URI env var > > - Probe for drivers > > > >

Re: [libvirt] [PATCH] Allow overriding default URI in config file

2012-03-14 Thread Eric Blake
On 03/14/2012 06:37 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Currently if the URI passed to virConnectOpen* is NULL, then we > > - Look for LIBVIRT_DEFAULT_URI env var > - Probe for drivers > > This changes it so that > > - Look for LIBVIRT_DEFAULT_URI env var > - Loo

[libvirt] [PATCH] Allow overriding default URI in config file

2012-03-14 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Currently if the URI passed to virConnectOpen* is NULL, then we - Look for LIBVIRT_DEFAULT_URI env var - Probe for drivers This changes it so that - Look for LIBVIRT_DEFAULT_URI env var - Look for 'uri_default' in $HOME/.libvirt/libvirt.conf - Probe for drivers