Skip to content

qapi: convert simple command intro sections

John Snow linux-cxl qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12qapi: convert simple command intros for ebpf.jsonqapi/ebpf.json+4 -40 replies
2/12qapi: convert simple command intros for yank.jsonqapi/yank.json+2 -30 replies
3/12qapi: convert simple command intros for replay.jsonqapi/replay.json+18 -210 replies
4/12qapi: convert simple command intros for machine-s390x.jsonqapi/machine-s390x.json+3 -40 replies
5/12qapi: convert simple command intros for dump.jsonqapi/dump.json+2 -30 replies
6/12qapi: convert simple command intros for block-export.jsonqapi/block-export.json+9 -90 replies
7/12qapi: convert simple command intros for block.jsonqapi/block.json+4 -40 replies
8/12qapi: convert simple command intros for cxl.jsonqapi/cxl.json+34 -400 replies
9/12qapi: convert simple command intros for ui.jsonqapi/ui.json+5 -60 replies
10/12qapi: convert simple command intros for migration.jsonqapi/migration.json+22 -290 replies
11/12qapi: convert simple command intros for machine.jsonqapi/machine.json+8 -100 replies
12/12qapi: convert simple command intros for block-core.jsonqapi/block-core.json+46 -503 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarkus Armbruster
SeriesR-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

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

Read the v1 thread

Cover letter [PATCH 00/12] qapi: convert simple command intro sections

Hello, this work converts "simple" intro sections for command definitions in the QAPI schema to use the new syntax. This is part of our ongoing effort to add the mythical "inliner" to our generated QMP documentation.

"simple" here is a non-technical distinction that means a single paragraph of text followed by an existing section boundary that naturally already delineates what comprises the intro. (This is about 25% of the remaining conversions.)

If you are a non-QAPI maintainer who has been CC'd on this series, there is likely very little for you to look at in this series. What you need to know is that indented paragraphs become part of a command's "intro" and will appear "above the fold" - above additional detail in our generated QMP documentation (i.e. features, arguments, return value, errors, etc) and anything else will eventually appear "below the fold" - below the detail table, alongside examples, notes, and more verbose prose.

As command definitions cannot be inlined by any other definition, the documentation text for commands will never be re-written or reproduced in any other context. As such, the distinction between "intro" and "details" are less important here, but the distinction does still determine where auto-generated documentation will be inserted, if any:
i.e. features, arguments, and return values will always be inserted "after the intro".

John Snow (12):
qapi: convert simple command intros for ebpf.json
qapi: convert simple command intros for yank.json
qapi: convert simple command intros for replay.json
qapi: convert simple command intros for machine-s390x.json
qapi: convert simple command intros for dump.json
qapi: convert simple command intros for block-export.json
qapi: convert simple command intros for block.json
qapi: convert simple command intros for cxl.json
qapi: convert simple command intros for ui.json
qapi: convert simple command intros for migration.json
qapi: convert simple command intros for machine.json
qapi: convert simple command intros for block-core.json

 qapi/block-core.json    | 96 ++++++++++++++++++++---------------------
 qapi/block-export.json  | 18 ++++----
 qapi/block.json         |  8 ++--
 qapi/cxl.json           | 74 +++++++++++++++----------------
 qapi/dump.json          |  5 +--
 qapi/ebpf.json          |  8 ++--
 qapi/machine-s390x.json |  7 ++-
 qapi/machine.json       | 18 ++++----
 qapi/migration.json     | 51 ++++++++++------------
 qapi/replay.json        | 39 ++++++++---------
 qapi/ui.json            | 11 +++--
 qapi/yank.json          |  5 +--
 12 files changed, 157 insertions(+), 183 deletions(-)
Signature · 1 line
2.55.0