]> xenbits.xensource.com Git - libvirt.git/commit
qemu: backup: Merge bitmaps accross the backing chain
authorPeter Krempa <pkrempa@redhat.com>
Wed, 4 Dec 2019 16:39:16 +0000 (17:39 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 13 Dec 2019 12:22:55 +0000 (13:22 +0100)
commit450888d96b359d53cc26e99787fe42034988267a
tree8820d88c08f18eb13f8693f7a7a12dee3857bfe5
parentb7f2cd465217e8b070d59eb4165ba08aff0b9a54
qemu: backup: Merge bitmaps accross the backing chain

To allow backups work across external snapshots we need to improve the
algorithm which calculates which bitmaps to merge.

The algorithm must look for appropriately named bitmaps in the image and
possibly descend into a backing image if the current image does not have
the bitmap.

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