Skip to content

KVM: selftests: Fixups for overhaul

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: selftests: Add a missing apostrophe in comment to show ownershiptools/testing/selftests/kvm/lib/kvm_util.c+1 -13 replies
2/4KVM: selftests: Call a dummy helper in VM/vCPU ioctls() to enforce typetools/testing/selftests/kvm/include/kvm_util_base.h+31 -260 replies
3/4KVM: selftests: Drop a duplicate TEST_ASSERT() in vm_nr_pages_required()tools/testing/selftests/kvm/lib/kvm_util.c+0 -40 replies
4/4KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possibletools/testing/selftests/kvm/aarch64/psci_test.c tools/testing/selftests/kvm/lib/x86_64/processor.c tools/testing/selftests/kvm/s390x/sync_regs_test.c +4 more+10 -100 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndrew Jones
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] KVM: selftests: Fixups for overhaul

Fixups for the overhaul, all of which come from Drew's code review. The first three should all squash cleanly, but the kvm_check_cap() patch will not due to crossing the TEST_REQUIRE() boundary.

Sean Christopherson (4):
KVM: selftests: Add a missing apostrophe in comment to show ownership
KVM: selftests: Call a dummy helper in VM/vCPU ioctls() to enforce
type
KVM: selftests: Drop a duplicate TEST_ASSERT() in
vm_nr_pages_required()
KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possible

 .../testing/selftests/kvm/aarch64/psci_test.c |  2 +-
 .../selftests/kvm/include/kvm_util_base.h     | 57 ++++++++++---------
 tools/testing/selftests/kvm/lib/kvm_util.c    |  6 +-
 .../selftests/kvm/lib/x86_64/processor.c      |  4 +-
 .../selftests/kvm/s390x/sync_regs_test.c      |  2 +-
 .../kvm/x86_64/pmu_event_filter_test.c        |  2 +-
 .../selftests/kvm/x86_64/sev_migrate_tests.c  |  6 +-
 tools/testing/selftests/kvm/x86_64/smm_test.c |  2 +-
 .../testing/selftests/kvm/x86_64/state_test.c |  2 +-
 9 files changed, 42 insertions(+), 41 deletions(-)

base-commit: 8baacf67c76c560fed954ac972b63e6e59a6fba0

Signature · 1 line
2.36.1.476.g0c4daa206d-goog