[GIT PULL] KVM: x86: Selftests changes for 7.2
From: Sean Christopherson
Date: Thu Jun 11 2026 - 20:50:12 EST
Pretty much everything here is a one-off fix/cleanup of some kind.
The following changes since commit b7fbe9a1bf9ee6c967ef77d366ca58c35fcf1887:
Merge branch 'kvm-apx-prepare' into HEAD (2026-05-13 12:38:31 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-selftests-7.2
for you to fetch changes up to 5bd0387e3b56f7e0a81386f6d0a5fa2c3a92ad5d:
KVM: selftests: hyperv_features: test write of 1 to HV_X64_MSR_RESET (2026-05-26 12:30:50 -0700)
----------------------------------------------------------------
KVM selftests changes for 7.2
- Randomize the dirty log test's delay when reaping the bitmap on the first
pass, as always waiting only 1ms hid a KVM RISC-V bug as the test reaped the
bitmap before KVM could build up enough state to hit the bug.
- A pile of one-off fixes and cleanups.
----------------------------------------------------------------
Mayuresh Chitale (1):
KVM: selftests: memslot_perf_test: make host wait timeout configurable
Piotr Zarycki (4):
KVM: selftests: sync_regs_test: drop stale TODO comment
KVM: selftests: Fix typo in comment in hyperv_features.c
KVM: selftests: hyperv_tlb_flush: replace NOP loop with udelay()
KVM: selftests: hyperv_features: test write of 1 to HV_X64_MSR_RESET
Sean Christopherson (3):
KVM: selftests: Cast guest_memfd fd to a signed int when checking for >= 0
KVM: selftests: Add and use kvm_free_fd() to harden against fd goofs
KVM: selftests: Randomize dirty_log_test's delay before reaping the bitmap
Zongyao Chen (1):
KVM: selftests: Fix vcpu_get_stats_fd() ioctl name
tools/testing/selftests/kvm/dirty_log_test.c | 26 +++++++++++++++++-----
tools/testing/selftests/kvm/include/kvm_syscalls.h | 6 +++++
tools/testing/selftests/kvm/include/kvm_util.h | 2 +-
tools/testing/selftests/kvm/lib/kvm_util.c | 25 ++++++++++-----------
tools/testing/selftests/kvm/memslot_perf_test.c | 12 +++++++---
tools/testing/selftests/kvm/x86/hyperv_features.c | 21 ++++++++++-------
tools/testing/selftests/kvm/x86/hyperv_tlb_flush.c | 15 ++-----------
tools/testing/selftests/kvm/x86/sync_regs_test.c | 1 -
8 files changed, 63 insertions(+), 45 deletions(-)