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

[Xen-devel] [PATCH] remove an EPT macro


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Li, Xin" <xin.li@xxxxxxxxx>
  • Date: Wed, 9 Jun 2010 23:15:17 +0800
  • Accept-language: zh-CN, en-US
  • Acceptlanguage: zh-CN, en-US
  • Delivery-date: Wed, 09 Jun 2010 08:16:01 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcsH5pFCt6+436CdSzCVtNzK39ha/w==
  • Thread-topic: [PATCH] remove an EPT macro

VMX: remove an EPT macro.

Signed-off-by: Xin Li <xin.li@xxxxxxxxx>

diff -r 65b27a094ec8 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Wed Jun 09 14:38:30 2010 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Wed Jun 09 02:39:25 2010 -0700
@@ -2159,11 +2159,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 65b27a094ec8 xen/include/asm-x86/hvm/vmx/vmx.h
--- a/xen/include/asm-x86/hvm/vmx/vmx.h Wed Jun 09 14:38:30 2010 +0100
+++ b/xen/include/asm-x86/hvm/vmx/vmx.h Wed Jun 09 02:39:25 2010 -0700
@@ -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

Attachment: remove_unused_ept_macro.patch
Description: remove_unused_ept_macro.patch

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