]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Print (previous) last_page on dirty page value mismatch
authorSean Christopherson <seanjc@google.com>
Sat, 11 Jan 2025 00:29:57 +0000 (16:29 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 12 Feb 2025 17:00:56 +0000 (09:00 -0800)
commit24b9a2a613779cf5a0c6f7629cb7a70e6a769838
tree6e9daa1f2455a7feae32a56f22cc8d53f1ff5f35
parentc616f36a1002a1364f3b0ab5c938d796d6096837
KVM: selftests: Print (previous) last_page on dirty page value mismatch

Print out the last dirty pages from the current and previous iteration on
verification failures.  In many cases, bugs (especially test bugs) occur
on the edges, i.e. on or near the last pages, and being able to correlate
failures with the last pages can aid in debug.

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