From: Ian Campbell Subject: Re: [PATCH 11/14] arm: implement remap interfaces needed for privcmd mappings. Date: Fri, 5 Oct 2012 14:42:30 +0100 Message-ID: <1349444550.20946.102.camel@zakaz.uk.xensource.com> References: <1349363496.866.49.camel@zakaz.uk.xensource.com> <1349363515-26190-11-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: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: "xen-devel@lists.xen.org" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Fri, 2012-10-05 at 14:36 +0100, Stefano Stabellini wrote: [... snip dozens of pointless lines -- please trim your quotes...] > > - return -ENOSYS; > > + int err; > > + struct remap_data data; > > + > > + /* TBD: Batching, current sole caller only does page at a time */ > > + if (nr > 1) > > + return -EINVAL; > > It looks like that this implementation of xen_remap_domain_mfn_range is > capable of handling nr > 1, so why this return -EINVAL? Hrm, yes. I think I just blindly copied that from the pvh implementation. [...]