]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: checkpoint: Fix rollback and access to unlocked 'vm' when deleting checkpoints
authorPeter Krempa <pkrempa@redhat.com>
Thu, 26 Sep 2019 14:56:16 +0000 (16:56 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 Nov 2019 12:24:54 +0000 (13:24 +0100)
commitcec4e32998d89c40c6fc918516a2c42ba6d719a4
treef11f36f78d02adc4f4e8f535a4402997e8efcdae
parent2eb7c683323c1b0b6170e8cfa482ad5eb66bc86c
qemu: checkpoint: Fix rollback and access to unlocked 'vm' when deleting checkpoints

Delete/merge bitmaps when deleting checkpoints using a 'transaction' so
that we don't have to deal with halfway-failed scenarios and also fix
access to 'vm' while in the monitor lock.

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