]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
xen: Add EVTCHNOP_reset in Xen interface header files.
authorWei Liu <wei.liu2@citrix.com>
Thu, 13 Dec 2012 15:31:35 +0000 (15:31 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 18 Dec 2012 02:58:05 +0000 (21:58 -0500)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
include/xen/interface/event_channel.h

index 2090881c3650f57e3808f12d4743e1dbb8f1c93a..f4942921e20206743cdfd2c838bd9401f21c2848 100644 (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 {