mirror-linux/tools/testing/selftests/kvm/x86
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
..
amx_test.c
apic_bus_clock_test.c
cpuid_test.c
cr4_cpuid_sync_test.c
debug_regs.c
dirty_log_page_splitting_test.c
exit_on_emulation_failure_test.c
feature_msrs_test.c
fix_hypercall_test.c
flds_emulation.h
hwcr_msr_test.c
hyperv_clock.c
hyperv_cpuid.c KVM: selftests: Add CPUID tests for Hyper-V features that need in-kernel APIC 2025-02-12 08:55:11 -08:00
hyperv_evmcs.c
hyperv_extended_hypercalls.c
hyperv_features.c
hyperv_ipi.c
hyperv_svm_test.c
hyperv_tlb_flush.c
kvm_clock_test.c
kvm_pv_test.c KVM: selftests: Update x86's KVM PV test to match KVM's disabling exits behavior 2024-12-18 14:19:39 -08:00
max_vcpuid_cap_test.c
monitor_mwait_test.c
nested_exceptions_test.c
nx_huge_pages_test.c
nx_huge_pages_test.sh
platform_info_test.c
pmu_counters_test.c
pmu_event_filter_test.c
private_mem_conversions_test.c
private_mem_kvm_exits_test.c
recalc_apic_map_test.c
set_boot_cpu_id.c
set_sregs_test.c KVM: selftests: Verify KVM stuffs runtime CPUID OS bits on CR4 writes 2024-12-18 14:19:31 -08:00
sev_init2_tests.c
sev_migrate_tests.c
sev_smoke_test.c KVM: selftests: Add and use a helper function for x86's LIDT 2024-12-18 15:14:46 -08:00
smaller_maxphyaddr_emulation_test.c
smm_test.c
state_test.c
svm_int_ctl_test.c
svm_nested_shutdown_test.c
svm_nested_soft_inject_test.c
svm_vmcall_test.c
sync_regs_test.c
triple_fault_event_test.c
tsc_msrs_test.c
tsc_scaling_sync.c
ucna_injection_test.c
userspace_io_test.c
userspace_msr_exit_test.c
vmx_apic_access_test.c
vmx_close_while_nested_test.c
vmx_dirty_log_test.c
vmx_exception_with_invalid_guest_state.c
vmx_invalid_nested_guest_state.c
vmx_msrs_test.c
vmx_nested_tsc_scaling_test.c
vmx_pmu_caps_test.c
vmx_preemption_timer_test.c
vmx_set_nested_state_test.c
vmx_tsc_adjust_test.c
xapic_ipi_test.c
xapic_state_test.c
xcr0_cpuid_test.c
xen_shinfo_test.c
xen_vmcall_test.c
xss_msr_test.c