diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-06 16:07:52 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-06 16:07:52 +0100 |
commit | c804adf4b64a5755c885b681c32591d2e67aa636 (patch) | |
tree | 618b3e8823bd2cbbba9091988dab2c4ab102cf7c /tools/debugger | |
parent | 0c6f366280979dae46309b894d21b2c99fa5e816 (diff) | |
download | xen-c804adf4b64a5755c885b681c32591d2e67aa636.tar.gz xen-c804adf4b64a5755c885b681c32591d2e67aa636.tar.bz2 xen-c804adf4b64a5755c885b681c32591d2e67aa636.zip |
Change how event channels are allocated and used by the control
tools. /dev/xen/evtchn is now used by daemons to connect to
remote domains: the advantage is that the local ports are garbage
collected automatically if the daemon dies. xen no longer
constructs end-to-end event-channel port pairs -- it allocates an
unbound port in new domU and writes that port to xenstore. It is
then picked up by teh appropriate daemon which does interdomain bind
via /dev/xen/evtchn.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/debugger')
-rw-r--r-- | tools/debugger/pdb/pdb_xen.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/debugger/pdb/pdb_xen.c b/tools/debugger/pdb/pdb_xen.c index e89f364f61..b2c994c188 100644 --- a/tools/debugger/pdb/pdb_xen.c +++ b/tools/debugger/pdb/pdb_xen.c @@ -43,11 +43,7 @@ pdb_close (int xc_handle) #include <sys/ioctl.h> - -/* /dev/xen/evtchn ioctls */ -#define EVTCHN_RESET _IO('E', 1) /* clear & reinit buffer */ -#define EVTCHN_BIND _IO('E', 2) /* bind to event channel */ -#define EVTCHN_UNBIND _IO('E', 3) /* unbind from event channel */ +#include <xen/linux/evtchn.h> int xen_evtchn_bind (int evtchn_fd, int idx) |