From 8407d5d7e265911b05949ee2ffd9e45c97bf0505 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Thu, 5 Dec 2013 12:34:02 +0100 Subject: block: Make bdrv_pwrite() a bdrv_prwv_co() wrapper Instead of implementing the alignment adjustment here, use the now existing functionality of bdrv_co_do_pwritev(). Signed-off-by: Kevin Wolf Reviewed-by: Max Reitz --- include/block/block.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/block') diff --git a/include/block/block.h b/include/block/block.h index a2f5657321..1085992a7a 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -224,7 +224,6 @@ BlockDriverAIOCB *bdrv_aio_write_zeroes(BlockDriverState *bs, int64_t sector_num int nb_sectors, BdrvRequestFlags flags, BlockDriverCompletionFunc *cb, void *opaque); int bdrv_make_zero(BlockDriverState *bs, BdrvRequestFlags flags); -int bdrv_writev(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov); int bdrv_pread(BlockDriverState *bs, int64_t offset, void *buf, int count); int bdrv_pwrite(BlockDriverState *bs, int64_t offset, -- cgit v1.2.1