From: "Jan Beulich" Subject: Re: [PATCH 1/2] rename XENMEM_add_to_physmap_{range => batch} (v2) Date: Tue, 07 Jan 2014 12:31:49 +0000 Message-ID: <52CC01C50200007800111167@nat28.tlf.novell.com> References: <52B44E7B020000780010F8BD@nat28.tlf.novell.com> <52B44F3F020000780010F8E9@nat28.tlf.novell.com> <1389097488.31766.142.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1W0Vp7-0003gz-EP for xen-devel@lists.xenproject.org; Tue, 07 Jan 2014 12:31:57 +0000 In-Reply-To: <1389097488.31766.142.camel@kazak.uk.xensource.com> Content-Disposition: inline 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 Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> 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. Jan