summaryrefslogtreecommitdiffstats
path: root/scripts/modules/module_block.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2019-06-04 18:15:07 +0200
committerStefan Hajnoczi2019-08-27 15:58:42 +0200
commit1143ec5ebf48d6dbf61f600eb5f875aefffb8fb6 (patch)
tree7a69dc4ed54e4fa893bb7e7454322103975b1ebb /scripts/modules/module_block.py
parentblock: define .*_part io handlers in BlockDriver (diff)
downloadqemu-1143ec5ebf48d6dbf61f600eb5f875aefffb8fb6.tar.gz
qemu-1143ec5ebf48d6dbf61f600eb5f875aefffb8fb6.tar.xz
qemu-1143ec5ebf48d6dbf61f600eb5f875aefffb8fb6.zip
block/io: bdrv_co_do_copy_on_readv: use and support qiov_offset
Use and support new API in bdrv_co_do_copy_on_readv. Note that in case of allocated-in-top we need to shrink read size to MIN(..) by hand, as pre-patch this was actually done implicitly by qemu_iovec_concat (and we used local_qiov.size). Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20190604161514.262241-6-vsementsov@virtuozzo.com Message-Id: <20190604161514.262241-6-vsementsov@virtuozzo.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions