block: use coroutine interface for raw format
commitd8b7e0adf562277180f96ecbd7f1777a384a0308
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 13 Oct 2011 20:09:30 +0000 (13 21:09 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 14 Oct 2011 15:31:22 +0000 (14 17:31 +0200)
treecfec7f44d1ef33b9637bfe18209611528b886d07
parent1b1e8c6ec79b94543e89873e9dc067441505b5ff
block: use coroutine interface for raw format

The raw format delegates all operations to bs->file (the protocol).
Previously this block driver exposed both sync and aio interfaces.
Since the block layer now works in terms of coroutines, expose the
coroutine interfaces and drop the others.  This avoids unnecessary
emulation of sync and aio interfaces.

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