Skip to content

Commit

Permalink
xenalyze: sync with vmx.h, use EXIT_REASON_PENDING_VIRT_INTR
Browse files Browse the repository at this point in the history
Signed-off-by: Olaf Hering <[email protected]>
Reviewed-by: George Dunlap <[email protected]>
  • Loading branch information
olafhering authored and gwd committed Jul 28, 2023
1 parent f1ea69e commit 06ba087
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/xentrace/xenalyze.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ struct {
#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_INTR 7
#define EXIT_REASON_PENDING_VIRT_NMI 8
#define EXIT_REASON_TASK_SWITCH 9
#define EXIT_REASON_CPUID 10
Expand Down Expand Up @@ -503,7 +503,7 @@ const char * hvm_vmx_exit_reason_name[HVM_VMX_EXIT_REASON_MAX] = {
[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_INTR]="PENDING_VIRT_INTR",
[EXIT_REASON_PENDING_VIRT_NMI]="PENDING_VIRT_NMI",
[EXIT_REASON_TASK_SWITCH]="TASK_SWITCH",
[EXIT_REASON_CPUID]="CPUID",
Expand Down Expand Up @@ -4634,7 +4634,7 @@ void hvm_generic_postprocess(struct hvm_data *h)
switch(h->exit_reason)
{
/* These just need us to go through the return path */
case EXIT_REASON_PENDING_INTERRUPT:
case EXIT_REASON_PENDING_VIRT_INTR:
case EXIT_REASON_TPR_BELOW_THRESHOLD:
/* Not much to log now; may need later */
case EXIT_REASON_WBINVD:
Expand Down

0 comments on commit 06ba087

Please sign in to comment.