]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: sefltests: Verify value of dirty_log_test last page isn't bogus
authorSean Christopherson <seanjc@google.com>
Sat, 11 Jan 2025 00:29:59 +0000 (16:29 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 12 Feb 2025 17:00:56 +0000 (09:00 -0800)
commit485e27ed208f0d9667608c0e3fa9440654e01399
tree77e69e7ba9e29cb7950c3c72e1e7969d869341a1
parentd0bd72cb916072f88d9eda5ee2a7f85a999af404
KVM: sefltests: Verify value of dirty_log_test last page isn't bogus

Add a sanity check that a completely garbage value wasn't written to
the last dirty page in the ring, e.g. that it doesn't contain the *next*
iteration's value.

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