linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/43] qapi: convert (very) trivial intro sections
@ 2026-08-31 20:19 John Snow
  2026-08-31 20:19 ` [PATCH v4 01/43] qapi: convert trivial intro sections for error.json John Snow
                   ` (43 more replies)
  0 siblings, 44 replies; 49+ messages in thread
From: John Snow @ 2026-08-31 20:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Marc-André Lureau, Lukas Straub, Alex Bennée,
	Richard Henderson, zhenwei pi, Jonathan Cameron, Paolo Bonzini,
	Stefan Hajnoczi, Markus Armbruster, Vladimir Sementsov-Ogievskiy,
	Jiri Pirko, Philippe Mathieu-Daudé, qemu-block, Ani Sinha,
	Jason Wang, linux-cxl, Daniel P. Berrangé, Igor Mammedov,
	Hanna Reitz, Alex Williamson, Stefan Berger, Michael S. Tsirkin,
	Laurent Vivier, linux-edac, Michael Tokarev, John Snow,
	Fabiano Rosas, Zhao Liu, Gonglei (Arei), Eric Blake, Peter Xu,
	Gerd Hoffmann, Kevin Wolf, Mauro Carvalho Chehab, qemu-trivial,
	Cédric Le Goater

v4:
 - Added r-b's from various folks
 - Dropped a few conversion cases that were just simply not trivial enough.

   If you are a non-qapi/non-docs maintainer being CC'd on this patch,
   there is **very likely** nothing for you to do here; we are only
   changing spacing and syntax, but not modifying content in any way
   in this series in particular. Please feel free to mark-as-read and
   move on with your day.

v3:
   As per Markus' request, the intro section conversion has been split
   even further into the *very* trivial; leaving the semi-trivial and
   not-trivial conversions for later consideration.

-

Hi, this patchset converts trivial "introductory" sections in the QAPI
documentation to use the new, explicit intro section syntax.

This is being done primarily for the benefit of the forthcoming
"inliner", a feature for the rendered HTML QMP documentation that
seeks to "inline" QMP command argument documentation into the argument
list for each command.

There are two main motives here:

(1) We want the split between the "introduction" and "details"
    sections to be mechanically obvious, so that auto-generated or
    inlined documentation has a well-defined, obvious spot to go.

(2) We do not want to inline irrelevant, introductory text describing
    structures to be copied into command documentation.

This patchset tackles "very trivial" conversions: cases where the
existing leading plaintext is only a single sentence and is
immediately followed by a tagged section, the end of the documentation
block, or some other pre-existing syntactical delineation. (i.e.: not
more plaintext.)

NOTE: This series *may* miss some conversions; future QAPI changes will
enforce the new syntax and any cases that have appeared since v1 will
be identified and corrected at that time; we are concerned with the
bulk and ease-of-review here, not completeness. This is precisely why
the new intro syntax and parser were carefully designed to allow
gradual conversion.

NOTE2: Future patches that may require more scrutiny will handle the
remaining conversions - There are some very subtle concerns that are
not readily apparent in the very minor textual changes that will be
spelled out for reviewers in the cover letters for those series.

This is enough for today, don't you think?

