diff options
author | Wei Liu <wei.liu2@citrix.com> | 2012-12-13 10:31:35 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-12-17 21:58:05 -0500 |
commit | cc31fd9c4f8fc466ec8488d617150e751f643903 (patch) | |
tree | 6d7586daca7caf037b584c27d409cc0a94a8c9f0 | |
parent | 06d0b5d9edcecccab45588a472cd34af2608e665 (diff) |
xen: Add EVTCHNOP_reset in Xen interface header files.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r-- | include/xen/interface/event_channel.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/xen/interface/event_channel.h b/include/xen/interface/event_channel.h index 2090881c3650..f4942921e202 100644 --- a/include/xen/interface/event_channel.h +++ b/include/xen/interface/event_channel.h | |||
@@ -177,6 +177,19 @@ struct evtchn_unmask { | |||
177 | evtchn_port_t port; | 177 | evtchn_port_t port; |
178 | }; | 178 | }; |
179 | 179 | ||
180 | /* | ||
181 | * EVTCHNOP_reset: Close all event channels associated with specified domain. | ||
182 | * NOTES: | ||
183 | * 1. <dom> may be specified as DOMID_SELF. | ||
184 | * 2. Only a sufficiently-privileged domain may specify other than DOMID_SELF. | ||
185 | */ | ||
186 | #define EVTCHNOP_reset 10 | ||
187 | struct evtchn_reset { | ||
188 | /* IN parameters. */ | ||
189 | domid_t dom; | ||
190 | }; | ||
191 | typedef struct evtchn_reset evtchn_reset_t; | ||
192 | |||
180 | struct evtchn_op { | 193 | struct evtchn_op { |
181 | uint32_t cmd; /* EVTCHNOP_* */ | 194 | uint32_t cmd; /* EVTCHNOP_* */ |
182 | union { | 195 | union { |