Re: [PATCH] KVM: VMX: Formally define KVM's "0xdead" exit reason used for failed VM-Enter
From: Sean Christopherson
Date: Thu Sep 24 2026 - 17:57:00 EST
On Mon, 21 Sep 2026 16:56:55 -0700, Sean Christopherson wrote:
> Add EXIT_REASON_UNDEFINED to track KVM's magic "0xdead" value that's used
> to stuff the exit reason on a failed VM-Enter so that the magic can be
> reused by TDX, and to make it more obvious that it's an arbitrary, KVM-
> defined value (though the whole "dead" thing makes it pretty darn obvious).
>
> Opportunistically add a compile-time assert to ensure the KVM-defined exit
> reason never collides with a "real" exit reason.
>
> [...]
Applied to kvm-x86 vmx, thanks!
[1/1] KVM: VMX: Formally define KVM's "0xdead" exit reason used for failed VM-Enter
https://github.com/kvm-x86/linux/commit/d85f7dc8cf3c
--
https://github.com/kvm-x86/linux/tree/next