aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-04-26 17:28:25 +0200
committerKevin Wolf <kwolf@redhat.com>2016-05-12 15:22:08 +0200
commite3ddef25e93e7f00c2c407a6fb24b2c5dd26a43b (patch)
tree2b47989f0a4278da0ef9bdae8910a08d7c2302ec /block.c
parent4575eb496da8da595689b286e202929f06612585 (diff)
downloadqemu-e3ddef25e93e7f00c2c407a6fb24b2c5dd26a43b.zip
qemu-e3ddef25e93e7f00c2c407a6fb24b2c5dd26a43b.tar.gz
qemu-e3ddef25e93e7f00c2c407a6fb24b2c5dd26a43b.tar.bz2
block: Remove BlockDriver.bdrv_read/write
There are no block drivers left that implement the old .bdrv_read/write interface, so it can be removed now. This gets us rid of the corresponding emulation functions, too. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r--block.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block.c b/block.c
index 6cbad0e..d70ae55 100644
--- a/block.c
+++ b/block.c
@@ -218,8 +218,6 @@ void bdrv_get_full_backing_filename(BlockDriverState *bs, char *dest, size_t sz,
void bdrv_register(BlockDriver *bdrv)
{
- bdrv_setup_io_funcs(bdrv);
-
QLIST_INSERT_HEAD(&bdrv_drivers, bdrv, list);
}