aboutsummaryrefslogtreecommitdiff
path: root/tests/rtc-test.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-05-08 16:34:45 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-06-04 09:56:11 +0200
commita8c868c386d4cbdd0fc0a9423c6683880f6e75e4 (patch)
tree37c6cee66dab4c5268fc44b9d8ec2dc1ee788942 /tests/rtc-test.c
parent471799d135a45b5a09f43bc103b5eb710548bb87 (diff)
downloadqemu-a8c868c386d4cbdd0fc0a9423c6683880f6e75e4.zip
qemu-a8c868c386d4cbdd0fc0a9423c6683880f6e75e4.tar.gz
qemu-a8c868c386d4cbdd0fc0a9423c6683880f6e75e4.tar.bz2
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 'tests/rtc-test.c')
0 files changed, 0 insertions, 0 deletions