On Wed, Jan 08, 2025 at 19:42:55 +0000, Daniel P. Berrangé wrote:
The call to preserve state (ie running VMs) is triggered in response
to
the desktop session dbus terminating (session daemon), or logind sending
a "PrepareForShutdown" signal. In the case of the latter, daemons
should only save their state, not actually exit yet. Other things on the
system may still expect the daemon to be running at this stage.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/remote/remote_daemon.c | 4 +++-
src/rpc/virnetdaemon.c | 1 -
2 files changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>