mirror-linux/tools/testing/selftests/kvm
Sean Christopherson e36454461c KVM: selftests: Add CPUID tests for Hyper-V features that need in-kernel APIC
Add testcases to x86's Hyper-V CPUID test to verify that KVM advertises
support for features that require an in-kernel local APIC appropriately,
i.e. that KVM hides support from the vCPU-scoped ioctl if the VM doesn't
have an in-kernel local APIC.

Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20250118003454.2619573-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
2025-02-12 08:55:11 -08:00
..
arm64 KVM/arm64 updates for 6.14 2025-01-28 09:01:36 -08:00
include KVM: selftests: Add test case for MMIO during vectoring on x86 2024-12-18 15:14:47 -08:00
lib KVM: selftests: Use canonical $(ARCH) paths for KVM selftests directories 2024-12-18 14:15:04 -08:00
riscv KVM/riscv changes for 6.14 2025-01-20 07:01:17 -05:00
s390 KVM: selftests: Fix spelling mistake "initally" -> "initially" 2025-02-04 11:15:24 -05:00
x86 KVM: selftests: Add CPUID tests for Hyper-V features that need in-kernel APIC 2025-02-12 08:55:11 -08:00
.gitignore KVM: selftests: Provide empty 'all' and 'clean' targets for unsupported ARCHs 2024-12-18 14:15:03 -08:00
Makefile KVM: selftests: Override ARCH for x86_64 instead of using ARCH_DIR 2024-12-18 14:15:05 -08:00
Makefile.kvm KVM: selftests: Override ARCH for x86_64 instead of using ARCH_DIR 2024-12-18 14:15:05 -08:00
access_tracking_perf_test.c
arch_timer.c Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h" 2024-04-29 12:54:13 -07:00
coalesced_io_test.c KVM: selftests: Add a test for coalesced MMIO (and PIO on x86) 2024-08-29 19:38:33 -07:00
config
demand_paging_test.c KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00
dirty_log_perf_test.c KVM: selftests: Use canonical $(ARCH) paths for KVM selftests directories 2024-12-18 14:15:04 -08:00
dirty_log_test.c Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h" 2024-04-29 12:54:13 -07:00
get-reg-list.c
guest_memfd_test.c KVM: selftests: fix unintentional noop test in guest_memfd_test.c 2024-11-04 21:10:28 -08:00
guest_print_test.c KVM: selftests: Open code vcpu_run() equivalent in guest_printf test 2024-08-29 16:25:06 -07:00
hardware_disable_test.c KVM: selftests: Remove unused macro in the hardware disable test 2024-10-30 13:51:46 -07:00
kvm_binary_stats_test.c
kvm_create_max_vcpus.c
kvm_page_table_test.c Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h" 2024-04-29 12:54:13 -07:00
memslot_modification_stress_test.c KVM: selftests: Fix build on architectures other than x86_64 2024-10-01 11:07:26 -04:00
memslot_perf_test.c KVM: selftests: memslot_perf_test: increase guest sync timeout 2024-11-04 21:04:10 -08:00
mmu_stress_test.c KVM: selftests: Verify KVM correctly handles mprotect(PROT_READ) 2024-12-18 14:15:02 -08:00
pre_fault_memory_test.c KVM: selftests: x86: Add test for KVM_PRE_FAULT_MEMORY 2024-07-12 11:18:27 -04:00
rseq_test.c KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00
set_memory_region_test.c KVM: selftests: Add test case for MMIO during vectoring on x86 2024-12-18 15:14:47 -08:00
settings
steal_time.c KVM: selftests: Return a value from vcpu_get_reg() instead of using an out-param 2024-12-18 14:14:14 -08:00
system_counter_offset_test.c