From: Ian Campbell Subject: Re: [PATCH 1/2] rename XENMEM_add_to_physmap_{range => batch} (v2) Date: Tue, 7 Jan 2014 13:05:29 +0000 Message-ID: <1389099929.31766.153.camel@kazak.uk.xensource.com> References: <52B44E7B020000780010F8BD@nat28.tlf.novell.com> <52B44F3F020000780010F8E9@nat28.tlf.novell.com> <1389097488.31766.142.camel@kazak.uk.xensource.com> <52CC01C50200007800111167@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1W0WLi-00065t-CF for xen-devel@lists.xenproject.org; Tue, 07 Jan 2014 13:05:38 +0000 In-Reply-To: <52CC01C50200007800111167@nat28.tlf.novell.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: Jan Beulich Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Tue, 2014-01-07 at 12:31 +0000, Jan Beulich wrote: > >>> On 07.01.14 at 13:24, Ian Campbell wrote: > > On Fri, 2013-12-20 at 13:07 +0000, Jan Beulich wrote: > >> The use of "range" here wasn't really correct - there are no ranges > >> involved. As the comment in the public header already correctly said, > >> all this is about is batching of XENMEM_add_to_physmap calls (with > >> the addition of having a way to specify a foreign domain for > >> XENMAPSPACE_gmfn_foreign). > >> > >> Suggested-by: Ian Campbell > >> Signed-off-by: Jan Beulich > >> Acked-by: Ian Campbell > > > > Were you targeting this one at 4.4? > > Yes, so that the old form of it doesn't go into wide spread use. > Also implied by ... > > >> +#if __XEN_INTERFACE_VERSION__ < 0x00040400 > >> +#define XENMEM_add_to_physmap_range XENMEM_add_to_physmap_batch > >> +#define xen_add_to_physmap_range xen_add_to_physmap_batch > >> +typedef struct xen_add_to_physmap_batch xen_add_to_physmap_range_t; > >> +DEFINE_XEN_GUEST_HANDLE(xen_add_to_physmap_range_t); > >> +#endif > > ... the conditional here. Yes, that's what I inferred. So if you need a release Ack then I think you can have one from me in George's absence. The risk is basically build breakage which should be trivially caught and the benefit is not exposing a broken API in the new release. Ian.