summaryrefslogtreecommitdiffstats
path: root/python/qemu/qtest.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2019-10-22 13:18:01 +0200
committerMax Reitz2019-10-28 11:22:31 +0100
commitb3b7036afbf564268ad7edc10fb28501af0709e9 (patch)
tree5e94ce5bea9282084b1fc6dfbbc7ae614c66f5b1 /python/qemu/qtest.py
parentblock/block-copy: allocate buffer in block_copy_with_bounce_buffer (diff)
downloadqemu-b3b7036afbf564268ad7edc10fb28501af0709e9.tar.gz
qemu-b3b7036afbf564268ad7edc10fb28501af0709e9.tar.xz
qemu-b3b7036afbf564268ad7edc10fb28501af0709e9.zip
block/block-copy: limit copy_range_size to 16 MiB
Large copy range may imply memory allocation and large io effort, so using 2G copy range request may be bad idea. Let's limit it to 16 MiB. It also helps the following patch to refactor copy-with-offload fallback to copy-with-bounce-buffer. Note, that total memory usage of backup is still not limited, it will be fixed in further commit. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 20191022111805.3432-3-vsementsov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'python/qemu/qtest.py')
0 files changed, 0 insertions, 0 deletions