original_kernel/tools/testing/selftests/kvm/x86_64
Paolo Bonzini dee7ea42a1 KVM selftests treewide updates for 6.10:
- Define _GNU_SOURCE for all selftests to fix a warning that was introduced by
    a change to kselftest_harness.h late in the 6.9 cycle, and because forcing
    every test to #define _GNU_SOURCE is painful.
 
  - Provide a global psuedo-RNG instance for all tests, so that library code can
    generate random, but determinstic numbers.
 
  - Use the global pRNG to randomly force emulation of select writes from guest
    code on x86, e.g. to help validate KVM's emulation of locked accesses.
 
  - Rename kvm_util_base.h back to kvm_util.h, as the weird layer of indirection
    was added purely to avoid manually #including ucall_common.h in a handful of
    locations.
 
  - Allocate and initialize x86's GDT, IDT, TSS, segments, and default exception
    handlers at VM creation, instead of forcing tests to manually trigger the
    related setup.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKTobbabEP7vbhhN9OlYIJqCjN/0FAmY+qhoACgkQOlYIJqCj
 N/2coRAAicA2485dlMjLbRazrb58dFiT8XheKKTHQwWRZPhxUMI8Rqo9Hp74t2tc
 hU1+VXIupzTH4hXxTmqrTtsJsulhdgbQMzxeefK9U8WxS2jsHnC5Ltx9hmGWQG92
 FeUhkDka1zc52bhMGOY43A5rNxCfQ0GYCWdHnILw2tqWQhqAvEuma7CwVYm85zTe
 gl6Bfe1sokjnx1EIdwC4SyfDAh9DXIah02b7GvbTvkrNcLBpxnRp19mZlmSqSg9L
 5VVPup2oSeKZAhXYP3dWgUGGJtT96tpz60QwkmVxcNIqvL41CsmW7wB9ODzYlihQ
 uBmlchx9NIR9+ICL2DaZi5UfmrfeRW2sYVH9K0NewDswV8N36/pMabN+gWCKjZ7m
 5K99nY6xtVmTkxdgJEQ1n4+oa2VTD68H52/hwvO5e6Kd1yab+SKoBf4LKxXu6gO7
 P2hcM+FGwJlSU6gmI7B4+2RNFPurplVgC5MN7cJuEivKXhTXL8GzbOCxsRhCynIk
 z+L+nnrSRiXAD45uYon1UIXLszANYfjizx7/fL5hC2mtpARP9S35zIDCCzEBNWWt
 VI30/O0GAH/d6p1Rows/DzPmFJKbc+YVHoW9Ck8OP9axQHZuFoj6Qdy8BSwb8O+u
 B0rJXUyVFh2jwZ2zkMPDnDS5FOhqmTXxZSNj+i5tX/BZus7Iews=
 =vsRz
 -----END PGP SIGNATURE-----

Merge tag 'kvm-x86-selftests_utils-6.10' of https://github.com/kvm-x86/linux into HEAD

KVM selftests treewide updates for 6.10:

 - Define _GNU_SOURCE for all selftests to fix a warning that was introduced by
   a change to kselftest_harness.h late in the 6.9 cycle, and because forcing
   every test to #define _GNU_SOURCE is painful.

 - Provide a global psuedo-RNG instance for all tests, so that library code can
   generate random, but determinstic numbers.

 - Use the global pRNG to randomly force emulation of select writes from guest
   code on x86, e.g. to help validate KVM's emulation of locked accesses.

 - Rename kvm_util_base.h back to kvm_util.h, as the weird layer of indirection
   was added purely to avoid manually #including ucall_common.h in a handful of
   locations.

 - Allocate and initialize x86's GDT, IDT, TSS, segments, and default exception
   handlers at VM creation, instead of forcing tests to manually trigger the
   related setup.
2024-05-12 03:18:11 -04:00
..
amx_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
fix_hypercall_test.c
flds_emulation.h
get_msr_index_features.c
hwcr_msr_test.c
hyperv_clock.c
hyperv_cpuid.c
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
max_vcpuid_cap_test.c
monitor_mwait_test.c KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00
nested_exceptions_test.c
nx_huge_pages_test.c
nx_huge_pages_test.sh
platform_info_test.c
pmu_counters_test.c KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00
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
sev_init2_tests.c
sev_migrate_tests.c
sev_smoke_test.c
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 KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00
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 KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00
xen_vmcall_test.c
xss_msr_test.c