[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH XEN v4 09/23] tools: Refactor hypercall calling wrappers into libxencall.



On Wed, Oct 21, 2015 at 04:23:16PM +0100, Ian Campbell wrote:
> 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@xxxxxxxxxx>

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.