]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
xenalyze: Don't expect an HVM_HANDLER trace for PAUSE vmexits
authorGeorge Dunlap <george.dunlap@cloud.com>
Fri, 6 Oct 2023 15:22:34 +0000 (16:22 +0100)
committerGeorge Dunlap <george.dunlap@cloud.com>
Mon, 16 Oct 2023 14:01:50 +0000 (15:01 +0100)
Neither vmx nor svm trace anything, nor is there anything obvious
worth tracing.

Signed-off-by: George Dunlap <george.dunlap@cloud.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/xentrace/xenalyze.c

index fc25ac3589b7b2486f33d5b1209137172bc2d7a5..2faf66500dd2a5a6bf1b19fbc60dbba702a2cc2b 100644 (file)
@@ -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;