[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/p2m-pt: ignore pt-share flag for shadow mode guests



On 29/09/15 11:52, Jan Beulich wrote:
> There is no page table sharing in shadow mode.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Reviewed-by: George Dunlap <george.dunlap@xxxxxxxxxx>

> ---
> 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);
> 
> 
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.