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

GitLab CI: https://gitlab.com/jsnow/qemu/-/pipelines/2699067787

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 "trivial" conversions: cases where the
introduction is only a single paragraph and is immediately followed by
a tagged section, the end of the documentation block, or some other
pre-existing syntactical delineation.

Future patches that may require more scrutiny will handle the
remaining conversions - I think this is enough for today, don't you?

John Snow (44):
  qapi: convert intro sections for error.json
  qapi: convert intro sections for acpi-hest.json
  qapi: convert intro sections for ebpf.json
  qapi: convert intro sections for uefi.json
  qapi: convert trivial intro sections for compat.json
  qapi: convert intro sections for vfio.json
  qapi: convert intro sections for trace.json
  qapi: convert trivial intro sections for misc-arm.json
  qapi: convert intro sections for cryptodev.json
  qapi: convert intro sections for machine-common.json
  qapi: convert intro sections for accelerator.json
  qapi: convert intro sections for authz.json
  qapi: convert trivial intro sections for yank.json
  qapi: convert intro sections for replay.json
  qapi: convert trivial intro sections for machine-s390x.json
  qapi: convert trivial intro sections for acpi.json
  qapi: convert intro sections for tpm.json
  qapi: convert trivial intro sections for qdev.json
  qapi: convert trivial intro sections for control.json
  qapi: convert intro sections for dump.json
  qapi: convert intro sections for common.json
  qapi: convert 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 intro sections for pci.json
  qapi: convert trivial intro sections for introspect.json
  qapi: convert 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 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 intro sections for cxl.json
  qapi: convert trivial intro sections for run-state.json
  qapi: convert intro sections for char.json
  qapi: convert 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           |  15 +-
 qapi/audio.json          |  88 ++----
 qapi/authz.json          |  21 +-
 qapi/block-core.json     | 646 ++++++++++++++++-----------------------
 qapi/block-export.json   |  87 +++---
 qapi/block.json          |  58 ++--
 qapi/char.json           |  90 ++----
 qapi/common.json         |  36 +--
 qapi/compat.json         |   6 +-
 qapi/control.json        |  30 +-
 qapi/crypto.json         | 118 +++----
 qapi/cryptodev.json      |  18 +-
 qapi/cxl.json            | 128 ++++----
 qapi/dump.json           |  24 +-
 qapi/ebpf.json           |  14 +-
 qapi/error.json          |   3 +-
 qapi/introspect.json     |  45 +--
 qapi/job.json            |  18 +-
 qapi/machine-common.json |  19 +-
 qapi/machine-s390x.json  |  20 +-
 qapi/machine.json        | 261 ++++++----------
 qapi/migration.json      | 201 +++++-------
 qapi/misc-arm.json       |  15 +-
 qapi/misc-i386.json      |  52 ++--
 qapi/misc.json           |  74 ++---
 qapi/net.json            | 101 +++---
 qapi/pci.json            |  27 +-
 qapi/qdev.json           |  23 +-
 qapi/qom.json            | 138 +++------
 qapi/replay.json         |  45 ++-
 qapi/rocker.json         |  39 +--
 qapi/run-state.json      | 120 +++-----
 qapi/sockets.json        |  31 +-
 qapi/stats.json          |  34 +--
 qapi/tpm.json            |  29 +-
 qapi/trace.json          |  12 +-
 qapi/transaction.json    |  14 +-
 qapi/uefi.json           |   5 +-
 qapi/ui.json             | 215 +++++--------
 qapi/vfio.json           |  19 +-
 qapi/virtio.json         |  91 +++---
 qapi/yank.json           |  25 +-
 44 files changed, 1165 insertions(+), 1912 deletions(-)

-- 
2.55.0




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

end of thread, other threads:[~2026-07-23 13:01 UTC | newest]

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.