Re: [RFC 04/11] aio-posix: integrate fdmon into glib event loop

2025-05-28 Thread Eric Blake
On Wed, May 28, 2025 at 03:09:09PM -0400, Stefan Hajnoczi wrote: > AioContext's glib integration only supports ppoll(2) file descriptor > monitoring. epoll(7) and io_uring(7) disable themselves and switch back > to ppoll(2) when the glib event loop is used. The main loop thread > cannot use epoll(7

[RFC 04/11] aio-posix: integrate fdmon into glib event loop

2025-05-28 Thread Stefan Hajnoczi
AioContext's glib integration only supports ppoll(2) file descriptor monitoring. epoll(7) and io_uring(7) disable themselves and switch back to ppoll(2) when the glib event loop is used. The main loop thread cannot use epoll(7) or io_uring(7) because it always uses the glib event loop. Future QEMU