]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Add an option to disable MANUAL_PROTECT_ENABLE and INITIALLY_SET
authorDavid Matlack <dmatlack@google.com>
Wed, 19 Jan 2022 23:07:39 +0000 (23:07 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:44 +0000 (13:50 -0500)
commit6bb00ac7a56b0d777f9a8cb5278c802a362455d6
tree58062376f1ab0820c1eac20425c27276bf5465b1
parentf9262df2761ef4eecd601f9d0989210e46d82550
KVM: selftests: Add an option to disable MANUAL_PROTECT_ENABLE and INITIALLY_SET

Add an option to dirty_log_perf_test.c to disable
KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE and KVM_DIRTY_LOG_INITIALLY_SET so
the legacy dirty logging code path can be tested.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220119230739.2234394-19-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/dirty_log_perf_test.c