]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Allow overriding default URI in config file
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 14 Mar 2012 12:30:52 +0000 (12:30 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 15 Mar 2012 11:20:17 +0000 (11:20 +0000)
commite457d5ef2015e6106094b85f8bbd1582002edc4d
tree7b18a670b0a5feb1695881410679e536ec1a5669
parent6227a220ccdd0193a1912f3a0010a72d91f06818
Allow overriding default URI in config file

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
docs/uri.html.in
src/libvirt.c
src/libvirt.conf
tools/virsh.pod