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

Re: [Xen-devel] [PATCH XEN v7 07/29] tools: Refactor /dev/xen/gnt{dev, shr} wrappers into libxengnttab.



On Wed, 2015-12-16 at 18:40 +0000, Andrew Cooper wrote:
> On 16/12/15 12:31, Ian Campbell wrote:
> > libxengnttab will provide a stable API and ABI for accessing the
> > grant table devices.
> >
> > The functions are moved into the xengnt{tab,shr} namespace to make a
> > clean break from libxc and avoid ambiguity regarding which interfaces
> > are stable.
> >
> > All in-tree users are updated to use the new names.
> >
> > Upon request (via #define XC_WANT_COMPAT_GNTTAB_API) libxenctrl will
> > provide a compat API for the old names. This is used by qemu-xen for
> > the time being. qemu-xen-traditional is updated in lockstep.
> >
> > This leaves a few grant table related functions which go via privcmd
> > (EVTCHNOP) rather than ioctls on the /dev/xen/gnt* devices in
> 
> GNTTABOP presumably?

Uh, yes, I think I may have copied a bit to eagerly from the
libxenevtchn patch description!


> ~Andrew
> 
> > libxenctrl. Specifically:
> >
> >   - xc_gnttab_get_version
> >   - xc_gnttab_map_table_v1
> >   - xc_gnttab_map_table_v2
> >   - xc_gnttab_op
> 

_______________________________________________
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®.