] qmp: Fixes and cleanups around OOB commands
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest32 patches 5 repliesIn review
- v132 patches 52 repliesSuperseded
Changes in v2 from the cover letter
* Rebased (no conflicts)
* PATCH 03
- Spelling fixes [Eric]
- Use the greeting we expect for the release in examples [Eric]
* PATCH 05
- Commit message improvement [Eric]
- Avoid side effect in g_assert() [Eric]
- Clarify in source that migrate-pause is expected to fail [Eric]
* PATCH 07
- Add advice on the need to use "id" with out-of-band commands to documentation [Eric]
- Tweak commit message
* PATCH 08
- Comment tweak [Eric]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/32 | qmp: Say "out-of-band" instead of "Out-Of-Band"docs/ docs/ monitor.c +3 more | +12 | 0 replies | |
| 2/32 | monitor: Spell "I/O thread" consistently in commentsmonitor.c | +17 | 0 replies | |
| 3/32 | docs/interop/qmp: Improve OOB documentationdocs/ docs/ | +56 | 2 replies | |
| 4/32 | qmp: Document COMMAND_DROPPED design flawmonitor.c qapi/ | +9 | 0 replies | |
| 5/32 | qmp: Get rid of x-oob-test commandqapi/ qmp.c tests/ | +66 | 1 reply | |
| 6/32 | tests/qmp-test: Test in-band command doesn't overtaketests/ | +2 | 0 replies | |
| 7/32 | qmp: Make "id" optional again even in "oob" monitorsdocs/ monitor.c | +7 | 1 reply | |
| 8/32 | tests/test-qga: Demonstrate the guest-agent ignores "id"tests/ | +20 | 0 replies | |
| 9/32 | qmp qemu-ga: Revert change that accidentally made qemu-ga accept "id"monitor.c qapi/ tests/ | +13 | 0 replies | |
| 10/32 | tests/test-qga: Demonstrate the guest-agent ignores "control"tests/ | +17 | 0 replies | |
| 11/32 | qmp qemu-ga: Fix qemu-ga not to accept "control"include/ monitor.c qapi/ +3 more | +24 | 0 replies | |
| 12/32 | qmp: Redo how the client requests out-of-band executiondocs/ docs/ monitor.c +3 more | +39 | 1 reply | |
| 13/32 | qmp: Revert change to handle_qmp_command tracepointmonitor.c | +6 | 0 replies | |
| 14/32 | qmp: Always free QMPRequest with qmp_request_free()monitor.c | +2 | 0 replies | |
| 15/32 | qmp: Simplify code around monitor_qmp_dispatch_one()monitor.c | +24 | 0 replies | |
| 16/32 | tests/qmp-test: Demonstrate QMP errors jumping the queuemonitor.c tests/ | +8 | 0 replies | |
| 17/32 | qmp: Don't let malformed in-band commands jump the queueinclude/ monitor.c qapi/ +1 more | +30 | 0 replies | |
| 18/32 | qmp: Don't let JSON errors jump the queuemonitor.c | +15 | 0 replies | |
| 19/32 | monitor: Rename use_io_thr to use_io_threadmonitor.c | +11 | 0 replies | |
| 20/32 | monitor: Peel off @mon_global wrappermonitor.c | +29 | 0 replies | |
| 21/32 | qobject: New qdict_from_jsonf_nofail()include/ qobject/ | +20 | 0 replies | |
| 22/32 | qmp: De-duplicate error response buildinginclude/ monitor.c qapi/ +1 more | +15 | 0 replies | |
| 23/32 | qmp: Use QDict * instead of QObject * for response objectsinclude/ monitor.c qapi/ +2 more | +32 | 0 replies | |
| 24/32 | qmp: Replace monitor_json_emitter{, raw}() by qmp_{queue, send}_response()monitor.c | +10 | 0 replies | |
| 25/32 | qmp: Replace get_qmp_greeting() by qmp_greeting()monitor.c | +7 | 0 replies | |
| 26/32 | qmp: Simplify monitor_qmp_respond()monitor.c | +10 | 0 replies | |
| 27/32 | qmp: Add some comments around null responsesqapi/ | +2 | 0 replies | |
| 28/32 | qmp: Switch timestamp_put() to qdict_from_jsonf_nofail()qapi/ | +5 | 0 replies | |
| 29/32 | qobject: Let qobject_from_jsonf() fail instead of abortqobject/ | +0 | 0 replies | |
| 30/32 | qmp: Clean up capability negotiation after commit 02130314d8cmonitor.c | +40 | 0 replies | |
| 31/32 | monitor: Improve some commentsmonitor.c | +45 | 0 replies | |
| 32/32 | qapi: Polish command flags documentation in qapi-code-gen.txtdocs/ | +25 | 0 replies |
Reviews trailers per patch
All 32 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 00/32] ] qmp: Fixes and cleanups around OOB commands
We're trying to get the out-of-band execution feature ready. This series fixes a number of issues, and marks a design flaw FIXME. More work is needed.
I pushed the series to my public repository for your convenience:
http://repo.or.cz/qemu/armbru.git/shortlog/refs/heads/oob-fixes
v2:
* Rebased (no conflicts)
* PATCH 03
- Spelling fixes [Eric]
- Use the greeting we expect for the release in examples [Eric]
* PATCH 05
- Commit message improvement [Eric]
- Avoid side effect in g_assert() [Eric]
- Clarify in source that migrate-pause is expected to fail [Eric]
* PATCH 07
- Add advice on the need to use "id" with out-of-band commands to documentation [Eric]
- Tweak commit message
* PATCH 08
- Comment tweak [Eric]
Markus Armbruster (32):
qmp: Say "out-of-band" instead of "Out-Of-Band"
monitor: Spell "I/O thread" consistently in comments docs/interop/qmp: Improve OOB documentation
qmp: Document COMMAND_DROPPED design flaw
qmp: Get rid of x-oob-test command
tests/qmp-test: Test in-band command doesn't overtake
qmp: Make "id" optional again even in "oob" monitors tests/test-qga: Demonstrate the guest-agent ignores "id" qmp qemu-ga: Revert change that accidentally made qemu-ga accept "id" tests/test-qga: Demonstrate the guest-agent ignores "control" qmp qemu-ga: Fix qemu-ga not to accept "control"
qmp: Redo how the client requests out-of-band execution
qmp: Revert change to handle_qmp_command tracepoint
qmp: Always free QMPRequest with qmp_request_free()
qmp: Simplify code around monitor_qmp_dispatch_one() tests/qmp-test: Demonstrate QMP errors jumping the queue
qmp: Don't let malformed in-band commands jump the queue
qmp: Don't let JSON errors jump the queue
monitor: Rename use_io_thr to use_io_thread
monitor: Peel off @mon_global wrapper
qobject: New qdict_from_jsonf_nofail()
qmp: De-duplicate error response building
qmp: Use QDict * instead of QObject * for response objects
qmp: Replace monitor_json_emitter{,raw}() by
qmp_{queue,send}_response() qmp: Replace get_qmp_greeting() by qmp_greeting()
qmp: Simplify monitor_qmp_respond()
qmp: Add some comments around null responses
qmp: Switch timestamp_put() to qdict_from_jsonf_nofail()
qobject: Let qobject_from_jsonf() fail instead of abort
qmp: Clean up capability negotiation after commit 02130314d8c
monitor: Improve some comments
qapi: Polish command flags documentation in qapi-code-gen.txt
docs/devel/qapi-code-gen.txt | 63 ++- docs/interop/qmp-intro.txt | 13 +- docs/interop/qmp-spec.txt | 85 ++-- include/qapi/qmp/dispatch.h | 6 +- include/qapi/qmp/qjson.h | 2 + monitor.c | 507 ++++++++++-------------- qapi/misc.json | 23 +- qapi/qmp-dispatch.c | 97 ++--- qapi/qmp-event.c | 10 +- qga/main.c | 18 +- qmp.c | 16 - qobject/qjson.c | 23 +- tests/qapi-schema/qapi-schema-test.json | 2 +- tests/qmp-test.c | 106 +++-- tests/test-qga.c | 34 ++ tests/test-qmp-cmds.c | 23 +- 16 files changed, 506 insertions(+), 522 deletions(-)
Signature · 1 line
2.17.1