From cc31fd9c4f8fc466ec8488d617150e751f643903 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 13 Dec 2012 15:31:35 +0000 Subject: [PATCH] xen: Add EVTCHNOP_reset in Xen interface header files. Signed-off-by: Wei Liu Signed-off-by: Konrad Rzeszutek Wilk --- include/xen/interface/event_channel.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/xen/interface/event_channel.h b/include/xen/interface/event_channel.h index 2090881c365..f4942921e20 100644 --- a/include/xen/interface/event_channel.h +++ b/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 { -- 2.34.1