diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-05 19:14:13 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-05 19:14:13 +0100 |
commit | 0f742e92ea9ea37b9883310e3d9f0ac04704813c (patch) | |
tree | 93bbcc2ca649094ecbd022f0dfe235bb67f37820 /xen/include/public/event_channel.h | |
parent | a00e0c297c90a31b6a1ba56d8e97fcee45918745 (diff) | |
download | xen-0f742e92ea9ea37b9883310e3d9f0ac04704813c.tar.gz xen-0f742e92ea9ea37b9883310e3d9f0ac04704813c.tar.bz2 xen-0f742e92ea9ea37b9883310e3d9f0ac04704813c.zip |
EVTCHNOP_alloc_unbound can allocate a port in an arbitrary
domain (only if the caller is sufficiently privileged).
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 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xen/include/public/event_channel.h b/xen/include/public/event_channel.h index 443be607f8..37efd85af3 100644 --- a/xen/include/public/event_channel.h +++ b/xen/include/public/event_channel.h @@ -10,14 +10,16 @@ #define __XEN_PUBLIC_EVENT_CHANNEL_H__ /* - * EVTCHNOP_alloc_unbound: Prepare a local port for binding to <dom>. - * <port> may be wildcarded by setting to zero, in which case a fresh port - * will be allocated, and the field filled in on return. + * EVTCHNOP_alloc_unbound: Allocate a port in <dom> for later binding to + * <remote_dom>. <port> may be wildcarded by setting to zero, in which case a + * fresh port will be allocated, and the field filled in on return. + * NOTES: + * 1. If the caller is unprivileged then <dom> must be DOMID_SELF. */ #define EVTCHNOP_alloc_unbound 6 typedef struct evtchn_alloc_unbound { /* IN parameters */ - domid_t dom; + domid_t dom, remote_dom; /* IN/OUT parameters */ u32 port; } evtchn_alloc_unbound_t; |