block/qcow2-bitmap: fix bitmap migration
commita505475b95f6fb6667482c0919a53ee53d6a73c7
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 25 Nov 2019 12:52:28 +0000 (25 15:52 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 26 Nov 2019 13:18:01 +0000 (26 14:18 +0100)
treefb8c79b5d4b5574b439f661add183350db99ac03
parent4ecc984210ca1bf508a96a550ec8a93a5f833f6c
block/qcow2-bitmap: fix bitmap migration

Fix bitmap migration with dirty-bitmaps capability enabled and shared
storage. We should ignore IN_USE bitmaps in the image on target, when
migrating bitmaps through migration channel, see new comment below.

Fixes: 74da6b943565c451
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20191125125229.13531-2-vsementsov@virtuozzo.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-bitmap.c