Skip to content

KVM: selftests: Annotate guest printfs as such

Sean Christopherson kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Annotate the relevant helpers. [Maxim]
- Fix all other warnings (v1 fixed only the MWAIT error message)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: selftests: Fix MWAIT error message when guest assertion failstools/testing/selftests/kvm/x86_64/monitor_mwait_test.c+4 -20 replies
2/4KVM: selftests: Fix benign %llx vs. %lx issues in guest assertstools/testing/selftests/kvm/set_memory_region_test.c tools/testing/selftests/kvm/x86_64/hyperv_features.c tools/testing/selftests/kvm/x86_64/private_mem_conversions_test.c +3 more+12 -120 replies
3/4KVM: selftests: Fix broken assert messages in Hyper-V features testtools/testing/selftests/kvm/x86_64/hyperv_features.c+4 -40 replies
4/4KVM: selftests: Annotate guest ucall, printf, and assert helpers with __printf()tools/testing/selftests/kvm/include/test_util.h tools/testing/selftests/kvm/include/ucall_common.h+5 -40 replies

Reviews trailers per patch

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

PatchMaxim Levitsky
1/4R-b
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 v2 thread

Cover letter [PATCH v2 0/4] KVM: selftests: Annotate guest printfs as such

Fix a handful of broken guest assert/printf messages, and annotate guest ucall, printf, and assert helpers with __printf() so that such breakage is detected by the compiler.

v2:
- Annotate the relevant helpers. [Maxim]
- Fix all other warnings (v1 fixed only the MWAIT error message)

v1: https://lore.kernel.org/all/[email protected]

Sean Christopherson (4):
KVM: selftests: Fix MWAIT error message when guest assertion fails
KVM: selftests: Fix benign %llx vs. %lx issues in guest asserts
KVM: selftests: Fix broken assert messages in Hyper-V features test
KVM: selftests: Annotate guest ucall, printf, and assert helpers with

    __printf()
 tools/testing/selftests/kvm/include/test_util.h        |  2 +-
 tools/testing/selftests/kvm/include/ucall_common.h     |  7 ++++---
 tools/testing/selftests/kvm/set_memory_region_test.c   |  6 +++---
 tools/testing/selftests/kvm/x86_64/hyperv_features.c   | 10 +++++-----
 .../testing/selftests/kvm/x86_64/monitor_mwait_test.c  |  6 ++++--
 .../kvm/x86_64/private_mem_conversions_test.c          |  2 +-
 .../selftests/kvm/x86_64/svm_nested_soft_inject_test.c |  4 ++--
 tools/testing/selftests/kvm/x86_64/vmx_pmu_caps_test.c |  2 +-
 tools/testing/selftests/kvm/x86_64/xcr0_cpuid_test.c   |  8 ++++----
 9 files changed, 25 insertions(+), 22 deletions(-)

base-commit: 6803fb00772cc50cd59a66bd8caaee5c84b13fcf

Signature · 1 line
2.43.0.rc1.413.gea7ed67945-goog