Re: [PATCH v16 41/51] KVM: x86: Add human friendly formatting for #XM, and #VE

Binbin Wu
2025-09-22T08:29:21Z

On 9/20/2025 6:32 AM, Sean Christopherson wrote:
> Add XM_VECTOR and VE_VECTOR pretty-printing for
> trace_kvm_inj_exception().
>
> Signed-off-by: Sean Christopherson <seanjc@google.com>

Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>

> ---
> arch/x86/kvm/trace.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h
> index 57d79fd31df0..06da19b370c5 100644
> --- a/arch/x86/kvm/trace.h
> +++ b/arch/x86/kvm/trace.h
> @@ -461,8 +461,8 @@ TRACE_EVENT(kvm_inj_virq,
>
> #define kvm_trace_sym_exc \
> EXS(DE), EXS(DB), EXS(BP), EXS(OF), EXS(BR), EXS(UD), EXS(NM), \
> - EXS(DF), EXS(TS), EXS(NP), EXS(SS), EXS(GP), EXS(PF), \
> - EXS(MF), EXS(AC), EXS(MC)
> + EXS(DF), EXS(TS), EXS(NP), EXS(SS), EXS(GP), EXS(PF), EXS(MF), \
> + EXS(AC), EXS(MC), EXS(XM), EXS(VE)
>
> /*
> * Tracepoint for kvm interrupt injection: