diff options
| author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-10-13 13:08:22 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2011-10-13 15:02:53 +0200 |
| commit | 1c9805a398cc1125b4defa6367172c8c2c0bca9f (patch) | |
| tree | 9c1c4be25e12bfbeaf673f6d9e2378dbd540bbcf /scripts/qapi-commands.py | |
| parent | c5fbe57111ef59c315a71cd80e8b0af59e36ff21 (diff) | |
| download | focaccia-qemu-1c9805a398cc1125b4defa6367172c8c2c0bca9f.tar.gz focaccia-qemu-1c9805a398cc1125b4defa6367172c8c2c0bca9f.zip | |
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>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions