WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] remove an EPT macro
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] remove an EPT macro, Li, Xin <=