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)
commit951cb0a3b5f2acc61ed84c752fb0bcef6806496f
tree58062376f1ab0820c1eac20425c27276bf5465b1
parente0b728b1f1a951e0d23eef08cfa920a8104e39db
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