From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH XEN v7 07/29] tools: Refactor /dev/xen/gnt{dev, shr} wrappers into libxengnttab. Date: Thu, 17 Dec 2015 08:37:15 +0000 Message-ID: <1450341435.1617.84.camel@citrix.com> References: <1450269007.4053.48.camel@citrix.com> <1450269096-27598-1-git-send-email-ian.campbell@citrix.com> <1450269096-27598-8-git-send-email-ian.campbell@citrix.com> <5671B03B.2050007@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5671B03B.2050007@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , ian.jackson@eu.citrix.com, wei.liu2@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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 >