Skip to content

selftests: KVM: verify page stats in kvm x86/mmu

Mingwei Zhang kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesIn review
  2. v22 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- fix the build error. [mizhang]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests: KVM: align guest physical memory base address to 1GBtools/testing/selftests/kvm/lib/perf_test_util.c+4 -41 reply
2/2selftests: KVM: use dirty logging to check if page stats work correctlytools/testing/selftests/kvm/dirty_log_perf_test.c tools/testing/selftests/kvm/include/test_util.h tools/testing/selftests/kvm/include/x86_64/processor.h +1 more+81 -04 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBen Gardon
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] selftests: KVM: 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.

v2 -> v3:
- fix the build error. [mizhang]

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