Skip to content
Snippets Groups Projects
user avatar
Fiona Ebner authored
In preparation to allow switching to active mode without draining.
Initialization of the bitmap in mirror_dirty_init() still happens with
the original/backing BlockDriverState, which should be fine, because
the mirror top has the same length.

Suggested-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: default avatarFiona Ebner <f.ebner@proxmox.com>
Message-ID: <20231031135431.393137-4-f.ebner@proxmox.com>
Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
058cfca5
History
Name Last commit Last update