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

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



ChangeSet 1.1359, 2005/04/21 20:13:59+01:00, maf46@xxxxxxxxxxxxxxxxx

        Fix 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:06:50 -04:00
+++ b/xen/arch/x86/shadow.c     2005-04-21 21:06:50 -04:00
@@ -2387,7 +2387,7 @@
         l1_pgentry_t *ppte = map_domain_mem(entry->writable_pl1e);
         l1_pgentry_t opte = *ppte;
         l1_pgentry_t npte = opte;
-        l1e_remove_flags(&opte, _PAGE_RW);
+        l1e_remove_flags(&npte, _PAGE_RW);
 
         if ( (l1e_get_flags(npte) & _PAGE_PRESENT) &&
              !shadow_get_page_from_l1e(npte, d) )

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