Il 21/02/2013 22:07, mdroth ha scritto: >> > >> > 100% agree. In particular hw/dataplane/event-poll.c should be the first >> > to go away, but AioContext provides the functionality that Ping Fan >> > needs. But hw/dataplane/vring.c will probably be here for a longer > Has there been any discussion around introducing something similar to > AioContexts for fd handlers? This would avoid the dataplane-specific hooks > needed for NetClients in this series.
AioContext can include file descriptors on POSIX systems (used for NBD and other network backends), see aio_set_fd_handler. Paolo