aboutsummaryrefslogtreecommitdiff
path: root/block/io.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-04-14 13:09:53 +0200
committerKevin Wolf <kwolf@redhat.com>2016-05-25 19:04:21 +0200
commit5c438bc68c5dd9671c234eb86ebf026b016b6e35 (patch)
treef122cc5b66bf57088818c5d12946777050ed9b5b /block/io.c
parent8543c274141ade048c6a6070a095761a65acbb82 (diff)
downloadqemu-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 'block/io.c')
-rw-r--r--block/io.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/block/io.c b/block/io.c
index bc2eda2..2d832aa 100644
--- a/block/io.c
+++ b/block/io.c
@@ -1108,15 +1108,6 @@ int coroutine_fn bdrv_co_readv(BlockDriverState *bs, int64_t sector_num,
return bdrv_co_do_readv(bs, sector_num, nb_sectors, qiov, 0);
}
-int coroutine_fn bdrv_co_readv_no_serialising(BlockDriverState *bs,
- int64_t sector_num, int nb_sectors, QEMUIOVector *qiov)
-{
- trace_bdrv_co_readv_no_serialising(bs, sector_num, nb_sectors);
-
- return bdrv_co_do_readv(bs, sector_num, nb_sectors, qiov,
- BDRV_REQ_NO_SERIALISING);
-}
-
#define MAX_WRITE_ZEROES_BOUNCE_BUFFER 32768
static int coroutine_fn bdrv_co_do_write_zeroes(BlockDriverState *bs,