]> git.ipfire.org Git - thirdparty/libvirt.git/commit
driver: introduce a driver method for probing default URIs
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 27 Mar 2018 16:24:44 +0000 (17:24 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 12 Apr 2018 15:52:02 +0000 (16:52 +0100)
commit20ad55a8fd8fa096380fde30e8b8755608365bbc
treea1a7144cca7c4d3e932088a35ecc09837d8b3d8f
parenta2fd657b8644e1cdc4568c6e99f8343f42fed1fe
driver: introduce a driver method for probing default URIs

Currently the virDrvConnectOpen method is supposed to handle both
opening an explicit URI and auto-probing a driver if no URI is
given. Introduce a dedicated virDrvConnectURIProbe method to enable the
probing functionality to be split from the driver opening functionality.

It is still possible for NULL to be passed to the virDrvConnectOpen
method after this change, because the remote driver needs special
handling to enable probing of the URI against a remote libvirtd daemon.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/hvsupport.pl
src/bhyve/bhyve_driver.c
src/check-aclrules.pl
src/driver-hypervisor.h
src/libvirt.c
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/openvz/openvz_driver.c
src/qemu/qemu_driver.c
src/uml/uml_driver.c
src/vbox/vbox_common.c