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

Yosry Ahmed
2026-04-21T23:27:22Z

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@google.com>
> ---

Reviewed-by: Yosry Ahmed <yosry@kernel.org>