]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hypervisor: custom shutdown actions for transient vs persistent VMs
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 20 Dec 2024 13:56:19 +0000 (13:56 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 20 Mar 2025 14:55:17 +0000 (14:55 +0000)
commit84bb136c31e0d52f44a0c5f8dc633afe2b432cb3
treee5c3e1cc469818f424ffcf8ec60787a0afa9e87f
parentf4f5e6bdc45a4a4dcab366e91d13605c8be6e0b8
hypervisor: custom shutdown actions for transient vs persistent VMs

It may be desirable to treat transient VMs differently from persistent
VMs. For example, while performing managed save on persistent VMs makes
sense, the same not usually true of transient VMs, since by their
nature they will have no config to restore from.

This also lets us fix a long standing problem with incorrectly
attempting to perform managed save on transient VMs.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/hypervisor/domain_driver.c
src/hypervisor/domain_driver.h
src/libvirt_private.syms
src/qemu/qemu_driver.c