KVM: selftests: Add a test for L2 clearing EFER.SVME without intercept

Add a test that verifies KVM's newly introduced behavior of synthesizing
a triple fault in L1 if L2 clears EFER.SVME without an L1 interception
(which is architecturally undefined).

Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20260209195142.2554532-3-yosry.ahmed@linux.dev
Signed-off-by: Sean Christopherson <seanjc@google.com>
This commit is contained in:
Yosry Ahmed 2026-02-09 19:51:42 +00:00 • committed by Sean Christopherson
commit 3900e56eb1
2 changed files with 56 additions and 0 deletions