diff options
| author | Stefan Hajnoczi | 2014-05-08 16:34:45 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-06-04 09:56:11 +0200 |
| commit | a8c868c386d4cbdd0fc0a9423c6683880f6e75e4 (patch) | |
| tree | 37c6cee66dab4c5268fc44b9d8ec2dc1ee788942 /scripts | |
| parent | nfs: implement .bdrv_detach/attach_aio_context() (diff) | |
| download | qemu-a8c868c386d4cbdd0fc0a9423c6683880f6e75e4.tar.gz qemu-a8c868c386d4cbdd0fc0a9423c6683880f6e75e4.tar.xz 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 'scripts')
0 files changed, 0 insertions, 0 deletions
