[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210829182641.2505220-1-mizhang@google.com>
Date: Sun, 29 Aug 2021 18:26:39 +0000
From: Mingwei Zhang <mizhang@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Sean Christopherson <seanjc@...gle.com>,
David Matlack <dmatlack@...gle.com>,
Jing Zhang <jingzhangos@...gle.com>,
Peter Xu <peterx@...hat.com>, Ben Gardon <bgardon@...gle.com>,
Mingwei Zhang <mizhang@...gle.com>
Subject: [PATCH v2 0/2] selftests: verify page stats in kvm x86/mmu
This patch set leverages the existing dirty logging performance selftest to
verify whether the page stats work correctly in KVM x86/mmu especially with
the consequence of dirty logging.
v1 -> v2:
- split the page alignment fix into a different commit [bgardon]
- update the TEST_ASSERT conditions [bgardon]
Mingwei Zhang (2):
selftests: KVM: align guest physical memory base address to 1GB
selftests: KVM: use dirty logging to check if page stats work
correctly
.../selftests/kvm/dirty_log_perf_test.c | 44 +++++++++++++++++++
.../testing/selftests/kvm/include/test_util.h | 1 +
.../selftests/kvm/include/x86_64/processor.h | 7 +++
.../selftests/kvm/lib/perf_test_util.c | 8 ++--
tools/testing/selftests/kvm/lib/test_util.c | 29 ++++++++++++
5 files changed, 85 insertions(+), 4 deletions(-)
--
2.33.0.259.gc128427fd7-goog
Powered by blists - more mailing lists