linux/tools/testing/selftests/kvm
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 Merge branch kvm-arm64/resx into kvmarm-master/next 2026-02-05 09:17:48 +00:00
include KVM: selftests: Verify SEV+ guests can read and write EFER, CR0, CR4, and CR8 2026-03-12 17:31:53 +01:00
lib selftests: kvm: extract common functionality out of smm_test.c 2026-03-11 18:41:12 +01:00
loongarch KVM: LoongArch: selftests: Add time counter test case 2025-11-28 14:49:48 +08:00
riscv RISC-V: KVM: selftests: Add Zalasr extensions to get-reg-list test 2026-02-06 19:05:29 +05:30
s390 KVM: s390: selftests: Add selftest for the KVM_S390_KEYOP ioctl 2026-02-04 17:00:10 +01:00
x86 KVM: selftests: Verify SEV+ guests can read and write EFER, CR0, CR4, and CR8 2026-03-12 17:31:53 +01:00
.gitignore
Makefile KVM: selftests: Forcefully override ARCH from x86_64 to x86 2025-10-20 08:55:24 -07:00
Makefile.kvm selftests: kvm: add a test that VMX validates controls on RSM 2026-03-11 18:41:12 +01:00
access_tracking_perf_test.c KVM: riscv: selftests: Add missing headers for new testcases 2025-09-16 10:53:55 +05:30
arch_timer.c KVM: selftests: Convert arch_timer tests to common helpers to pin task 2025-07-09 09:33:42 -07:00
coalesced_io_test.c
config KVM: selftests: Add CONFIG_EVENTFD for irqfd selftest 2025-07-10 06:20:20 -07:00
demand_paging_test.c
dirty_log_perf_test.c KVM: arm64: selftests: Create a VGICv3 for 'default' VMs 2025-09-24 19:23:32 +01:00
dirty_log_test.c KVM: arm64: selftests: Create a VGICv3 for 'default' VMs 2025-09-24 19:23:32 +01:00
get-reg-list.c KVM: arm64: selftests: Provide helper for getting default vCPU target 2025-09-24 19:23:32 +01:00
guest_memfd_test.c KVM: selftests: Increase 'maxnode' for guest_memfd tests 2026-03-11 18:41:10 +01:00
guest_print_test.c
hardware_disable_test.c
irqfd_test.c KVM: selftests: Fix irqfd_test for non-x86 architectures 2025-10-13 14:17:03 +01:00
kvm_binary_stats_test.c KVM: selftests: Define wrappers for common syscalls to assert success 2025-10-20 06:30:42 -07:00
kvm_create_max_vcpus.c
kvm_page_table_test.c
memslot_modification_stress_test.c KVM: riscv: selftests: Add missing headers for new testcases 2025-09-16 10:53:55 +05:30
memslot_perf_test.c KVM: riscv: selftests: Add missing headers for new testcases 2025-09-16 10:53:55 +05:30
mmu_stress_test.c KVM: selftests: Stop using __virt_pg_map() directly in tests 2025-11-21 10:15:14 -08:00
pre_fault_memory_test.c KVM: selftests: Use "gpa" and "gva" for local variable names in pre-fault test 2025-10-20 08:59:30 -07:00
rseq_test.c KVM: selftests: Add missing "break" in rseq_test's param parsing 2025-12-02 08:49:10 -08:00
set_memory_region_test.c KVM: selftests: Add wrappers for mmap() and munmap() to assert success 2025-10-10 14:25:28 -07:00
settings
steal_time.c KVM: LoongArch: selftests: Add steal time test case 2026-02-06 09:28:01 +08:00
system_counter_offset_test.c