mirror-linux/tools/testing/selftests/kvm/include
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
..
arm64 KVM selftests changes for 6.20 2026-02-09 18:38:54 +01:00
loongarch KVM: selftests: Add a "struct kvm_mmu_arch arch" member to kvm_mmu 2026-01-08 12:02:09 -08:00
riscv KVM/riscv changes for 6.20 2026-02-11 12:45:00 -05:00
s390 KVM: selftests: Add a "struct kvm_mmu_arch arch" member to kvm_mmu 2026-01-08 12:02:09 -08:00
x86 KVM: selftests: Verify SEV+ guests can read and write EFER, CR0, CR4, and CR8 2026-03-12 17:31:53 +01:00
guest_modes.h KVM: selftests: arm64: Determine max ipa size per-page size 2023-11-27 15:03:50 +00:00
kvm_syscalls.h KVM: selftests: Define wrappers for common syscalls to assert success 2025-10-20 06:30:42 -07:00
kvm_test_harness.h KVM: selftests: Add a macro to define a test with one vcpu 2024-02-28 20:58:12 +00:00
kvm_util.h KVM/riscv changes for 6.20 2026-02-11 12:45:00 -05:00
kvm_util_types.h KVM: sefltests: Add kvm_util_types.h to hold common types, e.g. vm_vaddr_t 2024-04-29 12:54:16 -07:00
lru_gen_util.h KVM: selftests: access_tracking_perf_test: Use MGLRU for access tracking 2025-05-16 12:58:21 -07:00
memstress.h KVM: selftests: Provide a global pseudo-RNG instance for all tests 2024-04-29 12:50:41 -07:00
numaif.h KVM: selftests: Add helpers to probe for NUMA support, and multi-node systems 2025-10-20 06:30:44 -07:00
sparsebit.h KVM: selftests: Add a macro to iterate over a sparsebit range 2024-02-28 20:58:12 +00:00
test_util.h KVM: selftests: Add wrapper macro to handle and assert on expected SIGBUS 2025-10-10 14:25:29 -07:00
timer_test.h KVM: riscv: selftests: Add sstc timer test 2024-03-06 20:53:29 +05:30
ucall_common.h KVM: selftests: Annotate guest ucall, printf, and assert helpers with __printf() 2023-12-01 08:15:41 -08:00
userfaultfd_util.h KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00