From: aokblast Date: Tue, 12 Mar 2024 23:00:26 +0000 (+0800) Subject: remoteDispatchConnectOpen: Fix check for 'BHYVE' connection type X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1b815465d9d523aacc4b7ab63c247cc2e6cefa64;p=libvirt.git remoteDispatchConnectOpen: Fix check for 'BHYVE' connection type 'bhyveConnectGetType' (which is called from 'virConnectGetType') returns 'BHYVE' as the type, but the code in 'remoteDispatchConnectOpen' responsible for selecting the sub-driver URIs in modular deployment checks for 'bhyve' and thus would not properly fill the URIs to the sub-daemons. Signed-off-by: aokblast Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- diff --git a/src/remote/remote_daemon_dispatch.c b/src/remote/remote_daemon_dispatch.c index cfffb40095..e812f5c3e9 100644 --- a/src/remote/remote_daemon_dispatch.c +++ b/src/remote/remote_daemon_dispatch.c @@ -2108,7 +2108,7 @@ remoteDispatchConnectOpen(virNetServer *server G_GNUC_UNUSED, STREQ(type, "Xen") || STREQ(type, "LXC") || STREQ(type, "VBOX") || - STREQ(type, "bhyve") || + STREQ(type, "BHYVE") || STREQ(type, "vz") || STREQ(type, "Parallels") || STREQ(type, "CH")) {