block: drop .bdrv_read()/.bdrv_write() emulation
commitf8c35c1d59c9fecf79f6d5a02cd09f472a6f411d
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 13 Oct 2011 20:09:31 +0000 (13 21:09 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 14 Oct 2011 15:31:22 +0000 (14 17:31 +0200)
tree65be1c753c3ec3d3480d2fcfa3f8f79f09348e01
parentd8b7e0adf562277180f96ecbd7f1777a384a0308
block: drop .bdrv_read()/.bdrv_write() emulation

There is no need to emulate .bdrv_read()/.bdrv_write() since these
interfaces are only called if aio and coroutine interfaces are not
present.  All valid BlockDrivers must implement either sync, aio, or
coroutine interfaces.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c