Skip to content

Make HMP optional - follow-up

Marc-André Lureau qemu-arm qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20260906-nohmp-1d29f0c7494d

Versions newest first

  1. v3 Latest9 patches 4 repliesIn review
  2. v210 patches 2 repliesSuperseded
  3. v19 patches 14 repliesSuperseded

Changes in v3 from the cover letter

- back to skipTestIfNoHMP()
- handle QMP screendump CommandNotFound, skip test
- Link to v2: https://lore.kernel.org/qemu-devel/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9tests/functional: replace HMP with QMPtests/functional/arm/test_integratorcp.py tests/functional/m68k/test_nextcube.py tests/functional/mips64el/test_malta.py+23 -142 replies
2/9tests/functional: add skipTestIfNoHMP() helpertests/functional/qemu_test/testcase.py+6 -00 replies
3/9tests/functional: skip some tests that require HMPtests/functional/m68k/test_nextcube.py tests/functional/ppc/test_ppe42.py+2 -00 replies
4/9tests/functional/s390x: use QMP for balloontests/functional/s390x/test_ccw_virtio.py+2 -20 replies
5/9tests/ahci-test: replace HMP usage with QMPtests/qtest/ahci-test.c+2 -31 reply
6/9tests/qtest: add qtest_qmp_job_wait()tests/qtest/libqtest.c tests/qtest/libqtest.h+48 -00 replies
7/9tests/ide-test: convert to QMPtests/qtest/ide-test.c+28 -91 reply
8/9tests/drive_del-test: compile out HMP-dependent tests when !CONFIG_HMPtests/qtest/drive_del-test.c+22 -250 replies
9/9qtest: compile out HMP helper when !CONFIG_HMPtests/qtest/libqtest.c tests/qtest/libqtest.h+4 -00 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchDaniel P. BerrangéThomas HuthDenis V. Lunev
1/9R-b
2/9R-b
3/9R-b
4/9R-b R-b
5/9R-b R-b
6/9R-b
7/9R-b R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/9] Make HMP optional - follow-up

Hi,

Fix the issues that Peter reported while merging "[GIT PULL 00/50] Make HMP optional".

---
Changes in v3:
- back to skipTestIfNoHMP()
- handle QMP screendump CommandNotFound, skip test
- Link to v2: https://lore.kernel.org/qemu-devel/[email protected]

Changes in v2:
- replaced skipTestIfNoHMP() with more versatile @skipUnlessConfig()
- rebased on staging, added r-b tags
- Link to v1: https://lore.kernel.org/qemu-devel/[email protected]

---
Marc-André Lureau (9):
tests/functional: replace HMP with QMP
tests/functional: add skipTestIfNoHMP() helper tests/functional: skip some tests that require HMP tests/functional/s390x: use QMP for balloon tests/ahci-test: replace HMP usage with QMP
tests/qtest: add qtest_qmp_job_wait()
tests/ide-test: convert to QMP
tests/drive_del-test: compile out HMP-dependent tests when !CONFIG_HMP
qtest: compile out HMP helper when !CONFIG_HMP

 tests/functional/arm/test_integratorcp.py | 13 +++++----
 tests/functional/m68k/test_nextcube.py    | 12 +++++---
 tests/functional/mips64el/test_malta.py   | 13 +++++----
 tests/functional/ppc/test_ppe42.py        |  1 +
 tests/functional/qemu_test/testcase.py    |  6 ++++
 tests/functional/s390x/test_ccw_virtio.py |  4 +--
 tests/qtest/ahci-test.c                   |  5 ++--
 tests/qtest/drive_del-test.c              | 47 +++++++++++++++----------------
 tests/qtest/ide-test.c                    | 37 ++++++++++++++++++------
 tests/qtest/libqtest.c                    | 39 +++++++++++++++++++++++++
 tests/qtest/libqtest.h                    | 13 +++++++++
 11 files changed, 137 insertions(+), 53 deletions(-)

---
base-commit: cacd3462963a0a4f5bab4263ce79c2aa4b32692d
change-id: 20260906-nohmp-1d29f0c7494d

Best regards,

Signature · 1 line
Marc-André Lureau <[email protected]>