]> git.ipfire.org Git - thirdparty/libvirt.git/commit
driver: add some helpers for opening secondary driver connections
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 31 Jan 2018 18:21:52 +0000 (18:21 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 31 Jan 2018 18:34:47 +0000 (18:34 +0000)
commit2870419eb922f0ff0109be19786b748665ec00c5
tree8649f8d26de01fd02415a02c2c318d551f2d6340
parent74d7c518156f7c1b9aac520cd920d13ff13481a4
driver: add some helpers for opening secondary driver connections

Various parts of libvirt will want to open connections to secondary
drivers. The right URI to use will depend on the context, so rather than
duplicating that logic in various places, use some helper APIs. This
will also make it easier for us to later pre-open/cache connections to
avoid repeated opening & closing the same connectiong during autostart.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/driver.c
src/driver.h
src/libvirt_private.syms