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

[Xen-changelog] Fix another bug introduced in the shadow code with the new page table entry macros.



ChangeSet 1.1361, 2005/04/21 21:17:39+01:00, maf46@xxxxxxxxxxxxxxxxx

        Fix another bug introduced in the shadow code with the new page table 
entry macros.
        
        Signed-off-by: michael.fetterman@xxxxxxxxxxxx



 shadow.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/xen/arch/x86/shadow.c b/xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c     2005-04-21 21:07:23 -04:00
+++ b/xen/arch/x86/shadow.c     2005-04-21 21:07:23 -04:00
@@ -2456,7 +2456,7 @@
      * STEP 2. Check the guest PTE.
      */
     __guest_get_l2e(ed, va, &gpde);
-    if ( unlikely(!(l1e_get_flags(gpte) & _PAGE_PRESENT)) )
+    if ( unlikely(!(l2e_get_flags(gpde) & _PAGE_PRESENT)) )
     {
         SH_VVLOG("shadow_fault - EXIT: L1 not present" );
         perfc_incrc(shadow_fault_bail_pde_not_present);

_______________________________________________
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®.