Re: [PATCH v2 2/2] KVM: selftests: Assert that STI blocking isn't set after event injection

From: Jim Mattson
Date: Mon Feb 24 2025 - 12:33:11 EST


On Mon, Feb 24, 2025 at 8:56 AM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
> Add an L1 (guest) assert to the nested exceptions test to verify that KVM
> doesn't put VMRUN in an STI shadow (AMD CPUs bleed the shadow into the
> guest's int_state if a #VMEXIT occurs before VMRUN fully completes).
>
> Add a similar assert to the VMX side as well, because why not.
>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>