]> xenbits.xensource.com Git - libvirt.git/commit
qemu: backup: Fix backup of disk skipped in an intermediate checkpoint
authorPeter Krempa <pkrempa@redhat.com>
Thu, 21 May 2020 11:23:40 +0000 (13:23 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 22 Jun 2020 14:04:29 +0000 (16:04 +0200)
commitc89a44777fdf89b400878adcb03a3557bcec3f4e
tree41d4e26a616830155ca3fc28f2bfa6c682e8bd58
parent562511afa6cef5948e6339596ba5954cb5ed0565
qemu: backup: Fix backup of disk skipped in an intermediate checkpoint

If a disk is not captured by one of the intermediate checkpoints the
code would fail, but we can easily calculate the bitmaps to merge
correctly by skipping over checkpoints which don't describe the disk.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_backup.c
tests/qemublocktest.c