KVM: selftests: always use manual clear in dirty_log_perf_test
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Nov 2020 16:36:49 +0000 (11:36 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 15 Nov 2020 14:49:19 +0000 (09:49 -0500)
commitf63f0b68c864edea801de678bed279a3d7674f1a
tree996240bff5fccce9049286c53239c49fa195dc4f
parent2259c17f01887666220a35619c44c576aeed2a30
KVM: selftests: always use manual clear in dirty_log_perf_test

Nothing sets USE_CLEAR_DIRTY_LOG anymore, so anything it surrounds
is dead code.

However, it is the recommended way to use the dirty page bitmap
for new enough kernel, so use it whenever KVM has the
KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 capability.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/dirty_log_perf_test.c