John Snow (43):
  qapi: convert trivial intro sections for error.json
  qapi: convert trivial intro sections for acpi-hest.json
  qapi: convert trivial intro sections for ebpf.json
  qapi: convert trivial intro sections for compat.json
  qapi: convert trivial intro sections for vfio.json
  qapi: convert trivial intro sections for trace.json
  qapi: convert trivial intro sections for misc-arm.json
  qapi: convert trivial intro sections for cryptodev.json
  qapi: convert trivial intro sections for machine-common.json
  qapi: convert trivial intro sections for accelerator.json
  qapi: convert trivial intro sections for authz.json
  qapi: convert trivial intro sections for yank.json
  qapi: convert trivial intro sections for replay.json
  qapi: convert trivial intro sections for machine-s390x.json
  qapi: convert trivial intro sections for acpi.json
  qapi: convert trivial intro sections for tpm.json
  qapi: convert trivial intro sections for qdev.json
  qapi: convert trivial intro sections for control.json
  qapi: convert trivial intro sections for dump.json
  qapi: convert trivial intro sections for common.json
  qapi: convert trivial intro sections for sockets.json
  qapi: convert trivial intro sections for transaction.json
  qapi: convert trivial intro sections for stats.json
  qapi: convert trivial intro sections for job.json
  qapi: convert trivial intro sections for pci.json
  qapi: convert trivial intro sections for introspect.json
  qapi: convert trivial intro sections for rocker.json
  qapi: convert trivial intro sections for misc-i386.json
  qapi: convert trivial intro sections for block-export.json
  qapi: convert trivial intro sections for audio.json
  qapi: convert trivial intro sections for block.json
  qapi: convert trivial intro sections for misc.json
  qapi: convert trivial intro sections for crypto.json
  qapi: convert trivial intro sections for cxl.json
  qapi: convert trivial intro sections for run-state.json
  qapi: convert trivial intro sections for char.json
  qapi: convert trivial intro sections for virtio.json
  qapi: convert trivial intro sections for net.json
  qapi: convert trivial intro sections for qom.json
  qapi: convert trivial intro sections for ui.json
  qapi: convert trivial intro sections for migration.json
  qapi: convert trivial intro sections for machine.json
  qapi: convert trivial intro sections for block-core.json

 qapi/accelerator.json    |  18 +-
 qapi/acpi-hest.json      |   4 +-
 qapi/acpi.json           |   8 +-
 qapi/audio.json          |  88 +++-----
 qapi/authz.json          |  21 +-
 qapi/block-core.json     | 431 ++++++++++++++-------------------------
 qapi/block-export.json   |  50 ++---
 qapi/block.json          |  41 ++--
 qapi/char.json           |  90 +++-----
 qapi/common.json         |  29 +--
 qapi/compat.json         |   6 +-
 qapi/control.json        |  30 +--
 qapi/crypto.json         | 100 ++++-----
 qapi/cryptodev.json      |  18 +-
 qapi/cxl.json            |   6 +-
 qapi/dump.json           |  19 +-
 qapi/ebpf.json           |   6 +-
 qapi/error.json          |   3 +-
 qapi/introspect.json     |  40 ++--
 qapi/job.json            |  18 +-
 qapi/machine-common.json |  14 +-
 qapi/machine-s390x.json  |  13 +-
 qapi/machine.json        | 195 ++++++------------
 qapi/migration.json      | 131 +++++-------
 qapi/misc-arm.json       |   6 +-
 qapi/misc-i386.json      |  52 ++---
 qapi/misc.json           |  74 +++----
 qapi/net.json            |  92 +++------
 qapi/pci.json            |  27 +--
 qapi/qdev.json           |  14 +-
 qapi/qom.json            | 150 +++++---------
 qapi/replay.json         |   6 +-
 qapi/rocker.json         |  39 ++--
 qapi/run-state.json      | 113 ++++------
 qapi/sockets.json        |  31 ++-
 qapi/stats.json          |  34 ++-
 qapi/tpm.json            |  29 +--
 qapi/trace.json          |  12 +-
 qapi/transaction.json    |  14 +-
 qapi/ui.json             | 199 ++++++------------
 qapi/vfio.json           |   4 +-
 qapi/virtio.json         |  54 ++---
 qapi/yank.json           |   5 +-
 43 files changed, 833 insertions(+), 1501 deletions(-)

-- 
2.55.0



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

