]> xenbits.xensource.com Git - libvirt.git/commit
interface: allow opening with interface:///system and interface:///session URIs
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 26 Jan 2018 11:16:00 +0000 (11:16 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 31 Jan 2018 17:45:51 +0000 (17:45 +0000)
commit3bd64d3306569cccbab575b37735543e5350964b
treed2965298c8b266ff9bc26ea1a619bb20e4ddf46c
parent1292de7ef11b95272c23af10b4395f93189c8fa3
interface: allow opening with interface:///system and interface:///session URIs

Allow the possibility of opening a connection to only the interface
driver, by defining interface:///system and interface:///session URIs
and registering a fake hypervisor driver that supports them.

The hypervisor drivers can now directly open a interface driver
connection at time of need, instead of having to pass around a
virConnectPtr through many functions. This will facilitate the later
change to support separate daemons for each driver.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/interface/interface_backend_netcf.c
src/interface/interface_backend_udev.c