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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1276597808 -3600
# Node ID 8375005e6834265765c6cbc8aed6a7a7aac7b7dd
# Parent  3544bdd56c32e2ccf60fc4cc52225da6e49cf33d
VMX: remove an unused EPT macro.

Signed-off-by: Xin Li <xin.li@xxxxxxxxx>
xen-unstable changeset:   21581:d58f053669a6
xen-unstable date:        Thu Jun 10 08:24:48 2010 +0100
---
 xen/arch/x86/hvm/vmx/vmx.c        |    5 -----
 xen/include/asm-x86/hvm/vmx/vmx.h |    2 --
 2 files changed, 7 deletions(-)

diff -r 3544bdd56c32 -r 8375005e6834 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Tue Jun 15 11:29:31 2010 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Tue Jun 15 11:30:08 2010 +0100
@@ -2150,11 +2150,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 3544bdd56c32 -r 8375005e6834 xen/include/asm-x86/hvm/vmx/vmx.h
--- a/xen/include/asm-x86/hvm/vmx/vmx.h Tue Jun 15 11:29:31 2010 +0100
+++ b/xen/include/asm-x86/hvm/vmx/vmx.h Tue Jun 15 11:30:08 2010 +0100
@@ -371,8 +371,6 @@ void ept_walk_table(struct domain *d, un
 #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®.