
On Mon, Jan 22, 2018 at 06:16:08PM +0100, Pavel Hrdina wrote:
This effectively removes --connect parameter from daemon, for now we will support only local connection. Instead of specifying URI for different drivers we will use connect object which allows using multiple drivers from one daemon. In the future if that feature will be requested we can extend libvirt-dbus to have some configuration file where we will have an option to specify remote host instead of local connection.
This change also defines the difference between session and system bus, and limits the list of drivers available for that specific bus because not all drivers support session mode. Currently only QEMU driver has session mode. For test purposes we can allow TEST driver to be available for session bus.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> --- src/connect.c | 17 +++++++++++++++-- src/connect.h | 4 +++- src/main.c | 55 ++++++++++++++++++++++++++++++++++------------------- test/libvirttest.py | 4 ++-- 4 files changed, 55 insertions(+), 25 deletions(-)
Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|