Searched hist:"2572 b37a4751cc967582d7d04f21d9bf97187ae5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 2572b37a4751cc967582d7d04f21d9bf97187ae5 Thu May 08 09:34:34 CDT 2014 Stefan Hajnoczi <stefanha@redhat.com> block: use BlockDriverState AioContext
Drop the assumption that we're using the main AioContext. Convert qemu_aio_wait() to aio_poll() and qemu_bh_new() to aio_bh_new() so the BlockDriverState AioContext is used.
Note there is still one qemu_aio_wait() left in bdrv_create() but we do not have a BlockDriverState there and only main loop code invokes this function.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|