]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit601e93c096e14fd02a6967c468028fe2cd32d517
tree996240bff5fccce9049286c53239c49fa195dc4f
parent9a2f174b56a04ed8eca3321a83a3ba560ceb6664
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