]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
tools: rename libxc's evtchn_port_or_error_t with an xc_ prefix
authorIan Campbell <ian.campbell@citrix.com>
Mon, 25 Jan 2016 17:10:48 +0000 (17:10 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 25 Jan 2016 17:21:24 +0000 (17:21 +0000)
commit2d2f7895774a5ecb1600fd18f147fc7e1a515c38
tree6092e1c838756b93f1a8ec175bd404b95043301e
parent84e0616a50f3799cdd5ae41e40b236390cb6b860
tools: rename libxc's evtchn_port_or_error_t with an xc_ prefix

This is used only for xc_evtchn_alloc_unbound and the legacy/compat
versions of the old interfaces and avoids redefining the typedef. The
evtchn_port_or_error_t name is now used only be libxenevtchn.

None of the callers of xc_evtchn_alloc_unbound use the type
themselves.

NB xc_evtchn_alloc_unbound differs from xc_evtchn_bind_unbound_port
and the underlying xenevtchn_bind_unbound_port in that it allows the
specification of the local domain rather than assuming self. This is
only useful during domain build.

Reported-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/include/xenctrl_compat.h
tools/libxc/xc_evtchn.c