Re: [PATCH] KVM: x86: Forcibly leave nested if RSM to L2 hits shutdown
From: Sean Christopherson
Date: Tue Sep 10 2024 - 00:58:29 EST
On Fri, 06 Sep 2024 09:13:37 -0700, Sean Christopherson wrote:
> Leave nested mode before synthesizing shutdown (a.k.a. TRIPLE_FAULT) if
> RSM fails when resuming L2 (a.k.a. guest mode). Architecturally, shutdown
> on RSM occurs _before_ the transition back to guest mode on both Intel and
> AMD.
>
> On Intel, per the SDM pseudocode, SMRAM state is loaded before critical
> VMX state:
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Forcibly leave nested if RSM to L2 hits shutdown
https://github.com/kvm-x86/linux/commit/3f6821aa147b
--
https://github.com/kvm-x86/linux/tree/next