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] xenalyze: Add more vmx vmexit reasons

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xenalyze: Add more vmx vmexit reasons
From: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Date: Tue, 7 Dec 2010 17:33:22 +0000
Cc: george.dunlap@xxxxxxxxxxxxx
Delivery-date: Tue, 07 Dec 2010 09:34:51 -0800
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
User-agent: Mercurial-patchbomb/1.4.3
Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

diff -r d8690ca24f39 -r ea6076da8918 xenalyze.c
--- a/xenalyze.c        Wed Dec 01 09:52:58 2010 +0000
+++ b/xenalyze.c        Tue Dec 07 17:32:49 2010 +0000
@@ -477,15 +477,22 @@
 /* VMX data */
 #define EXIT_REASON_EXCEPTION_NMI       0
 #define EXIT_REASON_EXTERNAL_INTERRUPT  1
-
+#define EXIT_REASON_TRIPLE_FAULT        2
+#define EXIT_REASON_INIT                3
+#define EXIT_REASON_SIPI                4
+#define EXIT_REASON_IO_SMI              5
+#define EXIT_REASON_OTHER_SMI           6
 #define EXIT_REASON_PENDING_INTERRUPT   7
-
+#define EXIT_REASON_PENDING_VIRT_NMI    8
 #define EXIT_REASON_TASK_SWITCH         9
 #define EXIT_REASON_CPUID               10
+#define EXIT_REASON_GETSEC              11
 #define EXIT_REASON_HLT                 12
+#define EXIT_REASON_INVD                13
 #define EXIT_REASON_INVLPG              14
 #define EXIT_REASON_RDPMC               15
 #define EXIT_REASON_RDTSC               16
+#define EXIT_REASON_RSM                 17
 #define EXIT_REASON_VMCALL              18
 #define EXIT_REASON_VMCLEAR             19
 #define EXIT_REASON_VMLAUNCH            20
@@ -501,29 +508,48 @@
 #define EXIT_REASON_IO_INSTRUCTION      30
 #define EXIT_REASON_MSR_READ            31
 #define EXIT_REASON_MSR_WRITE           32
+#define EXIT_REASON_INVALID_GUEST_STATE 33
+#define EXIT_REASON_MSR_LOADING         34
 #define EXIT_REASON_MWAIT_INSTRUCTION   36
+#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_TPR_BELOW_THRESHOLD 43
 #define EXIT_REASON_APIC_ACCESS         44
+#define EXIT_REASON_ACCESS_GDTR_OR_IDTR 46
+#define EXIT_REASON_ACCESS_LDTR_OR_TR   47
 #define EXIT_REASON_EPT_VIOLATION       48
 #define EXIT_REASON_EPT_MISCONFIG       49
+#define EXIT_REASON_INVEPT              50
+#define EXIT_REASON_RDTSCP              51
+#define EXIT_REASON_VMX_PREEMPTION_TIMER_EXPIRED 52
+#define EXIT_REASON_INVVPID             53
 #define EXIT_REASON_WBINVD              54
-
-#define HVM_VMX_EXIT_REASON_MAX (EXIT_REASON_WBINVD+1)
+#define EXIT_REASON_XSETBV              55
+
+#define HVM_VMX_EXIT_REASON_MAX (EXIT_REASON_XSETBV+1)
 
 char * hvm_vmx_exit_reason_name[HVM_VMX_EXIT_REASON_MAX] = {
     [0] = "NONE",
        [EXIT_REASON_EXCEPTION_NMI]="EXCEPTION_NMI",
        [EXIT_REASON_EXTERNAL_INTERRUPT]="EXTERNAL_INTERRUPT",
+       [EXIT_REASON_TRIPLE_FAULT]="TRIPLE_FAULT",
+       [EXIT_REASON_INIT]="INIT",
+       [EXIT_REASON_SIPI]="SIPI",
+       [EXIT_REASON_IO_SMI]="IO_SMI",
+       [EXIT_REASON_OTHER_SMI]="OTHER_SMI",
        [EXIT_REASON_PENDING_INTERRUPT]="PENDING_INTERRUPT",
+       [EXIT_REASON_PENDING_VIRT_NMI]="PENDING_VIRT_NMI",
        [EXIT_REASON_TASK_SWITCH]="TASK_SWITCH",
        [EXIT_REASON_CPUID]="CPUID",
+       [EXIT_REASON_GETSEC]="GETSEC",
        [EXIT_REASON_HLT]="HLT",
+       [EXIT_REASON_INVD]="INVD",
        [EXIT_REASON_INVLPG]="INVLPG",
        [EXIT_REASON_RDPMC]="RDPMC",
        [EXIT_REASON_RDTSC]="RDTSC",
+       [EXIT_REASON_RSM]="RSM",
        [EXIT_REASON_VMCALL]="VMCALL",
        [EXIT_REASON_VMCLEAR]="VMCLEAR",
        [EXIT_REASON_VMLAUNCH]="VMLAUNCH",
@@ -539,14 +565,22 @@
        [EXIT_REASON_IO_INSTRUCTION]="IO_INSTRUCTION",
        [EXIT_REASON_MSR_READ]="MSR_READ",
        [EXIT_REASON_MSR_WRITE]="MSR_WRITE",
+       [EXIT_REASON_INVALID_GUEST_STATE]="INVALID_GUEST_STATE",
+       [EXIT_REASON_MSR_LOADING]="MSR_LOADING",
        [EXIT_REASON_MWAIT_INSTRUCTION]="MWAIT_INSTRUCTION",
+       [EXIT_REASON_MONITOR_TRAP_FLAG]="MONITOR_TRAP_FLAG",
        [EXIT_REASON_MONITOR_INSTRUCTION]="MONITOR_INSTRUCTION",
        [EXIT_REASON_PAUSE_INSTRUCTION]="PAUSE_INSTRUCTION",
        [EXIT_REASON_MACHINE_CHECK]="MACHINE_CHECK",
        [EXIT_REASON_APIC_ACCESS]="APIC_ACCESS",
        [EXIT_REASON_EPT_VIOLATION]="EPT_VIOLATION",
        [EXIT_REASON_EPT_MISCONFIG]="EPT_MISCONFIG",
+       [EXIT_REASON_INVEPT]="INVEPT",
+       [EXIT_REASON_RDTSCP]="RDTSCP",
+       
[EXIT_REASON_VMX_PREEMPTION_TIMER_EXPIRED]="VMX_PREEMPTION_TIMER_EXPIRED",
+       [EXIT_REASON_INVVPID]="INVVPID",
        [EXIT_REASON_WBINVD]="WBINVD",
+       [EXIT_REASON_XSETBV]="XSETBV",
 };
 
 /* SVM data */

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xenalyze: Add more vmx vmexit reasons, George Dunlap <=