]> xenbits.xensource.com Git - libvirt.git/commit
secret: allow opening with secret:///system and secret:///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:26 +0000 (17:46 +0000)
commit74d7c518156f7c1b9aac520cd920d13ff13481a4
tree28231594f5cf0aa073617eadc49a5f1d5afff5ad
parentdfb79d6cecc592e9ee2dd371727248bbb30a5f08
secret: allow opening with secret:///system and secret:///session URIs

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

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