]> git.proxmox.com Git - mirror_qemu.git/commit - qapi/migration.json
migration: dirty-bitmap: Allow control of bitmap persistence
authorPeter Krempa <pkrempa@redhat.com>
Fri, 12 Feb 2021 17:34:24 +0000 (18:34 +0100)
committerEric Blake <eblake@redhat.com>
Fri, 12 Feb 2021 21:24:36 +0000 (15:24 -0600)
commit6e9f21a2aa8a78bc9a512a836a40c79fe50dd2b4
tree749863cda552af19233d6556c32469310713c565
parent0d1e450c7b3117ee635a00c81d9a92666ebc7ffa
migration: dirty-bitmap: Allow control of bitmap persistence

Bitmap's source persistence is transported over the migration stream and
the destination mirrors it. In some cases the destination might want to
persist bitmaps which are not persistent on the source (e.g. the result
of merging bitmaps from a number of layers on the source when migrating
into a squashed image) but currently it would need to create another set
of persistent bitmaps and merge them.

This patch adds a 'transform' property to the alias map which allows
overriding the persistence of migrated bitmaps both on the source and
destination sides.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Message-Id: <b20afb675917b86f6359ac3591166ac6d4233573.1613150869.git.pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: grammar tweaks, drop dead conditional]
Signed-off-by: Eric Blake <eblake@redhat.com>
migration/block-dirty-bitmap.c
qapi/migration.json