summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-05-08 16:34:51 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-06-04 09:56:12 +0200
commitea8001914924331549e9b876bcaeac2dc80db2b6 (patch)
tree4b21354f87a878b5304aa97d6e0c6e6a4c3832b2 /hw
parent85ebd381fdae2d551cd6a0ffff47ab08734edf12 (diff)
downloadhqemu-ea8001914924331549e9b876bcaeac2dc80db2b6.zip
hqemu-ea8001914924331549e9b876bcaeac2dc80db2b6.tar.gz
rbd: use BlockDriverState's AioContext
Drop the assumption that we're using the main AioContext. Convert qemu_bh_new() to aio_bh_new() and qemu_aio_wait() to aio_poll(). The .bdrv_detach_aio_context() and .bdrv_attach_aio_context() interfaces are not needed since no fd handlers, timers, or BHs stay registered when requests have been drained. Cc: Josh Durgin <josh.durgin@inktank.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud