qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/14] Fix some qapi examples and a TODO section
@ 2022-03-25 22:06 Victor Toso
  2022-03-25 22:06 ` [PATCH v2 01/14] qapi: BlockExportRemoveMode: move comments to TODO Victor Toso
                   ` (13 more replies)
  0 siblings, 14 replies; 21+ messages in thread
From: Victor Toso @ 2022-03-25 22:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: John Snow, Eric Blake, Markus Armbruster

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 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 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(-)

-- 
2.35.1



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-03-28 13:51 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 22:06 [PATCH v2 00/14] Fix some qapi examples and a TODO section Victor Toso
2022-03-25 22:06 ` [PATCH v2 01/14] qapi: BlockExportRemoveMode: move comments to TODO Victor Toso
2022-03-25 22:06 ` [PATCH v2 02/14] qapi: fix example of BLOCK_IMAGE_CORRUPTED event Victor Toso
2022-03-28  8:54   ` Markus Armbruster
2022-03-28  9:06     ` Victor Toso
2022-03-28 11:19       ` Markus Armbruster
2022-03-28 13:22         ` Victor Toso
2022-03-28  9:05   ` [PATCH v2.1] " Victor Toso
2022-03-28 11:16     ` Markus Armbruster
2022-03-25 22:06 ` [PATCH v2 03/14] qapi: fix example of BLOCK_IO_ERROR event Victor Toso
2022-03-25 22:06 ` [PATCH v2 04/14] qapi: fix example of BLOCK_JOB_PENDING event Victor Toso
2022-03-25 22:06 ` [PATCH v2 05/14] qapi: fix example of DUMP_COMPLETED event Victor Toso
2022-03-25 22:06 ` [PATCH v2 06/14] qapi: fix example of MEMORY_DEVICE_SIZE_CHANGE event Victor Toso
2022-03-25 22:07 ` [PATCH v2 07/14] qapi: fix example of UNPLUG_PRIMARY event Victor Toso
2022-03-25 22:07 ` [PATCH v2 08/14] qapi: fix example of FAILOVER_NEGOTIATED event Victor Toso
2022-03-25 22:07 ` [PATCH v2 09/14] qapi: fix examples: SHUTDOWN and RESET events Victor Toso
2022-03-25 22:07 ` [PATCH v2 10/14] qapi: run-state examples: add missing timestamp Victor Toso
2022-03-25 22:07 ` [PATCH v2 11/14] qapi: fix example of MEMORY_FAILURE Victor Toso
2022-03-25 22:07 ` [PATCH v2 12/14] qapi: ui examples: add missing websocket member Victor Toso
2022-03-25 22:07 ` [PATCH v2 13/14] qapi: fix example of ACPI_DEVICE_OST event Victor Toso
2022-03-25 22:07 ` [PATCH v2 14/14] qapi: fix example of dump-guest-memory Victor Toso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).