From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH] x86/p2m-pt: ignore pt-share flag for shadow mode guests Date: Tue, 29 Sep 2015 11:55:08 +0100 Message-ID: <560A6E0C.7080506@citrix.com> References: <560A898702000078000A68F8@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZgsZN-0004pn-4v for xen-devel@lists.xenproject.org; Tue, 29 Sep 2015 10:55:37 +0000 In-Reply-To: <560A898702000078000A68F8@prv-mh.provo.novell.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: Jan Beulich , xen-devel Cc: George Dunlap , Andrew Cooper , Wei Liu List-Id: xen-devel@lists.xenproject.org On 29/09/15 11:52, Jan Beulich wrote: > There is no page table sharing in shadow mode. > > Signed-off-by: Jan Beulich Reviewed-by: George Dunlap > --- > This was split out from a previously submitted patch. > > --- a/xen/arch/x86/mm/p2m-pt.c > +++ b/xen/arch/x86/mm/p2m-pt.c > @@ -645,7 +646,7 @@ p2m_pt_set_entry(struct p2m_domain *p2m, > > if ( iommu_enabled && need_iommu(p2m->domain) ) > { > - if ( iommu_hap_pt_share ) > + if ( iommu_use_hap_pt(p2m->domain) ) > { > if ( old_mfn && (old_mfn != mfn_x(mfn)) ) > amd_iommu_flush_pages(p2m->domain, gfn, page_order); > > >