qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] iohandler: Use aio API


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] iohandler: Use aio API
Date: Wed, 9 Sep 2015 10:19:51 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

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 <address@hidden>
> ---
>  include/qemu/main-loop.h |   3 +-
>  iohandler.c              | 115 
> +++++++----------------------------------------
>  main-loop.c              |   5 ++-
>  3 files changed, 21 insertions(+), 102 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]