diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-05-30 16:48:35 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-07-05 16:46:27 +0200 |
commit | fbcbbf4e80a57298c605f4a2b486280d70c69d00 (patch) | |
tree | e9ef9bdd30f526982395b903b2c8d555fd58c71a /include | |
parent | f8e2bd538d2c7baccbed0f22b02d08290959ba95 (diff) | |
download | qemu-fbcbbf4e80a57298c605f4a2b486280d70c69d00.zip qemu-fbcbbf4e80a57298c605f4a2b486280d70c69d00.tar.gz qemu-fbcbbf4e80a57298c605f4a2b486280d70c69d00.tar.bz2 |
block: Convert bdrv_read() 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')
-rw-r--r-- | include/block/block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h index fce8c81..b6744ab 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -226,7 +226,7 @@ int bdrv_reopen_prepare(BDRVReopenState *reopen_state, BlockReopenQueue *queue, Error **errp); void bdrv_reopen_commit(BDRVReopenState *reopen_state); void bdrv_reopen_abort(BDRVReopenState *reopen_state); -int bdrv_read(BlockDriverState *bs, int64_t sector_num, +int bdrv_read(BdrvChild *child, int64_t sector_num, uint8_t *buf, int nb_sectors); int bdrv_write(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors); |