end of thread, other threads:[~2026-09-03 10:04 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 20:19 [PATCH v4 00/43] qapi: convert (very) trivial intro sections John Snow
2026-08-31 20:19 ` [PATCH v4 01/43] qapi: convert trivial intro sections for error.json John Snow
2026-08-31 20:19 ` [PATCH v4 02/43] qapi: convert trivial intro sections for acpi-hest.json John Snow
2026-08-31 20:19 ` [PATCH v4 03/43] qapi: convert trivial intro sections for ebpf.json John Snow
2026-08-31 20:19 ` [PATCH v4 04/43] qapi: convert trivial intro sections for compat.json John Snow
2026-08-31 20:19 ` [PATCH v4 05/43] qapi: convert trivial intro sections for vfio.json John Snow
2026-08-31 20:19 ` [PATCH v4 06/43] qapi: convert trivial intro sections for trace.json John Snow
2026-08-31 20:19 ` [PATCH v4 07/43] qapi: convert trivial intro sections for misc-arm.json John Snow
2026-08-31 20:19 ` [PATCH v4 08/43] qapi: convert trivial intro sections for cryptodev.json John Snow
2026-08-31 20:19 ` [PATCH v4 09/43] qapi: convert trivial intro sections for machine-common.json John Snow
2026-08-31 20:19 ` [PATCH v4 10/43] qapi: convert trivial intro sections for accelerator.json John Snow
2026-08-31 20:19 ` [PATCH v4 11/43] qapi: convert trivial intro sections for authz.json John Snow
2026-08-31 20:19 ` [PATCH v4 12/43] qapi: convert trivial intro sections for yank.json John Snow
2026-08-31 20:19 ` [PATCH v4 13/43] qapi: convert trivial intro sections for replay.json John Snow
2026-08-31 20:19 ` [PATCH v4 14/43] qapi: convert trivial intro sections for machine-s390x.json John Snow
2026-08-31 20:19 ` [PATCH v4 15/43] qapi: convert trivial intro sections for acpi.json John Snow
2026-08-31 20:19 ` [PATCH v4 16/43] qapi: convert trivial intro sections for tpm.json John Snow
2026-08-31 20:19 ` [PATCH v4 17/43] qapi: convert trivial intro sections for qdev.json John Snow
2026-08-31 20:19 ` [PATCH v4 18/43] qapi: convert trivial intro sections for control.json John Snow
2026-08-31 20:19 ` [PATCH v4 19/43] qapi: convert trivial intro sections for dump.json John Snow
2026-08-31 20:19 ` [PATCH v4 20/43] qapi: convert trivial intro sections for common.json John Snow
2026-08-31 20:19 ` [PATCH v4 21/43] qapi: convert trivial intro sections for sockets.json John Snow
2026-08-31 20:19 ` [PATCH v4 22/43] qapi: convert trivial intro sections for transaction.json John Snow
2026-08-31 20:19 ` [PATCH v4 23/43] qapi: convert trivial intro sections for stats.json John Snow
2026-08-31 20:19 ` [PATCH v4 24/43] qapi: convert trivial intro sections for job.json John Snow
2026-08-31 20:19 ` [PATCH v4 25/43] qapi: convert trivial intro sections for pci.json John Snow
2026-08-31 20:19 ` [PATCH v4 26/43] qapi: convert trivial intro sections for introspect.json John Snow
2026-08-31 20:19 ` [PATCH v4 27/43] qapi: convert trivial intro sections for rocker.json John Snow
2026-08-31 20:19 ` [PATCH v4 28/43] qapi: convert trivial intro sections for misc-i386.json John Snow
2026-08-31 20:19 ` [PATCH v4 29/43] qapi: convert trivial intro sections for block-export.json John Snow
2026-08-31 20:19 ` [PATCH v4 30/43] qapi: convert trivial intro sections for audio.json John Snow
2026-08-31 20:19 ` [PATCH v4 31/43] qapi: convert trivial intro sections for block.json John Snow
2026-08-31 20:19 ` [PATCH v4 32/43] qapi: convert trivial intro sections for misc.json John Snow
2026-08-31 20:19 ` [PATCH v4 33/43] qapi: convert trivial intro sections for crypto.json John Snow
2026-08-31 20:19 ` [PATCH v4 34/43] qapi: convert trivial intro sections for cxl.json John Snow
2026-08-31 20:19 ` [PATCH v4 35/43] qapi: convert trivial intro sections for run-state.json John Snow
2026-08-31 20:19 ` [PATCH v4 36/43] qapi: convert trivial intro sections for char.json John Snow
2026-08-31 20:19 ` [PATCH v4 37/43] qapi: convert trivial intro sections for virtio.json John Snow
2026-08-31 20:19 ` [PATCH v4 38/43] qapi: convert trivial intro sections for net.json John Snow
2026-08-31 20:19 ` [PATCH v4 39/43] qapi: convert trivial intro sections for qom.json John Snow
2026-08-31 20:19 ` [PATCH v4 40/43] qapi: convert trivial intro sections for ui.json John Snow
2026-08-31 20:19 ` [PATCH v4 41/43] qapi: convert trivial intro sections for migration.json John Snow
2026-08-31 20:19 ` [PATCH v4 42/43] qapi: convert trivial intro sections for machine.json John Snow
2026-08-31 20:19 ` [PATCH v4 43/43] qapi: convert trivial intro sections for block-core.json John Snow
2026-09-01 11:05 ` [PATCH v4 00/43] qapi: convert (very) trivial intro sections Markus Armbruster
2026-09-01 17:01   ` John Snow
2026-09-02 10:58     ` Markus Armbruster
2026-09-02 17:24       ` John Snow
2026-09-03 10:03         ` Markus Armbruster

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