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

[Xen-changelog] Fix debug build that was broken by recent shadow pagetable checkin.



# HG changeset patch
# User iap10@xxxxxxxxxxxxxxxxxxxx
# Node ID ce018d2730c037b9d8e1a60c56328aebca5bfc48
# Parent  a1de77c1486c5f35884e9f578b7f33b6bd75c362
Fix debug build that was broken by recent shadow pagetable checkin.
Signed-off-by: ian@xxxxxxxxxxxxx

diff -r a1de77c1486c -r ce018d2730c0 xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c     Sat Sep  3 01:36:29 2005
+++ b/xen/arch/x86/shadow.c     Sat Sep  3 16:33:53 2005
@@ -531,7 +531,7 @@
     int i, init_table = 0;
 
     __guest_get_l2e(v, va, &gl2e);
-    ASSERT(l2e_get_flags(gl2e) & _PAGE_PRESENT);
+    ASSERT(guest_l2e_get_flags(gl2e) & _PAGE_PRESENT);
     gl1pfn = l2e_get_pfn(gl2e);
 
     if ( !(sl1mfn = __shadow_status(d, gl1pfn, PGT_l1_shadow)) )
@@ -1664,7 +1664,7 @@
         return 0;
     }
 
-    ASSERT(l1e_get_flags(gpte) & _PAGE_RW);
+    ASSERT(guest_l1e_get_flags(gpte) & _PAGE_RW);
     guest_l1e_add_flags(gpte, _PAGE_DIRTY | _PAGE_ACCESSED);
     spte = l1e_from_pfn(gmfn, guest_l1e_get_flags(gpte) & ~_PAGE_GLOBAL);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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