aboutsummaryrefslogtreecommitdiff
path: root/include/block/block.h
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2019-05-01 21:13:58 +0300
committerKevin Wolf <kwolf@redhat.com>2019-05-10 16:45:40 +0200
commit2e11d7562ac9f065b9fe696fda51273a1e6671e9 (patch)
treea4af7e03ab5c2eb528edab23354e17ce86f79f07 /include/block/block.h
parente5a0a6784a63a15d5b1221326fe5c258be6b5561 (diff)
downloadqemu-2e11d7562ac9f065b9fe696fda51273a1e6671e9.zip
qemu-2e11d7562ac9f065b9fe696fda51273a1e6671e9.tar.gz
qemu-2e11d7562ac9f065b9fe696fda51273a1e6671e9.tar.bz2
block: Remove bdrv_read() and bdrv_write()
No one is using these functions anymore, all callers have switched to the byte-based bdrv_pread() and bdrv_pwrite() Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/block.h')
-rw-r--r--include/block/block.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/block/block.h b/include/block/block.h
index c7a2619..5e2b98b 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -316,10 +316,6 @@ int bdrv_reopen_prepare(BDRVReopenState *reopen_state,
BlockReopenQueue *queue, Error **errp);
void bdrv_reopen_commit(BDRVReopenState *reopen_state);
void bdrv_reopen_abort(BDRVReopenState *reopen_state);
-int bdrv_read(BdrvChild *child, int64_t sector_num,
- uint8_t *buf, int nb_sectors);
-int bdrv_write(BdrvChild *child, int64_t sector_num,
- const uint8_t *buf, int nb_sectors);
int bdrv_pwrite_zeroes(BdrvChild *child, int64_t offset,
int bytes, BdrvRequestFlags flags);
int bdrv_make_zero(BdrvChild *child, BdrvRequestFlags flags);