# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1261121632 0
# Node ID 79b574ce9505c9fb78fc3f979301860e06d965d3
# Parent 583480badbdd83ccc47562039591a0e13e8ff193
guest_walk.c: Remove commented out p2m paging type check code
Signed-off-by: Patrick Colp <Patrick.Colp@xxxxxxxxxx>
---
xen/arch/x86/mm/hap/guest_walk.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff -r 583480badbdd -r 79b574ce9505 xen/arch/x86/mm/hap/guest_walk.c
--- a/xen/arch/x86/mm/hap/guest_walk.c Fri Dec 18 07:33:09 2009 +0000
+++ b/xen/arch/x86/mm/hap/guest_walk.c Fri Dec 18 07:33:52 2009 +0000
@@ -49,8 +49,7 @@ unsigned long hap_gva_to_gfn(GUEST_PAGIN
top_mfn = gfn_to_mfn_unshare(v->domain, cr3 >> PAGE_SHIFT, &p2mt, 0);
if ( p2m_is_paging(p2mt) )
{
-// if ( p2m_is_paged(p2mt) )
- p2m_mem_paging_populate(v->domain, cr3 >> PAGE_SHIFT);
+ p2m_mem_paging_populate(v->domain, cr3 >> PAGE_SHIFT);
pfec[0] = PFEC_page_paged;
return INVALID_GFN;
@@ -82,8 +81,7 @@ unsigned long hap_gva_to_gfn(GUEST_PAGIN
gfn_to_mfn_unshare(v->domain, gfn_x(gfn), &p2mt, 0);
if ( p2m_is_paging(p2mt) )
{
-// if ( p2m_is_paged(p2mt) )
- p2m_mem_paging_populate(v->domain, gfn_x(gfn));
+ p2m_mem_paging_populate(v->domain, gfn_x(gfn));
pfec[0] = PFEC_page_paged;
return INVALID_GFN;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|