On Mon, Sep 07, 2015 at 11:28:58AM +0800, Fam Zheng wrote:
> iohandler.c shares the same interface with aio, but with duplicated
> code. It's better to rebase iohandler, also because that aio is a
> more friendly interface to multi-threads.
> 
> Create a global AioContext instance and let its GSource handle the
> iohandler events.
> 
> Signed-off-by: Fam Zheng <f...@redhat.com>
> ---
>  include/qemu/main-loop.h |   3 +-
>  iohandler.c              | 115 
> +++++++----------------------------------------
>  main-loop.c              |   5 ++-
>  3 files changed, 21 insertions(+), 102 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Reply via email to