]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
remote: switch to auto-spawn modular daemons by default
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 24 May 2021 10:36:28 +0000 (11:36 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 18 Jun 2021 16:13:15 +0000 (17:13 +0100)
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.

Tested-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
meson_options.txt

index d0f84dbfa69ace7070289c272ff372330299cc87..859ed36b8fe37a1541bab168d4c8c123f67b84e1 100644 (file)
@@ -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')