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>
This commit is contained in:
Wei Liu 2012-12-13 15:31:35 +00:00 committed by Konrad Rzeszutek Wilk
parent 06d0b5d9ed
commit cc31fd9c4f
1 changed files with 13 additions and 0 deletions

View File

@ -177,6 +177,19 @@ struct evtchn_unmask {
evtchn_port_t port;
};
/*
* EVTCHNOP_reset: Close all event channels associated with specified domain.
* NOTES:
* 1. <dom> 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 {