QAPI schema: turn example commands/returns into proper JSON
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | QAPI schema: turn example commands/returns into proper JSONqapi-schema.json qapi/ qapi/ | +21 | 3 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/1] QAPI schema: turn example commands/returns into proper JSON
The QAPI schema documentation sections contain examples of QMP input and output. These are supposed to follow the "JSON-based" wire protocol, but in practice, there are a few data structure problems and also documentation.
This turns all inputs and outputs into parseable JSON-like data. Besides allowing humans to copy and paste the examples without surprises, this also paves the way towards automatic execution of examples as tests.
Cleber Rosa(1):
QAPI schema: turn example commands/returns into proper JSON
qapi-schema.json | 9 ++++----- qapi/block-core.json | 32 ++++++++++++++++---------------- qapi/rocker.json | 5 +---- 3 files changed, 21 insertions(+), 25 deletions(-)