From 4292c5454545238774b4e300f6eea3c58f4d323c Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Fri, 6 Oct 2023 16:22:34 +0100 Subject: [PATCH] xenalyze: Don't expect an HVM_HANDLER trace for PAUSE vmexits Neither vmx nor svm trace anything, nor is there anything obvious worth tracing. Signed-off-by: George Dunlap Release-acked-by: Henry Wang Acked-by: Anthony PERARD --- tools/xentrace/xenalyze.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c index fc25ac3589..2faf66500d 100644 --- a/tools/xentrace/xenalyze.c +++ b/tools/xentrace/xenalyze.c @@ -4631,6 +4631,7 @@ void hvm_generic_postprocess(struct hvm_data *h) switch(h->exit_reason) { case VMEXIT_VINTR: /* Equivalent of PENDING_VIRT_INTR */ + case VMEXIT_PAUSE: return; default: break; @@ -4643,6 +4644,7 @@ void hvm_generic_postprocess(struct hvm_data *h) /* These just need us to go through the return path */ case EXIT_REASON_PENDING_VIRT_INTR: case EXIT_REASON_TPR_BELOW_THRESHOLD: + case EXIT_REASON_PAUSE_INSTRUCTION: /* Not much to log now; may need later */ case EXIT_REASON_WBINVD: return;