diff mbox series

[v1,6/7] xenalyze: sync with vmx.h, use EXIT_REASON_MCE_DURING_VMENTRY

Message ID 20230601142742.15489-7-olaf@aepfle.de (mailing list archive)
State New, archived
Headers show
Series xentrace changes | expand

Commit Message

Olaf Hering June 1, 2023, 2:27 p.m. UTC
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
 tools/xentrace/xenalyze.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

George Dunlap July 28, 2023, 8:25 p.m. UTC | #1
On Thu, Jun 1, 2023 at 3:28 PM Olaf Hering <olaf@aepfle.de> wrote:

> Signed-off-by: Olaf Hering <olaf@aepfle.de>
>

Patches 4-7:

Reviewed-by: George Dunlap <george.dunlap@cloud.com>
George Dunlap July 28, 2023, 8:40 p.m. UTC | #2
On Fri, Jul 28, 2023 at 9:25 PM George Dunlap <george.dunlap@cloud.com>
wrote:

>
>
> On Thu, Jun 1, 2023 at 3:28 PM Olaf Hering <olaf@aepfle.de> wrote:
>
>> Signed-off-by: Olaf Hering <olaf@aepfle.de>
>>
>
> Patches 4-7:
>
> Reviewed-by: George Dunlap <george.dunlap@cloud.com>
>

Sorry, this should have said patches 4-6.

At any rate, I've pushed patches 1-6 now.  Thanks again for the cleanup.

  -George
diff mbox series

Patch

diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c
index 88c3d5f873..9635ff453a 100644
--- a/tools/xentrace/xenalyze.c
+++ b/tools/xentrace/xenalyze.c
@@ -479,7 +479,7 @@  struct {
 #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_ACCESS_GDTR_OR_IDTR 46
@@ -535,7 +535,7 @@  const char * hvm_vmx_exit_reason_name[HVM_VMX_EXIT_REASON_MAX] = {
     [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_MCE_DURING_VMENTRY]="MCE_DURING_VMENTRY",
     [EXIT_REASON_TPR_BELOW_THRESHOLD]="TPR_BELOW_THRESHOLD",
     [EXIT_REASON_APIC_ACCESS]="APIC_ACCESS",
     [EXIT_REASON_EPT_VIOLATION]="EPT_VIOLATION",