diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-04-14 13:09:53 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-25 19:04:21 +0200 |
commit | 5c438bc68c5dd9671c234eb86ebf026b016b6e35 (patch) | |
tree | f122cc5b66bf57088818c5d12946777050ed9b5b /include | |
parent | 8543c274141ade048c6a6070a095761a65acbb82 (diff) | |
download | qemu-5c438bc68c5dd9671c234eb86ebf026b016b6e35.zip qemu-5c438bc68c5dd9671c234eb86ebf026b016b6e35.tar.gz qemu-5c438bc68c5dd9671c234eb86ebf026b016b6e35.tar.bz2 |
backup: Use BlockBackend for I/O
This changes the backup block job to use the job's BlockBackend for
performing its I/O. job->bs isn't used by the backup code any more
afterwards.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.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 0a4b973..70ea299 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_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, int nb_sectors, QEMUIOVector *qiov); /* |