]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Disable dirty logging with vCPUs running
authorBen Gardon <bgardon@google.com>
Tue, 2 Feb 2021 18:57:34 +0000 (10:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:20 +0000 (05:27 -0500)
commit47f12977b19129accab946cc88778293c687407c
tree4290f4dfdd63aa13ff0eefeabff52fdc407bfb1b
parente9c65a5bf2f1eb08b85033b5bf8b677e44b09cc6
KVM: selftests: Disable dirty logging with vCPUs running

Disabling dirty logging is much more intestesting from a testing
perspective if the vCPUs are still running. This also excercises the
code-path in which collapsible SPTEs must be faulted back in at a higher
level after disabling dirty logging.

To: linux-kselftest@vger.kernel.org
CC: Peter Xu <peterx@redhat.com>
CC: Andrew Jones <drjones@redhat.com>
CC: Thomas Huth <thuth@redhat.com>
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210202185734.1680553-29-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/dirty_log_perf_test.c