]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Propagate active bitmaps through external snapshots
authorPeter Krempa <pkrempa@redhat.com>
Thu, 28 Nov 2019 15:06:31 +0000 (16:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 13 Dec 2019 12:22:55 +0000 (13:22 +0100)
commit3283445212708d432737650cf967b53e7aa58926
treef65a32c5cdc9e9c552ce76bbcdbfc2ab2816ac71
parentf1bc1f0fe5c7d738aabb5a1c35da6393fbaf6c36
qemu: snapshot: Propagate active bitmaps through external snapshots

Re-create any active persistent bitmap in the snapshot overlay image so
that tracking for a checkpoint is persisted. While this basically
duplicates data in the allocation map it's currently the only possible
way as qemu can't mirror the allocation map into a dirty bitmap if we'd
ever want to do a backup.

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