]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: allow opening with nodedev:///system and nodedev:///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:46:09 +0000 (17:46 +0000)
commitdfb79d6cecc592e9ee2dd371727248bbb30a5f08
tree8f06f966f3a7676a676c423c3543d35880721d4c
parent3bd64d3306569cccbab575b37735543e5350964b
nodedev: allow opening with nodedev:///system and nodedev:///session URIs

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

The hypervisor drivers can now directly open a nodedev 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/node_device/node_device_driver.c
src/node_device/node_device_driver.h
src/node_device/node_device_hal.c
src/node_device/node_device_udev.c