]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: selftests: Add a test for L2 clearing EFER.SVME without intercept
authorYosry Ahmed <yosry.ahmed@linux.dev>
Mon, 9 Feb 2026 19:51:42 +0000 (19:51 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 5 Mar 2026 00:09:11 +0000 (16:09 -0800)
commit3900e56eb184abcc8a16ab52af24ea255589acc2
treef0120b18d23950cbfbbe57a2d4e469b38799e7d1
parentcdc69269b18a19cb76eaf7bf4fa47fe270dcaf11
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>
tools/testing/selftests/kvm/Makefile.kvm
tools/testing/selftests/kvm/x86/svm_nested_clear_efer_svme.c [new file with mode: 0644]