diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-08 16:34:45 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:11 +0200 |
commit | a8c868c386d4cbdd0fc0a9423c6683880f6e75e4 (patch) | |
tree | 37c6cee66dab4c5268fc44b9d8ec2dc1ee788942 /block/quorum.c | |
parent | 471799d135a45b5a09f43bc103b5eb710548bb87 (diff) | |
download | qemu-a8c868c386d4cbdd0fc0a9423c6683880f6e75e4.tar.gz qemu-a8c868c386d4cbdd0fc0a9423c6683880f6e75e4.tar.bz2 qemu-a8c868c386d4cbdd0fc0a9423c6683880f6e75e4.zip |
qed: 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() so we're
using the BlockDriverState's AioContext.
Implement .bdrv_detach/attach_aio_context() interfaces to move the
QED_F_NEED_CHECK timer from the old AioContext to the new one.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/quorum.c')
0 files changed, 0 insertions, 0 deletions