On Thu, Feb 21, 2013 at 02:24:21PM +0100, Paolo Bonzini wrote: > Il 21/02/2013 13:54, Liu Ping Fan ha scritto: > > From: Liu Ping Fan <pingf...@linux.vnet.ibm.com> > > > > When event poll can work with normal fd, we can port them > > onto the event loop. > > Please start transitioning to the AioContext API instead. I doubt there > is any performance difference for 2-3 file descriptors between poll and > epoll, but if there were any we can introduce aio-linux.c that uses epoll. > > I'll send later a patch to use AioContext instead of EventPoll for > virtio-blk dataplane.
Thanks Paolo. Although using AioContext for dataplane's event loop has been on my TODO list I haven't written any code yet - so no duplicated work if you have time to tackle this. Stefan