]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Fix an off-by-one in the number of dirty_log_test iterations
authorSean Christopherson <seanjc@google.com>
Sat, 11 Jan 2025 00:30:03 +0000 (16:30 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 12 Feb 2025 17:00:56 +0000 (09:00 -0800)
commit7f225650e0991c7b9fdfc1524e0381ba61039730
treee88ef422409b298945ba570c2debe946fccdf05c
parent2680dcfb34e2c9ac88bff4e01d7bf366aa9976c0
KVM: selftests: Fix an off-by-one in the number of dirty_log_test iterations

Actually run all requested iterations, instead of iterations-1 (the count
starts at '1' due to the need to avoid '0' as an in-memory value for a
dirty page).

Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20250111003004.1235645-20-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/dirty_log_test.c