mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
libxencall will provide a stable API and ABI for calling hypercalls (although those hypercalls themselves may not have a stable API). As well as the hypercall buffer infrastructure needed in order to safely provide pointer arguments to hypercalls. libxenctrl encapsulates a instance of this interface, so users of that library are not currently subjected to any actual changes. However all hypercalls made internally by libxc now use the correct interface. It is expected that most users of this library will be other libraries providing a higher level interface, rather than applications directly. Only the basic functionality to allocate hypercall safe memory is moved, the type safe stuff and bounce buffers remain in libxc. Note that the functionality to map foreign pages using privcmd is not yet moved, meaning that an xc_interface will now contain two open privcmd file descriptors. Foreign memory mapping is logically separate functionality and will be moved into its own library. The new library uses a version script to ensure that only expected symbols are exported and to version them such that ABI guarantees can be kept in the future. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Wei Liu <wei.liu2@citrix.com> [ ijc -- updated MINIOS_UPSTREAM_REVISION and QEMU_TRADITIONAL_REVISION ]
20 lines
299 B
Plaintext
20 lines
299 B
Plaintext
VERS_1.0 {
|
|
global:
|
|
xencall_open;
|
|
xencall_close;
|
|
|
|
xencall0;
|
|
xencall1;
|
|
xencall2;
|
|
xencall3;
|
|
xencall4;
|
|
xencall5;
|
|
xencall6;
|
|
|
|
xencall_alloc_buffer;
|
|
xencall_free_buffer;
|
|
xencall_alloc_buffer_pages;
|
|
xencall_free_buffer_pages;
|
|
local: *; /* Do not expose anything by default */
|
|
};
|