]> xenbits.xensource.com Git - qemu-upstream-4.2-testing.git/commit
xen: introduce an event channel for buffered io event notifications
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 13 Apr 2012 17:46:01 +0000 (17:46 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 17 Apr 2012 10:12:53 +0000 (10:12 +0000)
commitddb2abf7754fa2f968d4a4a57ff07d345e3c1e37
treeaef3191b9f1f8c04fac651757287f14e991c6236
parenta74b7770924e3825e2d64b85fbf2f927419e513f
xen: introduce an event channel for buffered io event notifications

Use the newly introduced HVM_PARAM_BUFIOREQ_EVTCHN to receive
notifications for buffered io events.
After the first notification is received leave the event channel masked
and setup a timer to process the rest of the batch.
Once we have completed processing the batch, unmask the event channel
and delete the timer.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-all.c