Re: [PATCHv2 06/14] virtio: add api for delayed callbacks

2011-05-20 Thread Rusty Russell
On Fri, 20 May 2011 02:11:14 +0300, "Michael S. Tsirkin" wrote: > Add an API that tells the other side that callbacks > should be delayed until a lot of work has been done. > Implement using the new event_idx feature. > > Note: it might seem advantageous to let the drivers > ask for a callback a

[PATCHv2 06/14] virtio: add api for delayed callbacks

2011-05-19 Thread Michael S. Tsirkin
Add an API that tells the other side that callbacks should be delayed until a lot of work has been done. Implement using the new event_idx feature. Note: it might seem advantageous to let the drivers ask for a callback after a specific capacity has been reached. However, as a single head can free