]> git.proxmox.com Git - mirror_qemu.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>
Fri, 13 Apr 2012 17:46:01 +0000 (17:46 +0000)
commitfda1f7684935ae7290c8a31e3ba9fdb30eead4ed
tree7f0fb3db658aca7ab36bcadccc93f1cfdeb0c9cc
parent852a7cec90f12516eb335bb29ed1398c2f0b7c2c
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