From eda578e559879b1a6a85f924adf2942070ae7ec3 Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 12 Mar 2009 19:57:16 +0000 Subject: Drop internal bdrv_pread()/bdrv_pwrite() APIs (Avi Kivity) Now that scsi generic no longer uses bdrv_pread() and bdrv_pwrite(), we can drop the corresponding internal APIs, which overlap bdrv_read()/bdrv_write() and, being byte oriented, are unnatural for a block device. Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6824 c046a42c-6fe2-441c-8c8c-71466251a162 --- block_int.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'block_int.h') diff --git a/block_int.h b/block_int.h index e274293..d3c81fa 100644 --- a/block_int.h +++ b/block_int.h @@ -58,10 +58,6 @@ struct BlockDriver { int aiocb_size; const char *protocol_name; - int (*bdrv_pread)(BlockDriverState *bs, int64_t offset, - uint8_t *buf, int count); - int (*bdrv_pwrite)(BlockDriverState *bs, int64_t offset, - const uint8_t *buf, int count); int (*bdrv_truncate)(BlockDriverState *bs, int64_t offset); int64_t (*bdrv_getlength)(BlockDriverState *bs); int (*bdrv_write_compressed)(BlockDriverState *bs, int64_t sector_num, -- cgit v1.1