]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commit
xen: introduce an event channel for buffered io event notifications
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 3 Apr 2012 14:42:39 +0000 (15:42 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 3 Apr 2012 14:42:39 +0000 (15:42 +0100)
commita5af89a7d40dee39a8836b03504f4076573b26bf
tree0974c65f76929a697c1cfde4aa6980cba3159463
parentf0fad5549f8103fc0130d3121eb5f7913c5bc2a9
xen: introduce an event channel for buffered io event notifications

Use the newly [November 2011] 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>
i386-dm/helper2.c