Re: [Qemu-devel] [PATCH] dataplane: remove EventPoll in favor of AioContext

2013-02-22 Thread Stefan Hajnoczi
On Thu, Feb 21, 2013 at 05:29:55PM +0100, Paolo Bonzini wrote: > The only interesting note is the value-copy of EventNotifiers. At least > in my opinion this is part of the EventNotifier API and is even portable > to Windows. Of course, in this case you should not close the notifier's > underlyin

Re: [Qemu-devel] [PATCH] dataplane: remove EventPoll in favor of AioContext

2013-02-21 Thread Paolo Bonzini
Il 21/02/2013 22:32, mdroth ha scritto: > On Thu, Feb 21, 2013 at 05:29:55PM +0100, Paolo Bonzini wrote: >> During the review of the dataplane code, the EventPoll API morphed itself >> (not concidentially) into something very very similar to an AioContext. >> Thus, it is trivial to convert virtio-b

Re: [Qemu-devel] [PATCH] dataplane: remove EventPoll in favor of AioContext

2013-02-21 Thread mdroth
On Thu, Feb 21, 2013 at 05:29:55PM +0100, Paolo Bonzini wrote: > During the review of the dataplane code, the EventPoll API morphed itself > (not concidentially) into something very very similar to an AioContext. > Thus, it is trivial to convert virtio-blk-dataplane to use AioContext, > and a first