Michael S. Tsirkin wrote:
But I don't understand how aio will make implementing it easier -
or are you merely saying that it will make it worthwhile?
If you have aio, the the NIC and the guest proceed in parallel. If the
guest is faster (likely), then when it sends the next packet it will see
that interrupts are disabled and not notify again. Once aio complete we
can recheck the queue; if it's empty we reenable notifications. If
there's still stuff in it we submit it with notifications disabled.
--
error compiling committee.c: too many arguments to function