Skip to content

report is nice, use it more

Andrew Jones kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10x86: hypercall: add missing report_summaryx86/hypercall.c+1 -10 replies
2/10x86: pmu: report takes a fmtx86/pmu.c+1 -32 replies
3/10x86: vmx: better use of reportx86/vmx_tests.c+49 -1550 replies
4/10x86: tsc_adjust: use reportx86/tsc_adjust.c+13 -310 replies
5/10x86: svm: use reportx86/svm.c+8 -170 replies
6/10x86: asyncpf: use reportx86/asyncpf.c+6 -90 replies
7/10x86: xsave: use reportx86/xsave.c+56 -940 replies
8/10report: add prefix supportlib/libcflat.h lib/report.c lib/string.c +1 more+42 -00 replies
9/10x86: use report prefixesx86/apic.c x86/pmu.c+22 -100 replies
10/10arm: use report prefixesarm/selftest.c+12 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH kvm-unit-tests 00/10] report is nice, use it more

This series applies report() to more x86 unit tests. It also cleans up some uses of it in vmx_tests. Finally, it also introduces report prefix support, and applies that a few places. There should be no functional changes with this series, except of course the output formatting (which makes the churn debatable). Anyway, I believe this series helps us to start converging on a "standard" output format for all unit tests.

I'm afraid I didn't test all the changes, as not all unit tests could run on my test machine.
svm - didn't run
xsave - didn't run 'have xsave' tests
asyncpf - is commented out of unittests.cfg,
and I didn't uncomment it out
pmu - didn't run

(I probably should add a bunch of kvm-unit-tests contributors to
the CC in order to alert them that I'm touching their unit tests, but I don't think this series warrants all the git blaming, so I'm not adding anybody at all :-)

Andrew Jones (10):
x86: hypercall: add missing report_summary
x86: pmu: report takes a fmt
x86: vmx: better use of report
x86: tsc_adjust: use report
x86: svm: use report
x86: asyncpf: use report
x86: xsave: use report
report: add prefix support
x86: use report prefixes
arm: use report prefixes

 arm/selftest.c   |  31 ++++-----
 lib/libcflat.h   |   2 +
 lib/report.c     |  22 ++++++
 lib/string.c     |  17 +++++
 lib/string.h     |   1 +
 x86/apic.c       |   8 ++-
 x86/asyncpf.c    |  15 ++--
 x86/hypercall.c  |   2 +-
 x86/pmu.c        |  28 +++++---
 x86/svm.c        |  25 +++----
 x86/tsc_adjust.c |  44 ++++--------
 x86/vmx_tests.c  | 204 +++++++++++++------------------------------------------
 x86/xsave.c      | 150 +++++++++++++++-------------------------
 13 files changed, 210 insertions(+), 339 deletions(-)
Signature · 1 line
1.9.3