]> 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)
commit4448fc8af731bee4b6df4fcdbe777aed657c0ea1
tree996240bff5fccce9049286c53239c49fa195dc4f
parent5c0abf02f9b1bbf9b9f888d60f9af2086d9f706f
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