
On Wed, Jan 29, 2025 at 17:24:47 +0100, Peter Krempa wrote:
On Wed, Jan 08, 2025 at 19:42:44 +0000, Daniel P. Berrangé wrote:
Currently automatic VM managed save is only performed in session daemons, on desktop session close, or host OS shutdown request.
With this change it is possible to control shutdown behaviour for all daemons. A recommended setup might be:
auto_shutdown_try_save = "persistent" auto_shutdown_try_shutdown = "all" auto_shutdown_poweroff = "all"
Each setting accepts 'none', 'persistent', 'transient', and 'all' to control what types of guest it applies to.
For historical compatibility, for the system daemon, the settings currently default to:
auto_shutdown_try_save = "none" auto_shutdown_try_shutdown = "none" auto_shutdown_poweroff = "none"
while for the session daemon they currently default to
auto_shutdown_try_save = "all" auto_shutdown_try_shutdown = "none" auto_shutdown_poweroff = "none"
The system daemon settings should NOT be enabled if the traditional libvirt-guests.service is already enabled.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> --- src/qemu/libvirtd_qemu.aug | 3 ++
Proper review later, but for now this fails 'check-augeas-libvirtd_qemu':
It fixed itself after applying next patch so some hunks will be misplaced.