]> xenbits.xensource.com Git - libvirt.git/commit
nwfilter: allow opening with nwfilter:///system URI
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:16 +0000 (17:45 +0000)
commit1292de7ef11b95272c23af10b4395f93189c8fa3
treecdcc26594a50b2b535e11675d0c84ab639f70497
parent1409a541c0124fdee10f20cac5cf1aa916e03f50
nwfilter: allow opening with nwfilter:///system URI

Allow the possibility of opening a connection to only the storage
driver, by defining a nwfilter:///system URI and registering a fake
hypervisor driver that supports it.

The hypervisor drivers can now directly open a nwfilter 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/nwfilter/nwfilter_driver.c