|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH][VT] No DISALLOW pte bit check for VMX domain,
Li, Chengyuan <=
|
|
|
|
|