On Fri, 11/13 18:09, Paolo Bonzini wrote:
> > +static void aio_epoll_update(AioContext *ctx, AioHandler *node, bool
> > is_new)
> > +{
> > +struct epoll_event event;
> > +int r;
> > +
> > +if (!ctx->epoll_enabled) {
> > +return;
> > +}
> > +if (!node->pfd.events) {
>
>
On 09/11/2015 11:08, Stefan Hajnoczi wrote:
> From: Fam Zheng
>
> To minimize code duplication, epoll is hooked into aio-posix's
> aio_poll() instead of rolling its own. This approach also has both
> compile-time and run-time switchability.
>
> 1) When QEMU starts with a small number of fds in
From: Fam Zheng
To minimize code duplication, epoll is hooked into aio-posix's
aio_poll() instead of rolling its own. This approach also has both
compile-time and run-time switchability.
1) When QEMU starts with a small number of fds in the event loop, ppoll
is used.
2) When QEMU starts with a