]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Always revert internal snapshots via QMP rather than '-loadvm'
authorPeter Krempa <pkrempa@redhat.com>
Tue, 1 Apr 2025 19:03:14 +0000 (21:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 2 Apr 2025 14:51:41 +0000 (16:51 +0200)
commitedc541129f30a55318f2a5bcb509aead4d389731
tree33cc1e1148e725b6af4793f6e5dec441f44ed56e
parent31896db4d5438ffcc1b4941450f87a9b2c657b62
qemu: Always revert internal snapshots via QMP rather than '-loadvm'

As all supported qemu versions now support the QMP internal snapshot
commands (QEMU_CAPS_SNAPSHOT_INTERNAL_QMP is always present) we can
remove the code for loading snapshots during startup via '-loadvm'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_process.c