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-changelog

[Xen-changelog] [xen-3.4-testing] vmx: Change xen macro name for Intel v

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] vmx: Change xen macro name for Intel vmexit reason 41
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 05 Jun 2009 23:10:16 -0700
Delivery-date: Thu, 11 Jun 2009 08:07:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1244191445 -3600
# Node ID a24e16539384c3de8c614d3212e4b58e4e28a3a5
# Parent  33e7f920f8688a5199fab6ef6ba86c22e7959200
vmx: Change xen macro name for Intel vmexit reason 41

This VMEXIT (reason 41) indicates MCE during a VMENTRY, the old macro
definition is misleading us.

Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>
xen-unstable changeset:   19737:6eff3fe96aff
xen-unstable date:        Fri Jun 05 09:32:03 2009 +0100
---
 xen/arch/x86/hvm/vmx/vmx.c        |    4 ++--
 xen/include/asm-x86/hvm/vmx/vmx.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r 33e7f920f868 -r a24e16539384 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Fri Jun 05 09:41:51 2009 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Fri Jun 05 09:44:05 2009 +0100
@@ -2220,7 +2220,7 @@ static void vmx_failed_vmentry(unsigned 
     case EXIT_REASON_MSR_LOADING:
         printk("caused by MSR entry %ld loading.\n", exit_qualification);
         break;
-    case EXIT_REASON_MACHINE_CHECK:
+    case EXIT_REASON_MCE_DURING_VMENTRY:
         printk("caused by machine check.\n");
         HVMTRACE_0D(MCE);
         do_machine_check(regs);
@@ -2308,7 +2308,7 @@ asmlinkage void vmx_vmexit_handler(struc
         case EXIT_REASON_SIPI:
         case EXIT_REASON_PENDING_VIRT_INTR:
         case EXIT_REASON_PENDING_VIRT_NMI:
-        case EXIT_REASON_MACHINE_CHECK:
+        case EXIT_REASON_MCE_DURING_VMENTRY:
             break;
         default:
             v->arch.hvm_vmx.vmx_emulate = 1;
diff -r 33e7f920f868 -r a24e16539384 xen/include/asm-x86/hvm/vmx/vmx.h
--- a/xen/include/asm-x86/hvm/vmx/vmx.h Fri Jun 05 09:41:51 2009 +0100
+++ b/xen/include/asm-x86/hvm/vmx/vmx.h Fri Jun 05 09:44:05 2009 +0100
@@ -105,7 +105,7 @@ void vmx_update_debug_state(struct vcpu 
 #define EXIT_REASON_MONITOR_TRAP_FLAG   37
 #define EXIT_REASON_MONITOR_INSTRUCTION 39
 #define EXIT_REASON_PAUSE_INSTRUCTION   40
-#define EXIT_REASON_MACHINE_CHECK       41
+#define EXIT_REASON_MCE_DURING_VMENTRY  41
 #define EXIT_REASON_TPR_BELOW_THRESHOLD 43
 #define EXIT_REASON_APIC_ACCESS         44
 #define EXIT_REASON_EPT_VIOLATION       48

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] vmx: Change xen macro name for Intel vmexit reason 41, Xen patchbot-3.4-testing <=