diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-04-12 15:15:49 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-25 19:04:21 +0200 |
commit | 03e35d820d18f23606b4cc821a36cda1f7936170 (patch) | |
tree | a32227908a491609d7a0535ba847d4b2e31b23f7 /include | |
parent | 1e98fefd95ff604b48fe3ea71825449c187a7dd7 (diff) | |
download | qemu-03e35d820d18f23606b4cc821a36cda1f7936170.zip qemu-03e35d820d18f23606b4cc821a36cda1f7936170.tar.gz qemu-03e35d820d18f23606b4cc821a36cda1f7936170.tar.bz2 |
stream: Use BlockBackend for I/O
This changes the streaming block job to use the job's BlockBackend for
performing the COR reads. job->bs isn't used by the streaming code any
more afterwards.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/block/block.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/block/block.h b/include/block/block.h index e899f7d..0a4b973 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -242,8 +242,6 @@ 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_copy_on_readv(BlockDriverState *bs, - int64_t sector_num, int nb_sectors, QEMUIOVector *qiov); int coroutine_fn bdrv_co_readv_no_serialising(BlockDriverState *bs, int64_t sector_num, int nb_sectors, QEMUIOVector *qiov); int coroutine_fn bdrv_co_writev(BlockDriverState *bs, int64_t sector_num, |