summary refs log tree commit diff stats
path: root/python/qemu/utils/qom_fuse.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2022-03-03 20:43:34 +0100
committerHanna Reitz <hreitz@redhat.com>2022-03-07 09:33:30 +0100
commit051f66caa2716b1e01cf44f15b8fcd885d6d7784 (patch)
treea528ee052de516d82cde63e9d6f5e983e1ac5a7d /python/qemu/utils/qom_fuse.py
parent1a8fcca03fd6ff5acec8ca97fc20766df74f2ccb (diff)
downloadfocaccia-qemu-051f66caa2716b1e01cf44f15b8fcd885d6d7784.tar.gz
focaccia-qemu-051f66caa2716b1e01cf44f15b8fcd885d6d7784.zip
block/block-copy: move copy_bitmap initialization to block_copy_state_new()
We are going to complicate bitmap initialization in the further
commit. And in future, backup job will be able to work without filter
(when source is immutable), so we'll need same bitmap initialization in
copy-before-write filter and in backup job. So, it's reasonable to do
it in block-copy.

Note that for now cbw_open() is the only caller of
block_copy_state_new().

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220303194349.2304213-2-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'python/qemu/utils/qom_fuse.py')
0 files changed, 0 insertions, 0 deletions