aboutsummaryrefslogtreecommitdiff
path: root/python/qemu
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-08-24 11:38:31 +0300
committerHanna Reitz <hreitz@redhat.com>2021-09-01 14:03:11 +0200
commitb518e9e9ef7a28aa559a05d44dd734e83ae75f9d (patch)
tree11eb3251f94ac482e3a4c4a0bd368bb71896de03 /python/qemu
parent2a6511dfeb0d1bd10211b264177afbc360f9bd9d (diff)
downloadqemu-b518e9e9ef7a28aa559a05d44dd734e83ae75f9d.zip
qemu-b518e9e9ef7a28aa559a05d44dd734e83ae75f9d.tar.gz
qemu-b518e9e9ef7a28aa559a05d44dd734e83ae75f9d.tar.bz2
block/backup: move cluster size calculation to block-copy
The main consumer of cluster-size is block-copy. Let's calculate it here instead of passing through backup-top. We are going to publish copy-before-write filter soon, so it will be created through options. But we don't want for now to make explicit option for cluster-size, let's continue to calculate it automatically. So, now is the time to get rid of cluster_size argument for bdrv_cbw_append(). Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210824083856.17408-10-vsementsov@virtuozzo.com> [hreitz: Add qemu/error-report.h include to block/block-copy.c] Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'python/qemu')
0 files changed, 0 insertions, 0 deletions