summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf2016-04-14 13:09:53 +0200
committerKevin Wolf2016-05-25 19:04:21 +0200
commit5c438bc68c5dd9671c234eb86ebf026b016b6e35 (patch)
treef122cc5b66bf57088818c5d12946777050ed9b5b /include
parentbackup: Remove bs parameter from backup_do_cow() (diff)
downloadqemu-5c438bc68c5dd9671c234eb86ebf026b016b6e35.tar.gz
qemu-5c438bc68c5dd9671c234eb86ebf026b016b6e35.tar.xz
qemu-5c438bc68c5dd9671c234eb86ebf026b016b6e35.zip
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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/block/block.h b/include/block/block.h
index 0a4b973666..70ea29947c 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);
/*