From: Wei Liu Subject: Re: [PATCH XEN v4 11/23] tools: Remove xc_map_foreign_batch Date: Thu, 29 Oct 2015 16:28:34 +0000 Message-ID: <20151029162834.GC18674@zion.uk.xensource.com> References: <1445440941.9563.163.camel@citrix.com> <1445441010-25776-1-git-send-email-ian.campbell@citrix.com> <1445441010-25776-12-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1445441010-25776-12-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 Cc: George Dunlap , wei.liu2@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Oct 21, 2015 at 04:23:18PM +0100, Ian Campbell wrote: > It can trivially be replaced by xc_map_foreign_bulk which is the > interface I want to move to going forward. All in tree users are > trivially converted by supplying the appropriate error array and > adjusting the what error handling exists (which in many cases is not > much). > > This reduces the twist maze of xc_map_foreign_* by one, which will be > useful when trying to come up with an underlying stable interface. > > NetBSD and Solaris implemented xc_map_foreign_bulk in terms of > xc_map_foreign_batch via a compat layer, so xc_map_foreign_batch > becomes an internal osdep for them. New OS ports should always > implement xc_map_foreign_bulk instead. > > Signed-off-by: Ian Campbell > Acked-by: George Dunlap > Cc: George Dunlap Acked-by: Wei Liu