From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH XEN v7 07/29] tools: Refactor /dev/xen/gnt{dev, shr} wrappers into libxengnttab. Date: Wed, 16 Dec 2015 18:40:59 +0000 Message-ID: <5671B03B.2050007@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1450269096-27598-8-git-send-email-ian.campbell@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: Ian Campbell , ian.jackson@eu.citrix.com, wei.liu2@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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? ~Andrew > libxenctrl. Specifically: > > - xc_gnttab_get_version > - xc_gnttab_map_table_v1 > - xc_gnttab_map_table_v2 > - xc_gnttab_op