mirror-linux/tools/testing/selftests/kvm/include/x86
Sean Christopherson d2ea4ff1ce KVM: selftests: Verify SEV+ guests can read and write EFER, CR0, CR4, and CR8
Add "do no harm" testing of EFER, CR0, CR4, and CR8 for SEV+ guests to
verify that the guest can read and write the registers, without hitting
e.g. a #VC on SEV-ES guests due to KVM incorrectly trying to intercept a
register.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20260310211841.2552361-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2026-03-12 17:31:53 +01:00
..
apic.h Merge tag 'kvm-x86-apic-6.20' of https://github.com/kvm-x86/linux into HEAD 2026-02-11 12:45:32 -05:00
evmcs.h
hyperv.h
kvm_util_arch.h KVM: selftests: Set the user bit on nested NPT PTEs 2026-01-08 12:02:15 -08:00
mce.h
pmu.h KVM: selftests: Handle Intel Atom errata that leads to PMU event overcount 2025-09-23 08:38:59 -07:00
processor.h KVM: selftests: Verify SEV+ guests can read and write EFER, CR0, CR4, and CR8 2026-03-12 17:31:53 +01:00
sev.h KVM: selftests: Add library support for interacting with SNP 2025-05-02 12:32:33 -07:00
smm.h selftests: kvm: extract common functionality out of smm_test.c 2026-03-11 18:41:12 +01:00
svm.h KVM: SVM: Treat exit_code as an unsigned 64-bit value through all of KVM 2026-01-13 17:37:03 -08:00
svm_util.h KVM: selftests: Add support for nested NPTs 2026-01-08 12:02:14 -08:00
ucall.h
vmx.h KVM: selftests: Move TDP mapping functions outside of vmx.c 2026-01-08 12:02:13 -08:00