• S
    qed: use BlockDriverState's AioContext · a8c868c3
    Stefan Hajnoczi 提交于
    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: NStefan Hajnoczi <stefanha@redhat.com>
    a8c868c3
qed.c 48.5 KB