Commit f3513a33 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: selftests: Assert that STI blocking isn't set after event injection



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.

Reviewed-by: default avatarJim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20250224165442.2338294-3-seanjc@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent be45bc4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment