diff options
author | Fiona Ebner <f.ebner@proxmox.com> | 2023-10-31 14:54:24 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-10-31 18:20:29 +0100 |
commit | 058cfca5645a9ed7cb2bdb77d15f2eacaf343694 (patch) | |
tree | b2c79cdb099353eef066889b763c1cdafbbca2dc /block/stream.c | |
parent | c45d0e1af0b9e8fa0b0abc30bd6a4ef8d37964b4 (diff) | |
download | qemu-058cfca5645a9ed7cb2bdb77d15f2eacaf343694.zip qemu-058cfca5645a9ed7cb2bdb77d15f2eacaf343694.tar.gz qemu-058cfca5645a9ed7cb2bdb77d15f2eacaf343694.tar.bz2 |
block/mirror: move dirty bitmap to filter
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: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20231031135431.393137-4-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/stream.c')
0 files changed, 0 insertions, 0 deletions