Merge tag 'kvm-x86-selftests-6.10' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 12 May 2024 07:17:03 +0000 (03:17 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 12 May 2024 07:17:03 +0000 (03:17 -0400)
commit56f40708dfdd672ed321dd41887754657f74fee3
tree7c3ecb36efeb2e88dc39a5a542bfad958c8db2f9
parentf4bc1373d5a6687e08e51d6d21c5c95033ca169f
parent8a53e13021330a25775a31ced44fbec2225a9443
Merge tag 'kvm-x86-selftests-6.10' of https://github.com/kvm-x86/linux into HEAD

KVM selftests cleanups and fixes for 6.10:

 - Enhance the demand paging test to allow for better reporting and stressing
   of UFFD performance.

 - Convert the steal time test to generate TAP-friendly output.

 - Fix a flaky false positive in the xen_shinfo_test due to comparing elapsed
   time across two different clock domains.

 - Skip the MONITOR/MWAIT test if the host doesn't actually support MWAIT.

 - Avoid unnecessary use of "sudo" in the NX hugepage test to play nice with
   running in a minimal userspace environment.

 - Allow skipping the RSEQ test's sanity check that the vCPU was able to
   complete a reasonable number of KVM_RUNs, as the assert can fail on a
   completely valid setup.  If the test is run on a large-ish system that is
   otherwise idle, and the test isn't affined to a low-ish number of CPUs, the
   vCPU task can be repeatedly migrated to CPUs that are in deep sleep states,
   which results in the vCPU having very little net runtime before the next
   migration due to high wakeup latencies.
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/steal_time.c