]> xenbits.xensource.com Git - libvirt.git/commit
libxl: Fix connection to modular network daemon
authorJim Fehlig <jfehlig@suse.com>
Fri, 22 Sep 2023 18:20:35 +0000 (12:20 -0600)
committerJim Fehlig <jfehlig@suse.com>
Mon, 25 Sep 2023 14:16:24 +0000 (08:16 -0600)
commit57d084febe7aeebd6e3b13f6276cb3fd2fc28c36
tree365e0bc68fb96ef529be96997c4c10fe7f72f29a
parent2ca94317ac642a70921947150ced8acc674ccdc8
libxl: Fix connection to modular network daemon

In a modular daemon configuration, virtxend does not support the
virNetwork* APIs. It should open a connection to virtnetworkd when
using those APIs, but currently always opens a connection to
"xen:///system". Switch to using virGetConnectNetwork to obtain a
valid connection instead of using the hardcoded URI.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/libxl/libxl_conf.c