Joe Epstein
2011-Jan-02 20:49 UTC
[Xen-devel] [PATCH 2 of 5] FIX: mem_access: p2m and ept function changes to propagate access
Hello, For anyone interested in the mem_access patches sent on December 28th, apologies for an error in hand-merging the concurrent changes to the repository into the patch. The following, if applied after patch 2 of 5, will fix the issue. Signed-off-by: Joe Epstein <jepstein98@gmail.com> diff -r 5b4facf64c32 xen/arch/x86/mm/hap/p2m-ept.c --- a/xen/arch/x86/mm/hap/p2m-ept.c Wed Dec 29 16:33:13 2010 -0800 +++ b/xen/arch/x86/mm/hap/p2m-ept.c Sun Jan 02 12:42:10 2011 -0800 @@ -373,7 +373,7 @@ new_entry.ipat = ipat; new_entry.sp = order ? 1 : 0; new_entry.sa_p2mt = p2mt; - ept_entry->access = p2ma; + new_entry.access = p2ma; new_entry.rsvd2_snp = (iommu_enabled && iommu_snoop); if ( new_entry.mfn == mfn_x(mfn) ) @@ -421,7 +421,7 @@ new_entry.ipat = ipat; new_entry.sp = i ? 1 : 0; new_entry.sa_p2mt = p2mt; - ept_entry->access = p2ma; + new_entry.access = p2ma; new_entry.rsvd2_snp = (iommu_enabled && iommu_snoop); if ( new_entry.mfn == mfn_x(mfn) ) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel