[libvirt] [PATCH 7/9] Pass config file object through to driver open methods

Peter Krempa pkrempa at redhat.com
Wed Jun 8 11:30:24 UTC 2016


On Mon, Jun 06, 2016 at 16:09:01 +0100, Daniel Berrange wrote:
> 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 at redhat.com>
> ---
>  src/bhyve/bhyve_driver.c   | 1 +
>  src/driver-hypervisor.h    | 1 +
>  src/esx/esx_driver.c       | 1 +
>  src/hyperv/hyperv_driver.c | 4 +++-
>  src/libvirt.c              | 2 +-
>  src/libxl/libxl_driver.c   | 1 +
>  src/lxc/lxc_driver.c       | 1 +
>  src/openvz/openvz_driver.c | 1 +
>  src/phyp/phyp_driver.c     | 4 +++-
>  src/qemu/qemu_driver.c     | 1 +
>  src/remote/remote_driver.c | 1 +
>  src/test/test_driver.c     | 1 +
>  src/uml/uml_driver.c       | 1 +
>  src/vbox/vbox_common.c     | 1 +
>  src/vbox/vbox_driver.c     | 1 +
>  src/vmware/vmware_driver.c | 1 +
>  src/vz/vz_driver.c         | 1 +
>  src/xen/xen_driver.c       | 4 +++-

Missing change to 'xenapiConnectOpen'.

>  18 files changed, 24 insertions(+), 4 deletions(-)

ACK with the above resolved.




More information about the libvir-list mailing list