diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-12 19:57:16 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-12 19:57:16 +0000 |
commit | eda578e559879b1a6a85f924adf2942070ae7ec3 (patch) | |
tree | e2ed165dddbda7b7a1a543185ed4b86daa5a501f /block_int.h | |
parent | 04eeb8b6d68ed314746856c813ce6fa8bc1a95df (diff) | |
download | qemu-eda578e559879b1a6a85f924adf2942070ae7ec3.zip qemu-eda578e559879b1a6a85f924adf2942070ae7ec3.tar.gz qemu-eda578e559879b1a6a85f924adf2942070ae7ec3.tar.bz2 |
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 <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6824 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block_int.h')
-rw-r--r-- | block_int.h | 4 |
1 files changed, 0 insertions, 4 deletions
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, |