aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrey Drobyshev <andrey.drobyshev@virtuozzo.com>2023-09-19 19:58:00 +0300
committerKevin Wolf <kwolf@redhat.com>2023-10-31 13:51:28 +0100
commitc20c8ae70063a88964c14e651fd901d1290d26b2 (patch)
treebdc33b341bb159d1db8800c8cb6e760660fa1a7a /python
parentce8b8f9fe79b09fe6c1d207274b60fcb6a6e08a9 (diff)
downloadqemu-c20c8ae70063a88964c14e651fd901d1290d26b2.zip
qemu-c20c8ae70063a88964c14e651fd901d1290d26b2.tar.gz
qemu-c20c8ae70063a88964c14e651fd901d1290d26b2.tar.bz2
qemu-img: add chunk size parameter to compare_buffers()
Add @chsize param to the function which, if non-zero, would represent the chunk size to be used for comparison. If it's zero, then BDRV_SECTOR_SIZE is used as default chunk size, which is the previous behaviour. In particular, we're going to use this param in img_rebase() to make the write requests aligned to a predefined alignment value. Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Hanna Czenczek <hreitz@redhat.com> Message-ID: <20230919165804.439110-5-andrey.drobyshev@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions