diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-19 17:20:57 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-19 17:20:57 +0000 |
commit | 115209d91bcd3734ddaaf58a4a1cdbb4c44cd4fa (patch) | |
tree | 2b6454a5f05e6cede6689265f3d28782412a8c3e /xen/include/public/event_channel.h | |
parent | f272b206703b3e8c5f12683475976dd77e5ecbf7 (diff) | |
download | xen-115209d91bcd3734ddaaf58a4a1cdbb4c44cd4fa.tar.gz xen-115209d91bcd3734ddaaf58a4a1cdbb4c44cd4fa.tar.bz2 xen-115209d91bcd3734ddaaf58a4a1cdbb4c44cd4fa.zip |
[XEN] New event-channel reset operation.
Plumbed through libxenctrl to python.
From: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/public/event_channel.h')
-rw-r--r-- | xen/include/public/event_channel.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xen/include/public/event_channel.h b/xen/include/public/event_channel.h index 62cf764040..d35cce53e4 100644 --- a/xen/include/public/event_channel.h +++ b/xen/include/public/event_channel.h @@ -217,6 +217,19 @@ struct evtchn_unmask { typedef struct evtchn_unmask evtchn_unmask_t; /* + * 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; + +/* * Argument to event_channel_op_compat() hypercall. Superceded by new * event_channel_op() hypercall since 0x00030202. */ |