Home
last modified time | relevance | path

Searched hist:"1 c9805a398cc1125b4defa6367172c8c2c0bca9f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff 1c9805a398cc1125b4defa6367172c8c2c0bca9f Thu Oct 13 07:08:22 CDT 2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> block: switch bdrv_read()/bdrv_write() to coroutines

The bdrv_read()/bdrv_write() functions call .bdrv_read()/.bdrv_write().
They should go through bdrv_co_do_readv() and bdrv_co_do_writev()
instead in order to unify request processing code across sync, aio, and
coroutine interfaces. This is also an important step towards removing
BlockDriverState .bdrv_read()/.bdrv_write() in the future.

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