summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorKevin Wolf2016-05-24 17:21:22 +0200
committerKevin Wolf2016-07-05 16:46:26 +0200
commit28b04a8f655820cca2cc1c8fe409462b46d50d41 (patch)
tree065392421872b590eecf23c42a392a6eba539c88 /include/block
parentvhdx: Some more BlockBackend use in vhdx_create() (diff)
downloadqemu-28b04a8f655820cca2cc1c8fe409462b46d50d41.tar.gz
qemu-28b04a8f655820cca2cc1c8fe409462b46d50d41.tar.xz
qemu-28b04a8f655820cca2cc1c8fe409462b46d50d41.zip
block: Convert bdrv_co_readv() to BdrvChild
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/block/block.h b/include/block/block.h
index 211a0f2c41..16ec088b7a 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -241,8 +241,8 @@ int bdrv_pwrite(BlockDriverState *bs, int64_t offset,
int bdrv_pwritev(BlockDriverState *bs, int64_t offset, QEMUIOVector *qiov);
int bdrv_pwrite_sync(BlockDriverState *bs, int64_t offset,
const void *buf, int count);
-int coroutine_fn bdrv_co_readv(BlockDriverState *bs, int64_t sector_num,
- int nb_sectors, QEMUIOVector *qiov);
+int coroutine_fn bdrv_co_readv(BdrvChild *child, int64_t sector_num,
+ int nb_sectors, QEMUIOVector *qiov);
int coroutine_fn bdrv_co_writev(BlockDriverState *bs, int64_t sector_num,
int nb_sectors, QEMUIOVector *qiov);
/*