]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: checkpoint: Write metadata of previously-'current' checkpoint on update
authorPeter Krempa <pkrempa@redhat.com>
Mon, 23 Nov 2020 11:51:23 +0000 (12:51 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 24 Nov 2020 16:59:26 +0000 (17:59 +0100)
commit07620a0371533ec3c20077423487fc2fb19b3fcc
treeb3857888b08754cd81f35e7a73bbdbbe7c6ce2d5
parent5d8acaa8bcce1be943726e7763bacdf1a4e49fe6
qemu: checkpoint: Write metadata of previously-'current' checkpoint on update

Similarly to previous commit dealing with snapshots we must rewrite the
metadata of the previously-'current' checkpoint when changing which
checkpoint is considered 'current'.

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