Re: [PATCH 05/11] KVM: x86: Trace hypercall register *after* truncating values for 32-bit

From: Yosry Ahmed

Date: Tue Apr 21 2026 - 19:29:58 EST


On Thu, Apr 09, 2026 at 04:56:16PM -0700, Sean Christopherson wrote:
> When tracing hypercalls, invoke the tracepoint *after* truncating the
> register values for 32-bit guests so as not to record unused garbage (in
> the extremely unlikely scenario that the guest left garbage in a register
> after transitioning from 64-bit mode to 32-bit mode).
>
> Fixes: 229456fc34b1 ("KVM: convert custom marker based tracing to event traces")
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> ---

Reviewed-by: Yosry Ahmed <yosry@xxxxxxxxxx>