[libvirt PATCH 4/4] remote: switch to auto-spawn modular daemons by default

Daniel P. Berrangé berrange at redhat.com
Thu Jun 10 13:43:17 UTC 2021


When determining what socket path to connect to for a given URI we will

 - Connect to the driver specific daemon if its UNIX socket exists
 - Connect to libvirtd if its UNIX socket exists
 - If non-root, auto-spawn a daemon based on the default mode

Historically the last point would result in spawning libvirtd, but with
this change we now spawn a modular daemon. Remote client probing logic
will pick a specific hypervisor daemon to connect to when the URI is
NULL.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson_options.txt b/meson_options.txt
index d0f84dbfa6..859ed36b8f 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -63,7 +63,7 @@ option('qemu_user', type: 'string', value: '', description: 'username to run QEM
 option('qemu_group', type: 'string', value: '', description: 'groupname to run QEMU system instance as')
 option('qemu_moddir', type: 'string', value: '', description: 'set the directory where QEMU modules are located')
 option('driver_remote', type: 'feature', value: 'auto', description: 'remote driver')
-option('remote_default_mode', type: 'combo', choices: ['legacy', 'direct'], value: 'legacy', description: 'remote driver default mode')
+option('remote_default_mode', type: 'combo', choices: ['legacy', 'direct'], value: 'direct', description: 'remote driver default mode')
 option('driver_secrets', type: 'feature', value: 'auto', description: 'local secrets management driver')
 option('driver_test', type: 'feature', value: 'auto', description: 'test driver')
 option('driver_vbox', type: 'feature', value: 'auto', description: 'VirtualBox XPCOMC driver')
-- 
2.31.1




More information about the libvir-list mailing list