Switch iotests to using Async QMP
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest8 patches 8 repliesIn review
- v48 patches 5 repliesSuperseded
- v37 patches 11 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 17 patches | 19 replies | Superseded | |
| v1 | 15 patches | 35 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | python/machine: remove has_quit argumentpython/ tests/ tests/ +1 more | +22 | 0 replies | |
| 2/8 | python/machine: Handle QMP errors on close more meticulouslypython/ | +42 | 4 replies | |
| 3/8 | python/aqmp: Remove scary messagepython/ | +0 | 0 replies | |
| 4/8 | iotests: Accommodate async QMP Exception classesscripts/ tests/ | +5 | 0 replies | |
| 5/8 | iotests: Conditionally silence certain AQMP errorstests/ tests/ | +27 | 0 replies | |
| 6/8 | iotests/300: avoid abnormal shutdown race conditiontests/ | +5 | 2 replies | |
| 7/8 | python/aqmp: Create sync QMP wrapper for iotestspython/ | +138 | 0 replies | |
| 8/8 | python, iotests: replace qmp with aqmppython/ | +6 | 0 replies |
Reviews trailers per patch
6 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Hanna Reitz | Kevin Wolf |
|---|---|---|
| Series | R-b | |
| 1/8 | R-b | |
| 2/8 | R-b | |
| 3/8 | A-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | ||
| 7/8 | A-b | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/8] Switch iotests to using Async QMP
GitLab: https://gitlab.com/jsnow/qemu/-/commits/python-aqmp-iotest-wrapper
CI: https://gitlab.com/jsnow/qemu/-/pipelines/395925703
Hiya,
This series continues where the last two AQMP series left off and adds a synchronous 'legacy' wrapper around the new AQMP interface, then drops it straight into iotests to prove that AQMP is functional and totally cool and fine. The disruption and churn to iotests is pretty minimal.
In the event that a regression happens and I am not physically proximate to inflict damage upon, one may set the QEMU_PYTHON_LEGACY_QMP variable to any non-empty string as it pleases you to engage the QMP machinery you are used to.
V5:
006: Fixed a typing error. (Hanna)
V4:
006: Added to address a race condition in iotest 300.
(Thanks for the repro, Hanna)
V3: Near as we can tell, our immediate ancestral forebear.
V2: A distant dream, half-remembered.
V1: Apocrypha.
John Snow (8):
python/machine: remove has_quit argument python/machine: Handle QMP errors on close more meticulously python/aqmp: Remove scary message
iotests: Accommodate async QMP Exception classes
iotests: Conditionally silence certain AQMP errors iotests/300: avoid abnormal shutdown race condition python/aqmp: Create sync QMP wrapper for iotests python, iotests: replace qmp with aqmp
python/qemu/aqmp/__init__.py | 12 -- python/qemu/aqmp/legacy.py | 138 ++++++++++++++++++++++ python/qemu/machine/machine.py | 85 +++++++++---- scripts/simplebench/bench_block_job.py | 3 +- tests/qemu-iotests/040 | 7 +- tests/qemu-iotests/218 | 2 +- tests/qemu-iotests/255 | 2 +- tests/qemu-iotests/300 | 13 +- tests/qemu-iotests/iotests.py | 20 +++- tests/qemu-iotests/tests/mirror-top-perms | 17 ++- 10 files changed, 243 insertions(+), 56 deletions(-) create mode 100644 python/qemu/aqmp/legacy.py
Signature · 1 line
2.31.1