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

[Xen-changelog] [xen-unstable] VMX: remove an unused EPT macro.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1276154688 -3600
# Node ID d58f053669a64abbc79d6cf84e86ecf9173cd51c
# Parent  f70c8a65653c589e283d4100232e28d697b109c6
VMX: remove an unused EPT macro.

Signed-off-by: Xin Li <xin.li@xxxxxxxxx>
---
 xen/arch/x86/hvm/vmx/vmx.c        |    5 -----
 xen/include/asm-x86/hvm/vmx/vmx.h |    2 --
 2 files changed, 7 deletions(-)

diff -r f70c8a65653c -r d58f053669a6 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Thu Jun 10 08:24:07 2010 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Thu Jun 10 08:24:48 2010 +0100
@@ -2147,11 +2147,6 @@ static void ept_handle_violation(unsigne
         gdprintk(XENLOG_ERR, " --- GLA %#lx\n", gla);
     }
 
-    if ( qualification & EPT_GAW_VIOLATION )
-        gdprintk(XENLOG_ERR, " --- GPA too wide (max %u bits)\n", 
-                 9 * (unsigned int)current->domain->arch.hvm_domain.
-                 vmx.ept_control.gaw + 21);
-
     domain_crash(current->domain);
 }
 
diff -r f70c8a65653c -r d58f053669a6 xen/include/asm-x86/hvm/vmx/vmx.h
--- a/xen/include/asm-x86/hvm/vmx/vmx.h Thu Jun 10 08:24:07 2010 +0100
+++ b/xen/include/asm-x86/hvm/vmx/vmx.h Thu Jun 10 08:24:48 2010 +0100
@@ -372,8 +372,6 @@ void setup_ept_dump(void);
 #define EPT_EFFECTIVE_WRITE         (1UL<<_EPT_EFFECTIVE_WRITE)
 #define _EPT_EFFECTIVE_EXEC         5
 #define EPT_EFFECTIVE_EXEC          (1UL<<_EPT_EFFECTIVE_EXEC)
-#define _EPT_GAW_VIOLATION          6
-#define EPT_GAW_VIOLATION           (1UL<<_EPT_GAW_VIOLATION)
 #define _EPT_GLA_VALID              7
 #define EPT_GLA_VALID               (1UL<<_EPT_GLA_VALID)
 #define _EPT_GLA_FAULT              8

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