tools/libxc: Remove osdep indirection for xc_gnt{shr,tab}
authorIan Campbell <ian.campbell@citrix.com>
Thu, 11 Jun 2015 16:39:00 +0000 (17:39 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 22 Jan 2016 12:21:39 +0000 (12:21 +0000)
commit05e88ac015c03f642d260c2b3ac187f964d6b474
tree92221684a1dc9bf4c95046281b611e6dc5ecb193
parentaae392b46c1d04665b8d903122b5059332ad6903
tools/libxc: Remove osdep indirection for xc_gnt{shr,tab}

The alternative backend (a xen-api/xapi shim) is no longer around and
so this stuff is now just baggage which is getting in the way of
refactoring libxenctrl.

Nested virt probably suffices for this use case now.

It is now necessary to provide explicit versions of things for
platforms which do not implement this functionality, since the osdep
dispatcher cannot fulfil this need any more. These are provided by
appropriate xc_nognt???.c files which are compiled and linked on the
appropriate platforms. In them open and close return failure and
everything else aborts, since if open fails they should never be
called.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/Makefile
tools/libxc/include/xenctrl.h
tools/libxc/include/xenctrlosdep.h
tools/libxc/xc_gnttab.c
tools/libxc/xc_linux_osdep.c
tools/libxc/xc_minios.c
tools/libxc/xc_nogntshr.c [new file with mode: 0644]
tools/libxc/xc_nognttab.c [new file with mode: 0644]
tools/libxc/xc_private.c
tools/libxc/xc_private.h