diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-01 14:25:36 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-01 14:25:36 +0000 |
commit | fcad36eb8028ea9f480d0361dc2cd2efe7fbe668 (patch) | |
tree | b4d642ea6bc6b8361a8cc62f10777fd6912bd33c /tools/libxc/xc_solaris.c | |
parent | 2aba25fee2273946a15c8766cb252808c6f60f99 (diff) | |
download | xen-fcad36eb8028ea9f480d0361dc2cd2efe7fbe668.tar.gz xen-fcad36eb8028ea9f480d0361dc2cd2efe7fbe668.tar.bz2 xen-fcad36eb8028ea9f480d0361dc2cd2efe7fbe668.zip |
[LIBXC] Add new AP{I function xc_evtchn_bind_unbound_port().
Add a comment clarifying how this function differs from
xc_evtchn_alloc_unbound().
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_solaris.c')
-rw-r--r-- | tools/libxc/xc_solaris.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/libxc/xc_solaris.c b/tools/libxc/xc_solaris.c index 902de64fa4..889db6396d 100644 --- a/tools/libxc/xc_solaris.c +++ b/tools/libxc/xc_solaris.c @@ -165,6 +165,15 @@ int xc_evtchn_notify(int xce_handle, evtchn_port_t port) return ioctl(xce_handle, IOCTL_EVTCHN_NOTIFY, ¬ify); } +evtchn_port_t xc_evtchn_bind_unbound_port(int xce_handle, int domid) +{ + struct ioctl_evtchn_bind_unbound_port bind; + + bind.remote_domain = domid; + + return ioctl(xce_handle, IOCTL_EVTCHN_BIND_UNBOUND_PORT, &bind); +} + evtchn_port_t xc_evtchn_bind_interdomain(int xce_handle, int domid, evtchn_port_t remote_port) { |