linux-stable/tools/testing/selftests/kvm
Paolo Bonzini 2f8ebe43a0 KVM selftests fixes/cleanups (and one KVM x86 cleanup) for 6.8:
- Remove redundant newlines from error messages.
 
  - Delete an unused variable in the AMX test (which causes build failures when
    compiling with -Werror).
 
  - Fail instead of skipping tests if open(), e.g. of /dev/kvm, fails with an
    error code other than ENOENT (a Hyper-V selftest bug resulted in an EMFILE,
    and the test eventually got skipped).
 
  - Fix TSC related bugs in several Hyper-V selftests.
 
  - Fix a bug in the dirty ring logging test where a sem_post() could be left
    pending across multiple runs, resulting in incorrect synchronization between
    the main thread and the vCPU worker thread.
 
  - Relax the dirty log split test's assertions on 4KiB mappings to fix false
    positives due to the number of mappings for memslot 0 (used for code and
    data that is NOT being dirty logged) changing, e.g. due to NUMA balancing.
 
  - Have KVM's gtod_is_based_on_tsc() return "bool" instead of an "int" (the
    function generates boolean values, and all callers treat the return value as
    a bool).
 -----BEGIN PGP SIGNATURE-----
 
 iQJGBAABCgAwFiEEMHr+pfEFOIzK+KY1YJEiAU0MEvkFAmXKupQSHHNlYW5qY0Bn
 b29nbGUuY29tAAoJEGCRIgFNDBL5DiQP/RNSgLrE9+/3oyqo9zpbhio2dKqz4dIk
 8Ga1ZE4R89dyMB9jGKtWn3rEkyma3TsB+neVpG9ohHV6j25JJ0vNAkxQu3Gt+gkl
 uM1lh/IfXPnAKyuy6dW9tpgZYE1v2/KfdWjeEzzxfPjzY/LX3yFiiCKEnUmfjjzZ
 sSz91nV4KYS4b4xLWTIcBgNJuyLJuL05htTLmCu7t8DKOBHwHxXjSn8qqG8OvAjs
 FOhf0zgGJKBFdKOw2Y8XeDdKO0RTEyEPHaFILcLEsuhoVIbY5OUmLe32pAFzzMbG
 hPawUZ5CzC++e339gUgGkRNY80iSnGcYVcZa+ohxOsNBdOWko9z/eGWZUV7qkYDK
 dkPHMoDnSzUCE2eSYbEB1eR/KOfziJCWMS9SAIJbJxIGb1HYajikwAEZ6FNp3R+u
 MyCuNlV9TfsGgt4Dx8RctMeH2ROpORRu7h3WPFUBgG2/jOzPk/OR6U8hSzvmhTvL
 MykZ8IaLmUIYoK/nCY2iwy50lQRxtZ/htqWn3sidCBGY0DXdNlMhvd3Vk9jtUvY5
 Fgof0b564eYfk/qO3cMIDd2WFaDejP28JVSn0CNm6z9i54ubCKkSBEb4kTYXXnVK
 YBHvbZ21Vjg52trudvK5UPt599sxxNBNiSV32ckLFKHS4ZVGSFSBSbsAWiQF157i
 CbYntmtJhM+D
 =infW
 -----END PGP SIGNATURE-----

Merge tag 'kvm-x86-selftests-6.8-rcN' of https://github.com/kvm-x86/linux into HEAD

KVM selftests fixes/cleanups (and one KVM x86 cleanup) for 6.8:

 - Remove redundant newlines from error messages.

 - Delete an unused variable in the AMX test (which causes build failures when
   compiling with -Werror).

 - Fail instead of skipping tests if open(), e.g. of /dev/kvm, fails with an
   error code other than ENOENT (a Hyper-V selftest bug resulted in an EMFILE,
   and the test eventually got skipped).

 - Fix TSC related bugs in several Hyper-V selftests.

 - Fix a bug in the dirty ring logging test where a sem_post() could be left
   pending across multiple runs, resulting in incorrect synchronization between
   the main thread and the vCPU worker thread.

 - Relax the dirty log split test's assertions on 4KiB mappings to fix false
   positives due to the number of mappings for memslot 0 (used for code and
   data that is NOT being dirty logged) changing, e.g. due to NUMA balancing.

 - Have KVM's gtod_is_based_on_tsc() return "bool" instead of an "int" (the
   function generates boolean values, and all callers treat the return value as
   a bool).
2024-02-14 12:34:58 -05:00
..
aarch64 KVM: selftests: aarch64: Remove redundant newlines 2024-01-29 08:39:15 -08:00
include KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_page too 2024-02-01 08:58:14 -08:00
lib KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_page too 2024-02-01 08:58:14 -08:00
riscv KVM selftests fixes/cleanups (and one KVM x86 cleanup) for 6.8: 2024-02-14 12:34:58 -05:00
s390x KVM: selftests: s390x: Remove redundant newlines 2024-01-29 08:39:16 -08:00
x86_64 KVM: selftests: Don't assert on exact number of 4KiB in dirty log split test 2024-02-06 10:55:13 -08:00
.gitignore KVM: selftests: Use pattern matching in .gitignore 2022-12-27 06:00:46 -05:00
Makefile KVM/riscv changes for 6.8 part #1 2024-01-02 13:19:40 -05:00
access_tracking_perf_test.c Merge remote-tracking branch 'kvm/queue' into HEAD 2022-12-12 15:54:07 -05:00
config KVM: selftests: Fixup config fragment for access_tracking_perf_test 2023-03-30 19:27:56 +01:00
demand_paging_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
dirty_log_perf_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
dirty_log_test.c KVM: selftests: Fix a semaphore imbalance in the dirty ring logging test 2024-02-06 10:53:30 -08:00
get-reg-list.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
guest_memfd_test.c selftests/kvm: fix compilation on non-x86_64 platforms 2023-11-21 11:58:25 -05:00
guest_print_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
hardware_disable_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
kvm_binary_stats_test.c KVM: selftests: Verify stats fd is usable after VM fd has been closed 2023-07-29 11:05:30 -04:00
kvm_create_max_vcpus.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
kvm_page_table_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
max_guest_memory_test.c KVM: selftests: Rename the ASSERT_EQ macro 2023-08-02 14:34:01 -07:00
memslot_modification_stress_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
memslot_perf_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
rseq_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
set_memory_region_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
settings selftests: kvm: Raise the default timeout to 120 seconds 2021-02-09 08:17:08 -05:00
steal_time.c RISC-V: KVM: selftests: Add steal_time test support 2023-12-30 11:26:45 +05:30
system_counter_offset_test.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00