From: Ian Campbell Subject: Re: [PATCH 08/14] xen: balloon: allow PVMMU interfaces to be compiled out Date: Fri, 5 Oct 2012 15:35:04 +0100 Message-ID: <1349447704.20946.131.camel@zakaz.uk.xensource.com> References: <1349363496.866.49.camel@zakaz.uk.xensource.com> <1349363515-26190-8-git-send-email-ian.campbell@citrix.com> <1349443982.20946.100.camel@zakaz.uk.xensource.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 15:04 +0100, Stefano Stabellini wrote: > On Fri, 5 Oct 2012, Ian Campbell wrote: > > On Fri, 2012-10-05 at 14:19 +0100, Stefano Stabellini wrote: > > > On Thu, 4 Oct 2012, Ian Campbell wrote: > > > > The ARM platform has no concept of PVMMU and therefor no > > > > HYPERVISOR_update_va_mapping et al. Allow this code to be compiled out > > > > when not required. > > > > > > > > Signed-off-by: Ian Campbell > > > > > > I am unsure whether it is worth a new symbol and two ifdef's > > > > ARM doesn't compile without it, since HYPERVISOR_update_va_mapping > > doesn't exist. Do you have a preferable alternative? > > > > I'm not sure how much more of this sort of thing there will be as we > > enable more features on the ARM port. > > #define HYPERVISOR_update_va_mapping(va, new_val, flags) (0) This would mean we need to start defining things like mfn_pte() and __pte_ma() too though, I think. How far do we want to take that? Ian.