From: Ian Campbell Subject: Re: Patches for v3.8 Date: Thu, 29 Nov 2012 11:51:27 +0000 Message-ID: <1354189887.25834.158.camel@zakaz.uk.xensource.com> References: <20121127213143.GB13890@phenom.dumpdata.com> <50B5D83402000078000ABFF1@nat28.tlf.novell.com> <20121128142521.GB21266@phenom.dumpdata.com> <1354113142.25834.34.camel@zakaz.uk.xensource.com> <20121128144416.GD21266@phenom.dumpdata.com> <1354118438.25834.40.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: <1354118438.25834.40.camel@zakaz.uk.xensource.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: Konrad Rzeszutek Wilk Cc: Stefano Stabellini , Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2012-11-28 at 16:00 +0000, Ian Campbell wrote: > I'll take a look over the next couple of days. Just looking into this now and in konrad/stable/pvh.v6:arch/x86/xen/mmu.c in xen_remap_domain_mfn_range we have: if (xen_feature(XENFEAT_auto_translated_physmap)) return -EINVAL; ... if (xen_feature(XENFEAT_auto_translated_physmap)) { /* We need to update the local page tables and the xen HAP */ return pvh_remap_gmfn_range(vma, addr, mfn, nr, prot, domid, pages); } So it seems like the second one will never be reached... AFAICT this was already the case when support was added in de81067d4ef5b434b47f63e11448b3b09cfc0b5e. Ian.