From e9cfc480075e26e4122adf69039997f34cc1315a Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 13 Dec 2012 15:31:35 +0000 Subject: [PATCH] --- yaml --- r: 346890 b: refs/heads/master c: cc31fd9c4f8fc466ec8488d617150e751f643903 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/xen/interface/event_channel.h | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4bd24dc9b7d6..6b3e259d9642 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 06d0b5d9edcecccab45588a472cd34af2608e665 +refs/heads/master: cc31fd9c4f8fc466ec8488d617150e751f643903 diff --git a/trunk/include/xen/interface/event_channel.h b/trunk/include/xen/interface/event_channel.h index 2090881c3650..f4942921e202 100644 --- a/trunk/include/xen/interface/event_channel.h +++ b/trunk/include/xen/interface/event_channel.h @@ -177,6 +177,19 @@ struct evtchn_unmask { evtchn_port_t port; }; +/* + * EVTCHNOP_reset: Close all event channels associated with specified domain. + * NOTES: + * 1. may be specified as DOMID_SELF. + * 2. Only a sufficiently-privileged domain may specify other than DOMID_SELF. + */ +#define EVTCHNOP_reset 10 +struct evtchn_reset { + /* IN parameters. */ + domid_t dom; +}; +typedef struct evtchn_reset evtchn_reset_t; + struct evtchn_op { uint32_t cmd; /* EVTCHNOP_* */ union {