aboutsummaryrefslogtreecommitdiff
path: root/range.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-10-05 17:17:02 +0100
committerKevin Wolf <kwolf@redhat.com>2011-10-13 15:02:27 +0200
commita652d16025030013116c4d63883b9e1ec08a4359 (patch)
treed5aa2e721b0b33c821b7acccaa7041573c468faf /range.h
parent0d460d6f414e02805cbc348404db03b2b7907360 (diff)
downloadqemu-a652d16025030013116c4d63883b9e1ec08a4359.zip
qemu-a652d16025030013116c4d63883b9e1ec08a4359.tar.gz
qemu-a652d16025030013116c4d63883b9e1ec08a4359.tar.bz2
block: directly invoke .bdrv_aio_*() in bdrv_co_io_em()
We will unify block layer request processing across sync, aio, and coroutines and this means a .bdrv_co_*() emulation function should not call back into the public interface. There's no need here, just call .bdrv_aio_*() directly. The gory details: bdrv_co_io_em() cannot call back into the public bdrv_aio_*() interface since that will be handled using coroutines, which causes us to call into bdrv_co_io_em() again in an infinite loop :). Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'range.h')
0 files changed, 0 insertions, 0 deletions