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

[Xen-devel] [PATCH][VT] No DISALLOW pte bit check for VMX domain


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Li, Chengyuan" <chengyuan.li@xxxxxxxxx>
  • Date: Mon, 12 Sep 2005 15:05:27 +0800
  • Delivery-date: Mon, 12 Sep 2005 07:03:27 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcW3aFqiO4Ank/PBRCa8WZR1RuYuUQ==
  • Thread-topic: [PATCH][VT] No DISALLOW pte bit check for VMX domain

Hi,

VMX domain don't need DISALLOW pte bit checking.

Signed-off-by: Chengyuan Li <chengyuan.li@xxxxxxxxx>     

diff -r 51fa7e0bd968 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Sat Sep 10 03:34:52 2005
+++ b/xen/arch/x86/mm.c Mon Sep 12 13:48:10 2005
@@ -442,7 +442,7 @@
     if ( !(l1e_get_flags(l1e) & _PAGE_PRESENT) )
         return 1;

-    if ( unlikely(l1e_get_flags(l1e) & L1_DISALLOW_MASK) )
+    if ( !shadow_mode_refcounts(d) && unlikely(l1e_get_flags(l1e) &
L1_DISALLOW_MASK) )
     {
         MEM_LOG("Bad L1 flags %x", l1e_get_flags(l1e) &
L1_DISALLOW_MASK);
         return 0;

Thanks,
Chengyuan


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


 


Rackspace

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