Skip to content

qapi: qapi: convert simple event intro sections

John Snow qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qapi: convert simple event intros for qdev.jsonqapi/qdev.json+4 -50 replies
2/5qapi: convert simple event intros for net.jsonqapi/net.json+4 -50 replies
3/5qapi: convert simple event intros for migration.jsonqapi/migration.json+4 -51 reply
4/5qapi: convert simple event intros for machine.jsonqapi/machine.json+6 -81 reply
5/5qapi: convert simple event intros for block-core.jsonqapi/block-core.json+14 -161 reply

Reviews trailers per patch

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

PatchFabiano RosasMarkus Armbruster
SeriesR-b
1/5
2/5
3/5A-b
4/5
5/5

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 0/5] qapi: qapi: convert simple event intro sections

Hello, this work converts "simple" intro sections for event 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 event definitions cannot be inlined by any other definition, the documentation text for events 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 (5):
qapi: convert simple event intros for qdev.json
qapi: convert simple event intros for net.json
qapi: convert simple event intros for migration.json
qapi: convert simple event intros for machine.json
qapi: convert simple event intros for block-core.json

 qapi/block-core.json | 30 ++++++++++++++----------------
 qapi/machine.json    | 14 ++++++--------
 qapi/migration.json  |  9 ++++-----
 qapi/net.json        |  9 ++++-----
 qapi/qdev.json       |  9 ++++-----
 5 files changed, 32 insertions(+), 39 deletions(-)
Signature · 1 line
2.55.0