Skip to content

Fix some qapi examples and a TODO section

Victor Toso qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 14 repliesIn review
  2. v214 patches 4 repliesSuperseded
  3. v114 patches 31 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14qapi: BlockExportRemoveMode: move comments to TODOqapi/block-export.json+5 -50 replies
2/14qapi: fix example of BLOCK_IMAGE_CORRUPTED eventqapi/block-core.json+3 -41 reply
3/14qapi: fix example of BLOCK_IO_ERROR eventqapi/block-core.json+2 -11 reply
4/14qapi: fix example of BLOCK_JOB_PENDING eventqapi/block-core.json+2 -20 replies
5/14qapi: fix example of DUMP_COMPLETED eventqapi/dump.json+4 -30 replies
6/14qapi: fix example of MEMORY_DEVICE_SIZE_CHANGE eventqapi/machine.json+2 -10 replies
7/14qapi: fix example of UNPLUG_PRIMARY eventqapi/migration.json+3 -11 reply
8/14qapi: fix example of FAILOVER_NEGOTIATED eventqapi/net.json+4 -21 reply
9/14qapi: fix examples: SHUTDOWN and RESET eventsqapi/run-state.json+4 -21 reply
10/14qapi: run-state examples: add missing @timestampqapi/run-state.json+4 -21 reply
11/14qapi: fix example of MEMORY_FAILUREqapi/run-state.json+3 -12 replies
12/14qapi: ui examples: add missing @websocket memberqapi/ui.json+6 -61 reply
13/14qapi: fix example of ACPI_DEVICE_OST eventqapi/acpi.json+3 -21 reply
14/14qapi: fix example of dump-guest-memoryqapi/dump.json+1 -11 reply

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarkus ArmbrusterJohn Snow
SeriesR-b
1/14R-b R-b
2/14R-b
3/14R-b
4/14R-b R-b
5/14R-b R-b
6/14R-b R-b
7/14R-b R-b
8/14R-b R-b
9/14R-b R-b
10/14R-b R-b
11/14R-b R-b
12/14R-b R-b
13/14R-b R-b
14/14R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 00/14] Fix some qapi examples and a TODO section

Hi,

I've being using the examples as unit tests and found a few that doesn't work out-of-the-box, might be inteded in order to be less verbose in the qapi documentation but nevertheless I'm sending this out in case you want to cherry-pick them.

* Changes in v3:
Improved commit log from patch 03 to 14 with suggetions based on:

    https://lists.gnu.org/archive/html/qemu-devel/2022-03/msg06490.html

* Changes in v2:
02/14: qapi: fix example of BLOCK_IMAGE_CORRUPTED event
- changed the example to an actual error picked from qemu-iotests/60.out
- added recent timestamp :)
03/14: qapi: fix example of BLOCK_IO_ERROR event
- use real error message, in this case "No space left on device"
04/14: qapi: fix example of BLOCK_JOB_PENDING event
- added an extra space
- added recent timestamp
07/14: qapi: fix example of UNPLUG_PRIMARY event
- amended commit message
08/14: qapi: fix example of FAILOVER_NEGOTIATED event
- fixed syntax for proper document parameter
09/14: qapi: run-state examples: add missing member
- fixed commit message
10/14: qapi: run-state examples: add missing timestamp
- added chronological timestamps ;)

Cheers,
Victor

Victor Toso (14):
qapi: BlockExportRemoveMode: move comments to TODO
qapi: fix example of BLOCK_IMAGE_CORRUPTED event
qapi: fix example of BLOCK_IO_ERROR event
qapi: fix example of BLOCK_JOB_PENDING event
qapi: fix example of DUMP_COMPLETED event
qapi: fix example of MEMORY_DEVICE_SIZE_CHANGE event
qapi: fix example of UNPLUG_PRIMARY event
qapi: fix example of FAILOVER_NEGOTIATED event
qapi: fix examples: SHUTDOWN and RESET events
qapi: run-state examples: add missing @timestamp
qapi: fix example of MEMORY_FAILURE
qapi: ui examples: add missing @websocket member
qapi: fix example of ACPI_DEVICE_OST event
qapi: fix example of dump-guest-memory

 qapi/acpi.json         |  5 +++--
 qapi/block-core.json   | 14 +++++++-------
 qapi/block-export.json | 10 +++++-----
 qapi/dump.json         |  9 +++++----
 qapi/machine.json      |  3 ++-
 qapi/migration.json    |  4 +++-
 qapi/net.json          |  6 ++++--
 qapi/run-state.json    | 16 +++++++++++-----
 qapi/ui.json           | 12 ++++++------
 9 files changed, 46 insertions(+), 33 deletions(-)
Signature · 1 line
2.35.1