Skip to content

Commit

Permalink
xen: Add EVTCHNOP_reset in Xen interface header files.
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
  • Loading branch information
Wei Liu authored and konradwilk committed Dec 18, 2012
1 parent 06d0b5d commit cc31fd9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions include/xen/interface/event_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cc31fd9

Please sign in to comment.