Re: [PATCH] KVM: x86: Add a helper to dedup reporting of unhandled VM-Exits

Huang, Kai
2025-10-31T10:10:58Z

On Thu, 2025-10-30 at 11:50 -0700, Sean Christopherson wrote:
> Add and use a helper, kvm_prepare_unexpected_reason_exit(), to dedup the
> code that fills the exit reason and CPU when KVM encounters a VM-Exit that
> KVM doesn't know how to handle.
>
> Signed-off-by: Sean Christopherson <seanjc@google.com>
>

Acked-by: Kai Huang <kai.huang@intel.com>