Re: [Qemu-devel] [PATCH v2 1/2] main-loop: Pass AioContext into qemu_poll_ns

2014-10-02 Thread Stefan Hajnoczi
On Tue, Sep 30, 2014 at 11:35:17AM +0800, Fam Zheng wrote: > diff --git a/main-loop.c b/main-loop.c > index d2e64f1..4641ef4 100644 > --- a/main-loop.c > +++ b/main-loop.c > @@ -234,7 +234,8 @@ static int os_host_main_loop_wait(int64_t timeout) > spin_counter++; > } > > -ret = q

[Qemu-devel] [PATCH v2 1/2] main-loop: Pass AioContext into qemu_poll_ns

2014-09-29 Thread Fam Zheng
qemu_poll_ns may ultilize the information in AioContext to achieve better performance. Signed-off-by: Fam Zheng --- aio-posix.c | 2 +- include/qemu/timer.h | 3 ++- main-loop.c | 6 -- qemu-timer.c | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --gi