]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: migration: Clean up temporary bitmaps when cancelling a migration
authorPeter Krempa <pkrempa@redhat.com>
Mon, 8 Feb 2021 16:01:36 +0000 (17:01 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 20 Feb 2021 12:21:21 +0000 (13:21 +0100)
commit1475baed369841c899f101696c682fa71c2cd487
tree5dab5c2a080af4a578d790b4e439f5be4e1c6435
parentf7eb3e233d8004e06338f7be35b5f8a267e5d6cf
qemu: migration: Clean up temporary bitmaps when cancelling a migration

In case when the block migration job required temporary bitmaps for
merging the appropriate checkpoints we need to clean them up when
cancelling the job. On success we don't need to do that though as the
bitmaps are just temporary thus are not written to disk.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_migration.c