On Thu, Feb 21, 2013 at 06:05:44PM +0100, Paolo Bonzini wrote: > Il 21/02/2013 17:33, Stefan Hajnoczi ha scritto: > > Interesting patch series. I want to share my thoughts on the status of > > dataplane and what I'm currently working on. There will probably be > > some overlap that we can coordinate. > > > > First, I want to eventually delete hw/dataplane/ :). That is because > > dataplane duplicates an event loop, thread-friendly guest RAM access, > > and virtio. QEMU already has all this functionality except it's not > > thread-friendly. > > > > Because hw/dataplane/ will eventually go away we should avoid adding new > > code where possible. > > 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.