block/dirty-bitmap: remove assertion from restore
commit07d5a8df6a0018d831baef6d50f53f31a06b5a60
authorJohn Snow <jsnow@redhat.com>
Fri, 21 Dec 2018 09:35:20 +0000 (21 04:35 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 14 Jan 2019 16:09:46 +0000 (14 10:09 -0600)
tree413f41a91fa5c7ee5fda91b9f69a4dd47a1c7d2a
parentf4de0f8c40b70c4c9308b4670e0a6ad9faed0262
block/dirty-bitmap: remove assertion from restore

When making a backup of a dirty bitmap (for transactions), we want to
restore that backup whether or not the bitmap is enabled.

It is perfectly valid to write into bitmaps that are disabled. It is
only illegitimate for the guest to have done so.

Remove this assertion.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20181221093529.23855-3-jsnow@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
block/dirty-bitmap.c