diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-11-28 13:27:32 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-11-28 13:27:32 +0000 |
commit | 83850d485c89973e94552b1300bce0513426d3e0 (patch) | |
tree | 440017d1cc6d15d05c9b9f505c886903b4f44cac /xen/include/xen/event.h | |
parent | c4e83a1484339a709081442f45e40bbc5aa98d0a (diff) | |
download | xen-83850d485c89973e94552b1300bce0513426d3e0.tar.gz xen-83850d485c89973e94552b1300bce0513426d3e0.tar.bz2 xen-83850d485c89973e94552b1300bce0513426d3e0.zip |
x86: add a shared page indicating the need for an EOI notification
To simplify the interface for the guest, when a guest uses this new
(sub-)hypercall, PHYSDEVOP_eoi behavior changes to unmask the
corresponding event channel at once, avoiding the eventual need for a
second hypercall from the guest.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/event.h')
-rw-r--r-- | xen/include/xen/event.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/event.h b/xen/include/xen/event.h index ed3fd0fd20..b366e582a8 100644 --- a/xen/include/xen/event.h +++ b/xen/include/xen/event.h @@ -44,6 +44,9 @@ int evtchn_send(struct domain *d, unsigned int lport); /* Bind a local event-channel port to the specified VCPU. */ long evtchn_bind_vcpu(unsigned int port, unsigned int vcpu_id); +/* Unmask a local event-channel port. */ +int evtchn_unmask(unsigned int port); + /* Allocate/free a Xen-attached event channel port. */ int alloc_unbound_xen_event_channel( struct vcpu *local_vcpu, domid_t remote_domid); |