Re: [PATCH] KVM: selftests: Randomize dirty_log_test's delay before reaping the bitmap
From: Sean Christopherson
Date: Wed May 27 2026 - 14:25:13 EST
On Fri, 22 May 2026 10:02:30 -0700, Sean Christopherson wrote:
> In the dirty log test, randomize the delay before the initial call to get
> the dirty log bitmap for a given iteration, so that the amount of memory
> dirtied by the guest varies from iteration to iteration, and so that the
> user can effectively control the duration (by increasing the interval).
>
> Always waiting 1ms effectively hides a KVM RISC-V bug as the test reaps the
> dirty bitmap before the guest has a chance to trigger the problematic flow
> in KVM.
>
> [...]
Applied to kvm-x86 selftests, thanks!
[1/1] KVM: selftests: Randomize dirty_log_test's delay before reaping the bitmap
https://github.com/kvm-x86/linux/commit/4e0fdd9b0d7d
--
https://github.com/kvm-x86/linux/tree/next