]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Pass config file object through to driver open methods
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 3 Jun 2016 17:01:27 +0000 (18:01 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 8 Jun 2016 12:48:45 +0000 (13:48 +0100)
commit5f1837eaca4beba418ea75ce5ee9ec235e277fa2
tree6b0d9731d3cf3f6098566fd57ac0d546a889d301
parent416358d99df0929a3901735c557bda8f393820ea
Pass config file object through to driver open methods

The virConnectOpenInternal method opens the libvirt client
config file and uses it to resolve things like URI aliases.

There may be driver specific things that are useful to
store in the config file too, so rather than have them
re-parse the same file, pass the virConfPtr down to the
drivers.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 files changed:
src/bhyve/bhyve_driver.c
src/driver-hypervisor.h
src/esx/esx_driver.c
src/hyperv/hyperv_driver.c
src/libvirt.c
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/openvz/openvz_driver.c
src/phyp/phyp_driver.c
src/qemu/qemu_driver.c
src/remote/remote_driver.c
src/test/test_driver.c
src/uml/uml_driver.c
src/vbox/vbox_common.c
src/vbox/vbox_driver.c
src/vmware/vmware_driver.c
src/vz/vz_driver.c
src/xen/xen_driver.c
src/xenapi/xenapi_driver.c