* [PATCH v3 00/43] qapi: convert (very) trivial intro sections
@ 2026-08-26 19:37 John Snow
2026-08-26 19:37 ` [PATCH v3 01/43] qapi: convert trivial intro sections for error.json John Snow
` (42 more replies)
0 siblings, 43 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:37 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
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.
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.
-
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 | 448 ++++++++++++++-------------------------
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 | 208 +++++++-----------
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, 845 insertions(+), 1519 deletions(-)
--
2.55.0
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 01/43] qapi: convert trivial intro sections for error.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
@ 2026-08-26 19:37 ` John Snow
2026-08-27 8:43 ` Philippe Mathieu-Daudé
2026-08-27 9:10 ` Daniel P. Berrangé
2026-08-26 19:37 ` [PATCH v3 02/43] qapi: convert trivial intro sections for acpi-hest.json John Snow
` (41 subsequent siblings)
42 siblings, 2 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:37 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/error.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/qapi/error.json b/qapi/error.json
index 54cb02fb880..a53b13e55c9 100644
--- a/qapi/error.json
+++ b/qapi/error.json
@@ -9,8 +9,7 @@
##
# @QapiErrorClass:
-#
-# QEMU error classes
+# QEMU error classes
#
# @GenericError: this is used for errors that don't require a specific
# error class. This should be the default case for most errors
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 02/43] qapi: convert trivial intro sections for acpi-hest.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
2026-08-26 19:37 ` [PATCH v3 01/43] qapi: convert trivial intro sections for error.json John Snow
@ 2026-08-26 19:37 ` John Snow
2026-08-26 19:38 ` [PATCH v3 03/43] qapi: convert trivial intro sections for ebpf.json John Snow
` (40 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:37 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/acpi-hest.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qapi/acpi-hest.json b/qapi/acpi-hest.json
index a01f1dee095..8db804df197 100644
--- a/qapi/acpi-hest.json
+++ b/qapi/acpi-hest.json
@@ -13,8 +13,8 @@
##
# @inject-ghes-v2-error:
-#
-# Inject an error with additional ACPI 6.1 GHESv2 error information
+# Inject an error with additional ACPI 6.1 GHESv2 error
+# information
#
# @cper: contains a base64 encoded string with raw data for a single
# CPER record with Generic Error Status Block, Generic Error Data
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 03/43] qapi: convert trivial intro sections for ebpf.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
2026-08-26 19:37 ` [PATCH v3 01/43] qapi: convert trivial intro sections for error.json John Snow
2026-08-26 19:37 ` [PATCH v3 02/43] qapi: convert trivial intro sections for acpi-hest.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 04/43] qapi: convert trivial intro sections for compat.json John Snow
` (39 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/ebpf.json | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qapi/ebpf.json b/qapi/ebpf.json
index f0257955fa2..951516b121f 100644
--- a/qapi/ebpf.json
+++ b/qapi/ebpf.json
@@ -20,8 +20,7 @@
##
# @EbpfObject:
-#
-# An eBPF ELF object.
+# An eBPF ELF object.
#
# @object: the eBPF object encoded in base64
#
@@ -33,8 +32,7 @@
##
# @EbpfProgramID:
-#
-# The eBPF programs that can be gotten with `request-ebpf`.
+# The eBPF programs that can be gotten with `request-ebpf`.
#
# @rss: Receive side scaling, technology that allows steering traffic
# between queues by calculation hash. Users may set up
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 04/43] qapi: convert trivial intro sections for compat.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (2 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 03/43] qapi: convert trivial intro sections for ebpf.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 05/43] qapi: convert trivial intro sections for vfio.json John Snow
` (38 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/compat.json | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qapi/compat.json b/qapi/compat.json
index 90b8d51cf27..ef1853b9acd 100644
--- a/qapi/compat.json
+++ b/qapi/compat.json
@@ -9,8 +9,7 @@
##
# @CompatPolicyInput:
-#
-# Policy for handling "funny" input.
+# Policy for handling "funny" input.
#
# @accept: Accept silently
#
@@ -25,8 +24,7 @@
##
# @CompatPolicyOutput:
-#
-# Policy for handling "funny" output.
+# Policy for handling "funny" output.
#
# @accept: Pass on unchanged
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 05/43] qapi: convert trivial intro sections for vfio.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (3 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 04/43] qapi: convert trivial intro sections for compat.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 06/43] qapi: convert trivial intro sections for trace.json John Snow
` (37 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/vfio.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qapi/vfio.json b/qapi/vfio.json
index 17b60468712..3d61fc38ecd 100644
--- a/qapi/vfio.json
+++ b/qapi/vfio.json
@@ -49,8 +49,8 @@
##
# @VFIO_MIGRATION:
-#
-# This event is emitted when a VFIO device migration state is changed.
+# This event is emitted when a VFIO device migration state is
+# changed.
#
# @device-id: The device's id, if it has one.
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 06/43] qapi: convert trivial intro sections for trace.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (4 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 05/43] qapi: convert trivial intro sections for vfio.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 07/43] qapi: convert trivial intro sections for misc-arm.json John Snow
` (36 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/trace.json | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/qapi/trace.json b/qapi/trace.json
index de369dae6b5..29c76256055 100644
--- a/qapi/trace.json
+++ b/qapi/trace.json
@@ -14,8 +14,7 @@
##
# @TraceEventState:
-#
-# State of a tracing event.
+# State of a tracing event.
#
# @unavailable: The event is statically disabled.
#
@@ -30,8 +29,7 @@
##
# @TraceEventInfo:
-#
-# Information of a tracing event.
+# Information of a tracing event.
#
# @name: Event name.
#
@@ -44,8 +42,7 @@
##
# @trace-event-get-state:
-#
-# Query the state of events.
+# Query the state of events.
#
# @name: Event name pattern (case-sensitive glob).
#
@@ -65,8 +62,7 @@
##
# @trace-event-set-state:
-#
-# Set the dynamic tracing state of events.
+# Set the dynamic tracing state of events.
#
# @name: Event name pattern (case-sensitive glob).
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 07/43] qapi: convert trivial intro sections for misc-arm.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (5 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 06/43] qapi: convert trivial intro sections for trace.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 08/43] qapi: convert trivial intro sections for cryptodev.json John Snow
` (35 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/misc-arm.json | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qapi/misc-arm.json b/qapi/misc-arm.json
index 4dc66d00e5c..a7b5498d2d3 100644
--- a/qapi/misc-arm.json
+++ b/qapi/misc-arm.json
@@ -48,8 +48,7 @@
##
# @SsidSizeMode:
-#
-# SMMUv3 SubstreamID size configuration mode.
+# SMMUv3 SubstreamID size configuration mode.
#
# @auto: derive from host IOMMU capabilities
#
@@ -64,8 +63,7 @@
##
# @OasMode:
-#
-# SMMUv3 Output Address Size configuration mode.
+# SMMUv3 Output Address Size configuration mode.
#
# @auto: derive from host IOMMU capabilities
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 08/43] qapi: convert trivial intro sections for cryptodev.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (6 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 07/43] qapi: convert trivial intro sections for misc-arm.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 09/43] qapi: convert trivial intro sections for machine-common.json John Snow
` (34 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/cryptodev.json | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/qapi/cryptodev.json b/qapi/cryptodev.json
index eb309c22f86..d0c1e6c8944 100644
--- a/qapi/cryptodev.json
+++ b/qapi/cryptodev.json
@@ -12,8 +12,7 @@
##
# @QCryptodevBackendAlgoType:
-#
-# The supported algorithm types of a crypto device.
+# The supported algorithm types of a crypto device.
#
# @sym: symmetric encryption
#
@@ -26,8 +25,7 @@
##
# @QCryptodevBackendServiceType:
-#
-# The supported service types of a crypto device.
+# The supported service types of a crypto device.
#
# @cipher: Symmetric Key Cipher service
#
@@ -46,8 +44,7 @@
##
# @QCryptodevBackendType:
-#
-# The crypto device backend type
+# The crypto device backend type
#
# @builtin: the QEMU builtin support
#
@@ -62,8 +59,7 @@
##
# @QCryptodevBackendClient:
-#
-# Information about a queue of crypto device.
+# Information about a queue of crypto device.
#
# @queue: the queue index of the crypto device
#
@@ -77,8 +73,7 @@
##
# @QCryptodevInfo:
-#
-# Information about a crypto device.
+# Information about a crypto device.
#
# @id: the id of the crypto device
#
@@ -95,8 +90,7 @@
##
# @query-cryptodev:
-#
-# Return information about current crypto devices.
+# Return information about current crypto devices.
#
# Since: 8.0
##
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 09/43] qapi: convert trivial intro sections for machine-common.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (7 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 08/43] qapi: convert trivial intro sections for cryptodev.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 10/43] qapi: convert trivial intro sections for accelerator.json John Snow
` (33 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/machine-common.json | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/qapi/machine-common.json b/qapi/machine-common.json
index aca98e994af..fdb0e68d9e6 100644
--- a/qapi/machine-common.json
+++ b/qapi/machine-common.json
@@ -12,9 +12,8 @@
##
# @S390CpuEntitlement:
-#
-# An enumeration of CPU entitlements that can be assumed by a virtual
-# S390 CPU
+# An enumeration of CPU entitlements that can be assumed by a
+# virtual S390 CPU
#
# Since: 8.2
##
@@ -23,8 +22,7 @@
##
# @CpuTopologyLevel:
-#
-# An enumeration of CPU topology levels.
+# An enumeration of CPU topology levels.
#
# @thread: thread level, which would also be called SMT level or
# logical processor level. The @threads option in
@@ -84,8 +82,7 @@
##
# @SmpCacheProperties:
-#
-# Cache information for SMP system.
+# Cache information for SMP system.
#
# @cache: Cache name, which is the combination of cache level and
# cache type.
@@ -103,8 +100,7 @@
##
# @SmpCachePropertiesWrapper:
-#
-# List wrapper of `SmpCacheProperties`.
+# List wrapper of `SmpCacheProperties`.
#
# @caches: the list of `SmpCacheProperties`.
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 10/43] qapi: convert trivial intro sections for accelerator.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (8 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 09/43] qapi: convert trivial intro sections for machine-common.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-27 8:39 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 11/43] qapi: convert trivial intro sections for authz.json John Snow
` (32 subsequent siblings)
42 siblings, 1 reply; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/accelerator.json | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/qapi/accelerator.json b/qapi/accelerator.json
index b59df378664..efc0fa81418 100644
--- a/qapi/accelerator.json
+++ b/qapi/accelerator.json
@@ -13,8 +13,7 @@
##
# @KvmInfo:
-#
-# Information about support for KVM acceleration
+# Information about support for KVM acceleration
#
# @enabled: true if KVM acceleration is active
#
@@ -26,8 +25,7 @@
##
# @query-kvm:
-#
-# Return information about KVM acceleration
+# Return information about KVM acceleration
#
# Features:
#
@@ -46,8 +44,7 @@
##
# @x-accel-stats:
-#
-# Query accelerator statistics
+# Query accelerator statistics
#
# Features:
#
@@ -63,8 +60,7 @@
##
# @Accelerator:
-#
-# Information about support for MSHV acceleration
+# Information about support for MSHV acceleration
#
# @hvf: Apple Hypervisor.framework
#
@@ -88,8 +84,7 @@
##
# @AcceleratorInfo:
-#
-# Information about support for various accelerators
+# Information about support for various accelerators
#
# @enabled: the accelerator that is in use
#
@@ -102,8 +97,7 @@
##
# @query-accelerators:
-#
-# Return information about accelerators
+# Return information about accelerators
#
# Returns: @AcceleratorInfo
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 11/43] qapi: convert trivial intro sections for authz.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (9 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 10/43] qapi: convert trivial intro sections for accelerator.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 12/43] qapi: convert trivial intro sections for yank.json John Snow
` (31 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/authz.json | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/qapi/authz.json b/qapi/authz.json
index bc1123cc053..b76c39c53af 100644
--- a/qapi/authz.json
+++ b/qapi/authz.json
@@ -9,8 +9,7 @@
##
# @QAuthZListPolicy:
-#
-# The authorization policy result
+# The authorization policy result
#
# @deny: deny access
#
@@ -24,8 +23,7 @@
##
# @QAuthZListFormat:
-#
-# The authorization policy match format
+# The authorization policy match format
#
# @exact: an exact string match
#
@@ -39,8 +37,7 @@
##
# @QAuthZListRule:
-#
-# A single authorization rule.
+# A single authorization rule.
#
# @match: a string or glob to match against a user identity
#
@@ -57,8 +54,7 @@
##
# @AuthZListProperties:
-#
-# Properties for authz-list objects.
+# Properties for authz-list objects.
#
# @policy: Default policy to apply when no rule matches (default:
# deny)
@@ -73,8 +69,7 @@
##
# @AuthZListFileProperties:
-#
-# Properties for authz-listfile objects.
+# Properties for authz-listfile objects.
#
# @filename: File name to load the configuration from. The file must
# contain valid JSON for `AuthZListProperties`.
@@ -93,8 +88,7 @@
##
# @AuthZPAMProperties:
-#
-# Properties for authz-pam objects.
+# Properties for authz-pam objects.
#
# @service: PAM service name to use for authorization
#
@@ -105,8 +99,7 @@
##
# @AuthZSimpleProperties:
-#
-# Properties for authz-simple objects.
+# Properties for authz-simple objects.
#
# @identity: Identifies the allowed user. Its format depends on the
# network service that authorization object is associated with.
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 12/43] qapi: convert trivial intro sections for yank.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (10 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 11/43] qapi: convert trivial intro sections for authz.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 13/43] qapi: convert trivial intro sections for replay.json John Snow
` (30 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/yank.json | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/qapi/yank.json b/qapi/yank.json
index f3cd5c15d60..bc8c52bda74 100644
--- a/qapi/yank.json
+++ b/qapi/yank.json
@@ -47,9 +47,8 @@
##
# @YankInstance:
-#
-# A yank instance can be yanked with the `yank` qmp command to recover
-# from a hanging QEMU.
+# A yank instance can be yanked with the `yank` qmp command to
+# recover from a hanging QEMU.
#
# @type: yank instance type
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 13/43] qapi: convert trivial intro sections for replay.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (11 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 12/43] qapi: convert trivial intro sections for yank.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 14/43] qapi: convert trivial intro sections for machine-s390x.json John Snow
` (29 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/replay.json | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qapi/replay.json b/qapi/replay.json
index ccf84da68ef..66dff797553 100644
--- a/qapi/replay.json
+++ b/qapi/replay.json
@@ -12,8 +12,7 @@
##
# @ReplayMode:
-#
-# Mode of the replay subsystem.
+# Mode of the replay subsystem.
#
# @none: normal execution mode. Replay or record are not enabled.
#
@@ -30,8 +29,7 @@
##
# @ReplayInfo:
-#
-# Record/replay information.
+# Record/replay information.
#
# @mode: current mode.
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 14/43] qapi: convert trivial intro sections for machine-s390x.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (12 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 13/43] qapi: convert trivial intro sections for replay.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 15/43] qapi: convert trivial intro sections for acpi.json John Snow
` (28 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/machine-s390x.json | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/qapi/machine-s390x.json b/qapi/machine-s390x.json
index ea430e1b889..0a3c7eeda9f 100644
--- a/qapi/machine-s390x.json
+++ b/qapi/machine-s390x.json
@@ -9,9 +9,8 @@
##
# @S390CpuPolarization:
-#
-# An enumeration of CPU polarization that can be assumed by a virtual
-# S390 CPU
+# An enumeration of CPU polarization that can be assumed by a
+# virtual S390 CPU
#
# Since: 8.2
##
@@ -94,8 +93,7 @@
##
# @CpuPolarizationInfo:
-#
-# The result of a CPU polarization query.
+# The result of a CPU polarization query.
#
# @polarization: the CPU polarization
#
@@ -122,9 +120,8 @@
##
# @SCLP_CPI_INFO_AVAILABLE:
-#
-# Emitted when the Control-Program Identification data is available in
-# the QOM tree.
+# Emitted when the Control-Program Identification data is
+# available in the QOM tree.
#
# Features:
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 15/43] qapi: convert trivial intro sections for acpi.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (13 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 14/43] qapi: convert trivial intro sections for machine-s390x.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 16/43] qapi: convert trivial intro sections for tpm.json John Snow
` (27 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/acpi.json | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/qapi/acpi.json b/qapi/acpi.json
index 906b3687a55..d2c59df30b2 100644
--- a/qapi/acpi.json
+++ b/qapi/acpi.json
@@ -107,9 +107,8 @@
##
# @query-acpi-ospm-status:
-#
-# Return a list of `ACPIOSTInfo` for devices that support status
-# reporting via ACPI _OST method.
+# Return a list of `ACPIOSTInfo` for devices
+# that support status reporting via ACPI _OST method.
#
# Since: 2.1
#
@@ -126,8 +125,7 @@
##
# @ACPI_DEVICE_OST:
-#
-# Emitted when guest executes ACPI _OST method.
+# Emitted when guest executes ACPI _OST method.
#
# @info: OSPM Status Indication
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 16/43] qapi: convert trivial intro sections for tpm.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (14 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 15/43] qapi: convert trivial intro sections for acpi.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 17/43] qapi: convert trivial intro sections for qdev.json John Snow
` (26 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/tpm.json | 29 ++++++++++-------------------
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/qapi/tpm.json b/qapi/tpm.json
index 3f2850a5733..6d94be656ae 100644
--- a/qapi/tpm.json
+++ b/qapi/tpm.json
@@ -10,8 +10,7 @@
##
# @TpmModel:
-#
-# An enumeration of TPM models
+# An enumeration of TPM models
#
# @tpm-tis: TPM TIS model
#
@@ -26,8 +25,7 @@
##
# @query-tpm-models:
-#
-# Return a list of supported TPM models
+# Return a list of supported TPM models
#
# Since: 1.5
#
@@ -41,8 +39,7 @@
##
# @TpmType:
-#
-# An enumeration of TPM types
+# An enumeration of TPM types
#
# @passthrough: TPM passthrough type
#
@@ -55,8 +52,7 @@
##
# @query-tpm-types:
-#
-# Return a list of supported TPM types
+# Return a list of supported TPM types
#
# Since: 1.5
#
@@ -70,8 +66,7 @@
##
# @TPMPassthroughOptions:
-#
-# Information about the TPM passthrough type
+# Information about the TPM passthrough type
#
# @path: string describing the path used for accessing the TPM device
#
@@ -87,8 +82,7 @@
##
# @TPMEmulatorOptions:
-#
-# Information about the TPM emulator type
+# Information about the TPM emulator type
#
# @chardev: Name of a unix socket chardev
#
@@ -121,9 +115,8 @@
##
# @TpmTypeOptions:
-#
-# A union referencing different TPM backend types' configuration
-# options
+# A union referencing different TPM backend types' configuration
+# options
#
# @type:
# - 'passthrough' The configuration options for the TPM
@@ -142,8 +135,7 @@
##
# @TPMInfo:
-#
-# Information about the TPM
+# Information about the TPM
#
# @id: The Id of the TPM
#
@@ -161,8 +153,7 @@
##
# @query-tpm:
-#
-# Return information about the TPM device
+# Return information about the TPM device
#
# Since: 1.5
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 17/43] qapi: convert trivial intro sections for qdev.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (15 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 16/43] qapi: convert trivial intro sections for tpm.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-27 8:39 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 18/43] qapi: convert trivial intro sections for control.json John Snow
` (25 subsequent siblings)
42 siblings, 1 reply; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/qdev.json | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/qapi/qdev.json b/qapi/qdev.json
index 974cf9c5830..2f951e5ef8d 100644
--- a/qapi/qdev.json
+++ b/qapi/qdev.json
@@ -14,8 +14,7 @@
##
# @device-list-properties:
-#
-# List properties associated with a device.
+# List properties associated with a device.
#
# @typename: the type name of a device
#
@@ -33,8 +32,7 @@
##
# @device_add:
-#
-# Add a device.
+# Add a device.
#
# @driver: the name of the new device's driver
#
@@ -85,8 +83,7 @@
##
# @device_del:
-#
-# Remove a device from a guest
+# Remove a device from a guest
#
# @id: the device's ID or QOM path
#
@@ -145,9 +142,8 @@
##
# @DEVICE_UNPLUG_GUEST_ERROR:
-#
-# Emitted when a device hot unplug fails due to a guest reported
-# error.
+# Emitted when a device hot unplug fails due to a guest reported
+# error.
#
# @device: the device's ID if it has one
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 18/43] qapi: convert trivial intro sections for control.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (16 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 17/43] qapi: convert trivial intro sections for qdev.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 19/43] qapi: convert trivial intro sections for dump.json John Snow
` (24 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/control.json | 30 +++++++++++-------------------
1 file changed, 11 insertions(+), 19 deletions(-)
diff --git a/qapi/control.json b/qapi/control.json
index 9a5302193d6..0fc465936d8 100644
--- a/qapi/control.json
+++ b/qapi/control.json
@@ -10,8 +10,7 @@
##
# @qmp_capabilities:
-#
-# Enable QMP capabilities.
+# Enable QMP capabilities.
#
# @enable: An optional list of `QMPCapability` values to enable. The
# client must not enable any capability that is not mentioned in
@@ -41,9 +40,9 @@
##
# @QMPCapability:
-#
-# Enumeration of capabilities to be advertised during initial client
-# connection, used for agreeing on particular QMP extension behaviors.
+# Enumeration of capabilities to be advertised during initial
+# client connection, used for agreeing on particular QMP extension
+# behaviors.
#
# @oob: QMP ability to support out-of-band requests. (Please refer to
# qmp-spec.rst for more information on OOB)
@@ -55,8 +54,7 @@
##
# @VersionTriple:
-#
-# A three-part version number.
+# A three-part version number.
#
# @major: The major version number.
#
@@ -71,8 +69,7 @@
##
# @VersionInfo:
-#
-# A description of QEMU's version.
+# A description of QEMU's version.
#
# @qemu: The version of QEMU. By current convention, a micro version
# of 50 signifies a development branch. A micro version greater
@@ -92,8 +89,7 @@
##
# @query-version:
-#
-# Return the current version of QEMU.
+# Return the current version of QEMU.
#
# Returns: An object describing the current version of QEMU.
#
@@ -118,8 +114,7 @@
##
# @CommandInfo:
-#
-# Information about a QMP command
+# Information about a QMP command
#
# @name: The command name
#
@@ -129,8 +124,7 @@
##
# @query-commands:
-#
-# Return a list of supported QMP commands by this server
+# Return a list of supported QMP commands by this server
#
# Returns: A list of all supported commands
#
@@ -177,8 +171,7 @@
##
# @MonitorMode:
-#
-# An enumeration of monitor modes.
+# An enumeration of monitor modes.
#
# @readline: HMP monitor (human-oriented command line interface)
#
@@ -190,8 +183,7 @@
##
# @MonitorOptions:
-#
-# Options to be used for adding a new monitor.
+# Options to be used for adding a new monitor.
#
# @id: Name of the monitor
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 19/43] qapi: convert trivial intro sections for dump.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (17 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 18/43] qapi: convert trivial intro sections for control.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 20/43] qapi: convert trivial intro sections for common.json John Snow
` (23 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/dump.json | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/qapi/dump.json b/qapi/dump.json
index 690f3963fe1..520c58cbcd8 100644
--- a/qapi/dump.json
+++ b/qapi/dump.json
@@ -12,8 +12,7 @@
##
# @DumpGuestMemoryFormat:
-#
-# An enumeration of guest-memory-dump's format.
+# An enumeration of guest-memory-dump's format.
#
# @elf: elf format
#
@@ -116,8 +115,8 @@
##
# @DumpStatus:
-#
-# Describe the status of a long-running background guest memory dump.
+# Describe the status of a long-running background guest memory
+# dump.
#
# @none: no `dump-guest-memory` has started yet.
#
@@ -134,8 +133,7 @@
##
# @DumpQueryResult:
-#
-# The result format for `query-dump`.
+# The result format for `query-dump`.
#
# @status: enum of `DumpStatus`, which shows current dump status
#
@@ -152,8 +150,7 @@
##
# @query-dump:
-#
-# Query latest dump status.
+# Query latest dump status.
#
# Returns: An object showing the dump status.
#
@@ -169,8 +166,7 @@
##
# @DUMP_COMPLETED:
-#
-# Emitted when background dump has completed
+# Emitted when background dump has completed
#
# @result: final dump status
#
@@ -203,8 +199,7 @@
##
# @query-dump-guest-memory-capability:
-#
-# Return the available formats for `dump-guest-memory`
+# Return the available formats for `dump-guest-memory`
#
# Returns: An object listing available formats for `dump-guest-memory`
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 20/43] qapi: convert trivial intro sections for common.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (18 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 19/43] qapi: convert trivial intro sections for dump.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 21/43] qapi: convert trivial intro sections for sockets.json John Snow
` (22 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/common.json | 29 ++++++++++-------------------
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/qapi/common.json b/qapi/common.json
index af7e3d618a7..c1bbed21e7f 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -9,8 +9,7 @@
##
# @IoOperationType:
-#
-# An enumeration of the I/O operation types
+# An enumeration of the I/O operation types
#
# @read: read operation
#
@@ -23,8 +22,7 @@
##
# @OnOffAuto:
-#
-# An enumeration of three options: on, off, and auto
+# An enumeration of three options: on, off, and auto
#
# @auto: QEMU selects the value between on and off
#
@@ -39,8 +37,7 @@
##
# @OnOffSplit:
-#
-# An enumeration of three values: on, off, and split
+# An enumeration of three values: on, off, and split
#
# @on: Enabled
#
@@ -72,8 +69,7 @@
##
# @OffAutoPCIBAR:
-#
-# An enumeration of options for specifying a PCI BAR
+# An enumeration of options for specifying a PCI BAR
#
# @off: The specified feature is disabled
#
@@ -98,8 +94,7 @@
##
# @PCIELinkSpeed:
-#
-# An enumeration of PCIe link speeds in units of GT/s
+# An enumeration of PCIe link speeds in units of GT/s
#
# @2_5: 2.5GT/s
#
@@ -120,8 +115,7 @@
##
# @PCIELinkWidth:
-#
-# An enumeration of PCIe link width
+# An enumeration of PCIe link width
#
# @1: x1
#
@@ -144,8 +138,7 @@
##
# @HostMemPolicy:
-#
-# Host memory policy types
+# Host memory policy types
#
# @default: restore default policy, remove any nondefault policy
#
@@ -164,9 +157,8 @@
##
# @NetFilterDirection:
-#
-# Indicates whether a netfilter is attached to a netdev's transmit
-# queue or receive queue or both.
+# Indicates whether a netfilter is attached to a netdev's transmit
+# queue or receive queue or both.
#
# @all: the filter is attached both to the receive and the transmit
# queue of the netdev (default).
@@ -184,8 +176,7 @@
##
# @GrabToggleKeys:
-#
-# Key combinations to toggle input-linux between host and guest.
+# Key combinations to toggle input-linux between host and guest.
#
# @ctrl-ctrl: left and right control key
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 21/43] qapi: convert trivial intro sections for sockets.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (19 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 20/43] qapi: convert trivial intro sections for common.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 22/43] qapi: convert trivial intro sections for transaction.json John Snow
` (21 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/sockets.json | 31 ++++++++++++-------------------
1 file changed, 12 insertions(+), 19 deletions(-)
diff --git a/qapi/sockets.json b/qapi/sockets.json
index 473be2ac58a..210d07b5ef2 100644
--- a/qapi/sockets.json
+++ b/qapi/sockets.json
@@ -9,8 +9,7 @@
##
# @NetworkAddressFamily:
-#
-# The network address family
+# The network address family
#
# @ipv4: IPV4 family
#
@@ -41,9 +40,8 @@
##
# @InetSocketAddress:
-#
-# Captures a socket address or address range in the Internet
-# namespace.
+# Captures a socket address or address range in the Internet
+# namespace.
#
# @numeric: true if the host/port are guaranteed to be numeric, false
# if name resolution should be attempted. Defaults to false.
@@ -98,8 +96,8 @@
##
# @UnixSocketAddress:
-#
-# Captures a socket address in the local ("Unix socket") namespace.
+# Captures a socket address in the local ("Unix socket")
+# namespace.
#
# @path: filesystem path to use
#
@@ -121,8 +119,7 @@
##
# @VsockSocketAddress:
-#
-# Captures a socket address in the vsock namespace.
+# Captures a socket address in the vsock namespace.
#
# @cid: unique host identifier
#
@@ -140,8 +137,7 @@
##
# @FdSocketAddress:
-#
-# A file descriptor name or number.
+# A file descriptor name or number.
#
# @str: decimal is for file descriptor number, otherwise it's a file
# descriptor name. Named file descriptors are permitted in
@@ -197,9 +193,8 @@
##
# @SocketAddressLegacy:
-#
-# Captures the address of a socket, which could also be a named file
-# descriptor
+# Captures the address of a socket, which could also be a named
+# file descriptor
#
# @type: Transport type
#
@@ -219,8 +214,7 @@
##
# @SocketAddressType:
-#
-# Available `SocketAddress` types
+# Available `SocketAddress` types
#
# @inet: Internet address
#
@@ -237,9 +231,8 @@
##
# @SocketAddress:
-#
-# Captures the address of a socket, which could also be a socket file
-# descriptor
+# Captures the address of a socket, which could also be a socket
+# file descriptor
#
# @type: Transport type
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 22/43] qapi: convert trivial intro sections for transaction.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (20 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 21/43] qapi: convert trivial intro sections for sockets.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 23/43] qapi: convert trivial intro sections for stats.json John Snow
` (20 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/transaction.json | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/qapi/transaction.json b/qapi/transaction.json
index 4b4eb09bf38..c0dc811ba61 100644
--- a/qapi/transaction.json
+++ b/qapi/transaction.json
@@ -12,8 +12,7 @@
##
# @Abort:
-#
-# This action can be used to test transaction failure.
+# This action can be used to test transaction failure.
#
# Since: 1.6
##
@@ -22,8 +21,7 @@
##
# @ActionCompletionMode:
-#
-# An enumeration of transactional completion modes.
+# An enumeration of transactional completion modes.
#
# @individual: Do not attempt to cancel any other Actions if any
# Actions fail after the Transaction request succeeds. All
@@ -156,9 +154,8 @@
##
# @TransactionAction:
-#
-# A discriminated record of operations that can be performed with
-# `transaction`.
+# A discriminated record of operations that can be performed with
+# `transaction`.
#
# @type: the operation to be performed
#
@@ -184,8 +181,7 @@
##
# @TransactionProperties:
-#
-# Optional arguments to modify the behavior of a Transaction.
+# Optional arguments to modify the behavior of a Transaction.
#
# @completion-mode: Controls how jobs launched asynchronously by
# Actions will complete or fail as a group. See
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 23/43] qapi: convert trivial intro sections for stats.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (21 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 22/43] qapi: convert trivial intro sections for transaction.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 24/43] qapi: convert trivial intro sections for job.json John Snow
` (19 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/stats.json | 34 +++++++++++++---------------------
1 file changed, 13 insertions(+), 21 deletions(-)
diff --git a/qapi/stats.json b/qapi/stats.json
index a98624531c3..af57ec08546 100644
--- a/qapi/stats.json
+++ b/qapi/stats.json
@@ -16,8 +16,7 @@
##
# @StatsType:
-#
-# Enumeration of statistics types
+# Enumeration of statistics types
#
# @cumulative: stat is cumulative; value can only increase.
#
@@ -38,8 +37,7 @@
##
# @StatsUnit:
-#
-# Enumeration of unit of measurement for statistics
+# Enumeration of unit of measurement for statistics
#
# @bytes: stat reported in bytes.
#
@@ -56,8 +54,7 @@
##
# @StatsProvider:
-#
-# Enumeration of statistics providers.
+# Enumeration of statistics providers.
#
# @kvm: since 7.1
#
@@ -70,8 +67,7 @@
##
# @StatsTarget:
-#
-# The kinds of objects on which one can request statistics.
+# The kinds of objects on which one can request statistics.
#
# @vm: statistics that apply to the entire virtual machine or the
# entire QEMU process.
@@ -87,9 +83,8 @@
##
# @StatsRequest:
-#
-# Indicates a set of statistics that should be returned by
-# `query-stats`.
+# Indicates a set of statistics that should be returned by
+# `query-stats`.
#
# @provider: provider for which to return statistics.
#
@@ -113,10 +108,9 @@
##
# @StatsFilter:
-#
-# The arguments to the `query-stats` command; specifies a target for
-# which to request statistics and optionally the required subset of
-# information for that target.
+# The arguments to the `query-stats` command; specifies a target
+# for which to request statistics and optionally the required
+# subset of information for that target.
#
# @target: the kind of objects to query. Note that each possible
# target may enable additional filtering options
@@ -200,8 +194,7 @@
##
# @StatsSchemaValue:
-#
-# Schema for a single statistic.
+# Schema for a single statistic.
#
# @name: name of the statistic; each element of the schema is uniquely
# identified by a target, a provider (both available in
@@ -236,8 +229,7 @@
##
# @StatsSchema:
-#
-# Schema for all available statistics for a provider and target.
+# Schema for all available statistics for a provider and target.
#
# @provider: provider for this set of statistics.
#
@@ -255,8 +247,8 @@
##
# @query-stats-schemas:
-#
-# Return the schema for all available runtime-collected statistics.
+# Return the schema for all available runtime-collected
+# statistics.
#
# @provider: a provider to restrict the query to.
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 24/43] qapi: convert trivial intro sections for job.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (22 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 23/43] qapi: convert trivial intro sections for stats.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 25/43] qapi: convert trivial intro sections for pci.json John Snow
` (18 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/job.json | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/qapi/job.json b/qapi/job.json
index 31618e6ebcc..b68d7292423 100644
--- a/qapi/job.json
+++ b/qapi/job.json
@@ -9,8 +9,7 @@
##
# @JobType:
-#
-# Type of a background job.
+# Type of a background job.
#
# @commit: block commit job type, see `block-commit`
#
@@ -42,8 +41,7 @@
##
# @JobStatus:
-#
-# Indicates the present state of a given job in its lifetime.
+# Indicates the present state of a given job in its lifetime.
#
# @undefined: Erroneous, default state. Should not ever be visible.
#
@@ -90,8 +88,7 @@
##
# @JobVerb:
-#
-# Represents command verbs that can be applied to a job.
+# Represents command verbs that can be applied to a job.
#
# @cancel: see `job-cancel`
#
@@ -117,8 +114,7 @@
##
# @JOB_STATUS_CHANGE:
-#
-# Emitted when a job transitions to a different status.
+# Emitted when a job transitions to a different status.
#
# @id: The job identifier
#
@@ -259,8 +255,7 @@
##
# @JobInfo:
-#
-# Information about a job.
+# Information about a job.
#
# @id: The job identifier
#
@@ -294,8 +289,7 @@
##
# @query-jobs:
-#
-# Return information about jobs.
+# Return information about jobs.
#
# Returns: a list with info for each active job
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 25/43] qapi: convert trivial intro sections for pci.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (23 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 24/43] qapi: convert trivial intro sections for job.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-27 8:40 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 26/43] qapi: convert trivial intro sections for introspect.json John Snow
` (17 subsequent siblings)
42 siblings, 1 reply; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/pci.json | 27 +++++++++------------------
1 file changed, 9 insertions(+), 18 deletions(-)
diff --git a/qapi/pci.json b/qapi/pci.json
index 694c741e420..a6a79f91afc 100644
--- a/qapi/pci.json
+++ b/qapi/pci.json
@@ -13,8 +13,7 @@
##
# @PciMemoryRange:
-#
-# A PCI device memory region
+# A PCI device memory region
#
# @base: the starting address (guest physical)
#
@@ -26,8 +25,7 @@
##
# @PciMemoryRegion:
-#
-# Information about a PCI device I/O region.
+# Information about a PCI device I/O region.
#
# @bar: the index of the Base Address Register for this region
#
@@ -51,8 +49,7 @@
##
# @PciBusInfo:
-#
-# Information about a bus of a PCI Bridge device
+# Information about a bus of a PCI Bridge device
#
# @number: primary bus interface number. This should be the number of
# the bus the device resides on.
@@ -80,8 +77,7 @@
##
# @PciBridgeInfo:
-#
-# Information about a PCI Bridge device
+# Information about a PCI Bridge device
#
# @bus: information about the bus the device resides on
#
@@ -94,8 +90,7 @@
##
# @PciDeviceClass:
-#
-# Information about the Class of a PCI device
+# Information about the Class of a PCI device
#
# @desc: a string description of the device's class (not stable, and
# should only be treated as informational)
@@ -109,8 +104,7 @@
##
# @PciDeviceId:
-#
-# Information about the Id of a PCI device
+# Information about the Id of a PCI device
#
# @device: the PCI device id
#
@@ -128,8 +122,7 @@
##
# @PciDeviceInfo:
-#
-# Information about a PCI device
+# Information about a PCI device
#
# @bus: the bus number of the device
#
@@ -161,8 +154,7 @@
##
# @PciInfo:
-#
-# Information about a PCI bus
+# Information about a PCI bus
#
# @bus: the bus index
#
@@ -174,8 +166,7 @@
##
# @query-pci:
-#
-# Return information about the PCI bus topology of the guest.
+# Return information about the PCI bus topology of the guest.
#
# Returns: a list of info for each PCI bus. Each bus is
# represented by a json-object, which has a key with a json-array
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 26/43] qapi: convert trivial intro sections for introspect.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (24 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 25/43] qapi: convert trivial intro sections for pci.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 27/43] qapi: convert trivial intro sections for rocker.json John Snow
` (16 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/introspect.json | 40 ++++++++++++++--------------------------
1 file changed, 14 insertions(+), 26 deletions(-)
diff --git a/qapi/introspect.json b/qapi/introspect.json
index c8432c8ed8e..172ed389997 100644
--- a/qapi/introspect.json
+++ b/qapi/introspect.json
@@ -112,8 +112,7 @@
##
# @SchemaInfoBuiltin:
-#
-# Additional `SchemaInfo` members for meta-type 'builtin'.
+# Additional `SchemaInfo` members for meta-type 'builtin'.
#
# @json-type: the JSON type used for this type on the wire.
#
@@ -124,10 +123,9 @@
##
# @JSONType:
-#
-# The four primitive and two structured types according to RFC 8259
-# section 1, plus 'int' (split off 'number'), plus the obvious top
-# type 'value'.
+# The four primitive and two structured types according to RFC
+# 8259 section 1, plus 'int' (split off 'number'), plus the
+# obvious top type 'value'.
#
# @string: JSON string
#
@@ -153,8 +151,7 @@
##
# @SchemaInfoEnum:
-#
-# Additional `SchemaInfo` members for meta-type 'enum'.
+# Additional `SchemaInfo` members for meta-type 'enum'.
#
# @members: the enum type's members, in no particular order.
# (since 6.2)
@@ -178,8 +175,7 @@
##
# @SchemaInfoEnumMember:
-#
-# An object member.
+# An object member.
#
# @name: the member's name, as defined in the QAPI schema.
#
@@ -193,8 +189,7 @@
##
# @SchemaInfoArray:
-#
-# Additional `SchemaInfo` members for meta-type 'array'.
+# Additional `SchemaInfo` members for meta-type 'array'.
#
# @element-type: the array type's element type.
#
@@ -207,8 +202,7 @@
##
# @SchemaInfoObject:
-#
-# Additional `SchemaInfo` members for meta-type 'object'.
+# Additional `SchemaInfo` members for meta-type 'object'.
#
# @members: the object type's (non-variant) members, in no particular
# order.
@@ -232,8 +226,7 @@
##
# @SchemaInfoObjectMember:
-#
-# An object member.
+# An object member.
#
# @name: the member's name, as defined in the QAPI schema.
#
@@ -257,8 +250,7 @@
##
# @SchemaInfoObjectVariant:
-#
-# The variant members for a value of the type tag.
+# The variant members for a value of the type tag.
#
# @case: a value of the type tag.
#
@@ -272,8 +264,7 @@
##
# @SchemaInfoAlternate:
-#
-# Additional `SchemaInfo` members for meta-type 'alternate'.
+# Additional `SchemaInfo` members for meta-type 'alternate'.
#
# @members: the alternate type's members, in no particular order. The
# members' wire encoding is distinct, see
@@ -288,8 +279,7 @@
##
# @SchemaInfoAlternateMember:
-#
-# An alternate member.
+# An alternate member.
#
# @type: the name of the member's type.
#
@@ -300,8 +290,7 @@
##
# @SchemaInfoCommand:
-#
-# Additional `SchemaInfo` members for meta-type 'command'.
+# Additional `SchemaInfo` members for meta-type 'command'.
#
# @arg-type: the name of the object type that provides the command's
# parameters.
@@ -322,8 +311,7 @@
##
# @SchemaInfoEvent:
-#
-# Additional `SchemaInfo` members for meta-type 'event'.
+# Additional `SchemaInfo` members for meta-type 'event'.
#
# @arg-type: the name of the object type that provides the event's
# parameters.
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 27/43] qapi: convert trivial intro sections for rocker.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (25 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 26/43] qapi: convert trivial intro sections for introspect.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 28/43] qapi: convert trivial intro sections for misc-i386.json John Snow
` (15 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/rocker.json | 39 +++++++++++++--------------------------
1 file changed, 13 insertions(+), 26 deletions(-)
diff --git a/qapi/rocker.json b/qapi/rocker.json
index 5d2dbd26034..7eb0a88dafd 100644
--- a/qapi/rocker.json
+++ b/qapi/rocker.json
@@ -9,8 +9,7 @@
##
# @RockerSwitch:
-#
-# Rocker switch information.
+# Rocker switch information.
#
# @name: switch name
#
@@ -25,8 +24,7 @@
##
# @query-rocker:
-#
-# Return rocker switch information.
+# Return rocker switch information.
#
# @name: switch name
#
@@ -43,8 +41,7 @@
##
# @RockerPortDuplex:
-#
-# An enumeration of port duplex states.
+# An enumeration of port duplex states.
#
# @half: half duplex
#
@@ -56,8 +53,7 @@
##
# @RockerPortAutoneg:
-#
-# An enumeration of port autoneg states.
+# An enumeration of port autoneg states.
#
# @off: autoneg is off
#
@@ -69,8 +65,7 @@
##
# @RockerPort:
-#
-# Rocker switch port information.
+# Rocker switch port information.
#
# @name: port name
#
@@ -93,8 +88,7 @@
##
# @query-rocker-ports:
-#
-# Return rocker switch port information.
+# Return rocker switch port information.
#
# @name: port name
#
@@ -115,8 +109,7 @@
##
# @RockerOfDpaFlowKey:
-#
-# Rocker switch OF-DPA flow key
+# Rocker switch OF-DPA flow key
#
# @priority: key priority, 0 being lowest priority
#
@@ -153,8 +146,7 @@
##
# @RockerOfDpaFlowMask:
-#
-# Rocker switch OF-DPA flow mask
+# Rocker switch OF-DPA flow mask
#
# @in-pport: physical input port
#
@@ -182,8 +174,7 @@
##
# @RockerOfDpaFlowAction:
-#
-# Rocker switch OF-DPA flow action
+# Rocker switch OF-DPA flow action
#
# @goto-tbl: next table ID
#
@@ -209,8 +200,7 @@
##
# @RockerOfDpaFlow:
-#
-# Rocker switch OF-DPA flow
+# Rocker switch OF-DPA flow
#
# @cookie: flow unique cookie ID
#
@@ -230,8 +220,7 @@
##
# @query-rocker-of-dpa-flows:
-#
-# Return rocker OF-DPA flow information.
+# Return rocker OF-DPA flow information.
#
# @name: switch name
#
@@ -261,8 +250,7 @@
##
# @RockerOfDpaGroup:
-#
-# Rocker switch OF-DPA group
+# Rocker switch OF-DPA group
#
# @id: group unique ID
#
@@ -305,8 +293,7 @@
##
# @query-rocker-of-dpa-groups:
-#
-# Return rocker OF-DPA group information.
+# Return rocker OF-DPA group information.
#
# @name: switch name
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 28/43] qapi: convert trivial intro sections for misc-i386.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (26 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 27/43] qapi: convert trivial intro sections for rocker.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 29/43] qapi: convert trivial intro sections for block-export.json John Snow
` (14 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/misc-i386.json | 52 ++++++++++++++++-----------------------------
1 file changed, 18 insertions(+), 34 deletions(-)
diff --git a/qapi/misc-i386.json b/qapi/misc-i386.json
index 05a94d6c416..78ec9aec647 100644
--- a/qapi/misc-i386.json
+++ b/qapi/misc-i386.json
@@ -25,8 +25,7 @@
##
# @SevState:
-#
-# An enumeration of SEV state information used during `query-sev`.
+# An enumeration of SEV state information used during `query-sev`.
#
# @uninit: The guest is uninitialized.
#
@@ -52,8 +51,7 @@
##
# @SevGuestType:
-#
-# An enumeration indicating the type of SEV guest being run.
+# An enumeration indicating the type of SEV guest being run.
#
# @sev: The guest is a legacy SEV or SEV-ES guest.
#
@@ -66,8 +64,7 @@
##
# @SevGuestInfo:
-#
-# Information specific to legacy SEV/SEV-ES guests.
+# Information specific to legacy SEV/SEV-ES guests.
#
# @policy: SEV policy value
#
@@ -81,8 +78,7 @@
##
# @SevSnpGuestInfo:
-#
-# Information specific to SEV-SNP guests.
+# Information specific to SEV-SNP guests.
#
# @snp-policy: SEV-SNP policy value
#
@@ -93,8 +89,7 @@
##
# @SevInfo:
-#
-# Information about Secure Encrypted Virtualization (SEV) support
+# Information about Secure Encrypted Virtualization (SEV) support
#
# @enabled: true if SEV is active
#
@@ -144,8 +139,7 @@
##
# @SevLaunchMeasureInfo:
-#
-# SEV Guest Launch measurement information
+# SEV Guest Launch measurement information
#
# @data: the measurement value encoded in base64
#
@@ -180,9 +174,8 @@
##
# @SevCapability:
-#
-# The struct describes capability for a Secure Encrypted
-# Virtualization feature.
+# The struct describes capability for a Secure Encrypted
+# Virtualization feature.
#
# @pdh: Platform Diffie-Hellman key (base64 encoded)
#
@@ -252,9 +245,8 @@
##
# @SevAttestationReport:
-#
-# The struct describes attestation report for a Secure Encrypted
-# Virtualization feature.
+# The struct describes attestation report for a Secure Encrypted
+# Virtualization feature.
#
# @data: guest attestation report (base64 encoded)
#
@@ -294,8 +286,7 @@
##
# @SgxEpcSection:
-#
-# Information about intel SGX EPC section
+# Information about intel SGX EPC section
#
# @node: the numa node
#
@@ -309,8 +300,7 @@
##
# @SgxInfo:
-#
-# Information about intel Safe Guard eXtension (SGX) support
+# Information about intel Safe Guard eXtension (SGX) support
#
# @sgx: true if SGX is supported
#
@@ -333,8 +323,7 @@
##
# @query-sgx:
-#
-# Return information about configured SGX capabilities of guest
+# Return information about configured SGX capabilities of guest
#
# Since: 6.2
#
@@ -350,8 +339,7 @@
##
# @query-sgx-capabilities:
-#
-# Return information about SGX capabilities of host
+# Return information about SGX capabilities of host
#
# Since: 6.2
#
@@ -367,8 +355,7 @@
##
# @EvtchnPortType:
-#
-# An enumeration of Xen event channel port types.
+# An enumeration of Xen event channel port types.
#
# @closed: The port is unused.
#
@@ -389,8 +376,7 @@
##
# @EvtchnInfo:
-#
-# Information about a Xen event channel port
+# Information about a Xen event channel port
#
# @port: the port number
#
@@ -419,8 +405,7 @@
##
# @xen-event-list:
-#
-# Query the Xen event channels opened by the guest.
+# Query the Xen event channels opened by the guest.
#
# Returns: list of open event channel ports.
#
@@ -456,8 +441,7 @@
##
# @xen-event-inject:
-#
-# Inject a Xen event channel port (interrupt) to the guest.
+# Inject a Xen event channel port (interrupt) to the guest.
#
# @port: The port number
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 29/43] qapi: convert trivial intro sections for block-export.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (27 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 28/43] qapi: convert trivial intro sections for misc-i386.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 30/43] qapi: convert trivial intro sections for audio.json John Snow
` (13 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/block-export.json | 50 +++++++++++++++---------------------------
1 file changed, 18 insertions(+), 32 deletions(-)
diff --git a/qapi/block-export.json b/qapi/block-export.json
index dd724acf1cb..154f07b0b95 100644
--- a/qapi/block-export.json
+++ b/qapi/block-export.json
@@ -80,9 +80,8 @@
##
# @BlockExportOptionsNbdBase:
-#
-# An NBD block export (common options shared between `nbd-server-add`
-# and the NBD branch of `block-export-add`).
+# An NBD block export (common options shared between
+# `nbd-server-add` and the NBD branch of `block-export-add`).
#
# @name: Export name. If unspecified, the @device parameter is used
# as the export name. (Since 2.12)
@@ -97,9 +96,8 @@
##
# @BlockExportOptionsNbd:
-#
-# An NBD block export (distinct options used in the NBD branch of
-# `block-export-add`).
+# An NBD block export (distinct options used in the NBD branch of
+# `block-export-add`).
#
# @bitmaps: Also export each of the named dirty bitmaps reachable from
# @device, so the NBD client can use NBD_OPT_SET_META_CONTEXT with
@@ -121,8 +119,7 @@
##
# @BlockExportOptionsVhostUserBlk:
-#
-# A vhost-user-blk block export.
+# A vhost-user-blk block export.
#
# @addr: The vhost-user socket on which to listen. Both 'unix' and
# 'fd' `SocketAddress` types are supported. Passed fds must be
@@ -143,8 +140,7 @@
##
# @FuseExportAllowOther:
-#
-# Possible allow_other modes for FUSE exports.
+# Possible allow_other modes for FUSE exports.
#
# @off: Do not pass allow_other as a mount option.
#
@@ -195,8 +191,7 @@
##
# @BlockExportOptionsVduseBlk:
-#
-# A vduse-blk block export.
+# A vduse-blk block export.
#
# @name: the name of VDUSE device (must be unique across the host).
#
@@ -221,8 +216,7 @@
##
# @NbdServerAddOptions:
-#
-# An NBD block export, per legacy `nbd-server-add` command.
+# An NBD block export, per legacy `nbd-server-add` command.
#
# @device: The device name or node name of the node to be exported
#
@@ -266,8 +260,7 @@
##
# @BlockExportRemoveMode:
-#
-# Mode for removing a block export.
+# Mode for removing a block export.
#
# @safe: Remove export if there are no existing connections, fail
# otherwise.
@@ -289,8 +282,7 @@
##
# @nbd-server-remove:
-#
-# Remove NBD export by name.
+# Remove NBD export by name.
#
# @name: Block export id.
#
@@ -316,9 +308,8 @@
##
# @nbd-server-stop:
-#
-# Stop QEMU's embedded NBD server, and unregister all devices
-# previously added via `nbd-server-add`.
+# Stop QEMU's embedded NBD server, and unregister all devices
+# previously added via `nbd-server-add`.
#
# Since: 1.3
##
@@ -327,8 +318,7 @@
##
# @BlockExportType:
-#
-# An enumeration of block export types
+# An enumeration of block export types
#
# @nbd: NBD export
#
@@ -412,9 +402,8 @@
##
# @BlockExportIothreads:
-#
-# Specify a single or multiple I/O threads in which to run a block
-# export's I/O.
+# Specify a single or multiple I/O threads in which to run a block
+# export's I/O.
#
# @single: Run the export's I/O in the given single I/O thread.
#
@@ -436,8 +425,7 @@
##
# @block-export-add:
-#
-# Creates a new block export.
+# Creates a new block export.
#
# Since: 5.2
##
@@ -470,8 +458,7 @@
##
# @BLOCK_EXPORT_DELETED:
-#
-# Emitted when a block export is removed and its id can be reused.
+# Emitted when a block export is removed and its id can be reused.
#
# @id: Block export id.
#
@@ -482,8 +469,7 @@
##
# @BlockExportInfo:
-#
-# Information about a single block export.
+# Information about a single block export.
#
# @id: The unique identifier for the block export
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 30/43] qapi: convert trivial intro sections for audio.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (28 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 29/43] qapi: convert trivial intro sections for block-export.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 31/43] qapi: convert trivial intro sections for block.json John Snow
` (12 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/audio.json | 88 ++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 56 deletions(-)
diff --git a/qapi/audio.json b/qapi/audio.json
index 2df87b97101..72190f20993 100644
--- a/qapi/audio.json
+++ b/qapi/audio.json
@@ -14,9 +14,8 @@
##
# @AudiodevPerDirectionOptions:
-#
-# General audio backend options that are used for both playback and
-# recording.
+# General audio backend options that are used for both playback
+# and recording.
#
# @mixing-engine: use QEMU's mixing engine to mix all streams inside
# QEMU and convert audio formats when not supported by the
@@ -53,8 +52,7 @@
##
# @AudiodevGenericOptions:
-#
-# Generic driver-specific options.
+# Generic driver-specific options.
#
# @in: options of the capture stream
#
@@ -69,8 +67,7 @@
##
# @AudiodevDBusOptions:
-#
-# Options of the D-Bus audio backend.
+# Options of the D-Bus audio backend.
#
# @in: options of the capture stream
#
@@ -89,9 +86,8 @@
##
# @AudiodevAlsaPerDirectionOptions:
-#
-# Options of the ALSA backend that are used for both playback and
-# recording.
+# Options of the ALSA backend that are used for both playback and
+# recording.
#
# @dev: the name of the ALSA device to use (default 'default')
#
@@ -111,8 +107,7 @@
##
# @AudiodevAlsaOptions:
-#
-# Options of the ALSA audio backend.
+# Options of the ALSA audio backend.
#
# @in: options of the capture stream
#
@@ -130,8 +125,7 @@
##
# @AudiodevSndioOptions:
-#
-# Options of the sndio audio backend.
+# Options of the sndio audio backend.
#
# @in: options of the capture stream
#
@@ -152,9 +146,8 @@
##
# @AudiodevCoreaudioPerDirectionOptions:
-#
-# Options of the Core Audio backend that are used for both playback
-# and recording.
+# Options of the Core Audio backend that are used for both
+# playback and recording.
#
# @buffer-count: number of buffers
#
@@ -167,8 +160,7 @@
##
# @AudiodevCoreaudioOptions:
-#
-# Options of the coreaudio audio backend.
+# Options of the coreaudio audio backend.
#
# @in: options of the capture stream
#
@@ -183,8 +175,7 @@
##
# @AudiodevDsoundOptions:
-#
-# Options of the DirectSound audio backend.
+# Options of the DirectSound audio backend.
#
# @in: options of the capture stream
#
@@ -203,9 +194,8 @@
##
# @AudiodevJackPerDirectionOptions:
-#
-# Options of the JACK backend that are used for both playback and
-# recording.
+# Options of the JACK backend that are used for both playback and
+# recording.
#
# @server-name: select from among several possible concurrent server
# instances (default: environment variable $JACK_DEFAULT_SERVER if
@@ -237,8 +227,7 @@
##
# @AudiodevJackOptions:
-#
-# Options of the JACK audio backend.
+# Options of the JACK audio backend.
#
# @in: options of the capture stream
#
@@ -253,9 +242,8 @@
##
# @AudiodevOssPerDirectionOptions:
-#
-# Options of the OSS backend that are used for both playback and
-# recording.
+# Options of the OSS backend that are used for both playback and
+# recording.
#
# @dev: file name of the OSS device (default '/dev/dsp')
#
@@ -275,8 +263,7 @@
##
# @AudiodevOssOptions:
-#
-# Options of the OSS audio backend.
+# Options of the OSS audio backend.
#
# @in: options of the capture stream
#
@@ -305,9 +292,8 @@
##
# @AudiodevPaPerDirectionOptions:
-#
-# Options of the Pulseaudio backend that are used for both playback
-# and recording.
+# Options of the Pulseaudio backend that are used for both
+# playback and recording.
#
# @name: name of the sink/source to use
#
@@ -330,8 +316,7 @@
##
# @AudiodevPaOptions:
-#
-# Options of the PulseAudio audio backend.
+# Options of the PulseAudio audio backend.
#
# @in: options of the capture stream
#
@@ -349,9 +334,8 @@
##
# @AudiodevPipewirePerDirectionOptions:
-#
-# Options of the PipeWire backend that are used for both playback and
-# recording.
+# Options of the PipeWire backend that are used for both playback
+# and recording.
#
# @name: name of the sink/source to use
#
@@ -374,8 +358,7 @@
##
# @AudiodevPipewireOptions:
-#
-# Options of the PipeWire audio backend.
+# Options of the PipeWire audio backend.
#
# @in: options of the capture stream
#
@@ -390,9 +373,8 @@
##
# @AudiodevSdlPerDirectionOptions:
-#
-# Options of the SDL audio backend that are used for both playback and
-# recording.
+# Options of the SDL audio backend that are used for both playback
+# and recording.
#
# @buffer-count: number of buffers (default 4)
#
@@ -405,8 +387,7 @@
##
# @AudiodevSdlOptions:
-#
-# Options of the SDL audio backend.
+# Options of the SDL audio backend.
#
# @in: options of the recording stream
#
@@ -421,8 +402,7 @@
##
# @AudiodevWavOptions:
-#
-# Options of the wav audio backend.
+# Options of the wav audio backend.
#
# @in: options of the capture stream
#
@@ -440,8 +420,7 @@
##
# @AudioFormat:
-#
-# An enumeration of possible audio formats.
+# An enumeration of possible audio formats.
#
# @u8: unsigned 8 bit integer
#
@@ -464,8 +443,7 @@
##
# @AudiodevDriver:
-#
-# An enumeration of possible audio backend drivers.
+# An enumeration of possible audio backend drivers.
#
# @jack: JACK audio backend (since 5.1)
#
@@ -488,8 +466,7 @@
##
# @Audiodev:
-#
-# Options of an audio backend.
+# Options of an audio backend.
#
# @id: identifier of the backend
#
@@ -534,8 +511,7 @@
##
# @query-audiodevs:
-#
-# Return information about audiodev configuration
+# Return information about audiodev configuration
#
# Since: 8.0
##
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 31/43] qapi: convert trivial intro sections for block.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (29 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 30/43] qapi: convert trivial intro sections for audio.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 32/43] qapi: convert trivial intro sections for misc.json John Snow
` (11 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/block.json | 41 +++++++++++++++++------------------------
1 file changed, 17 insertions(+), 24 deletions(-)
diff --git a/qapi/block.json b/qapi/block.json
index 46955bbb3e3..189f2e28204 100644
--- a/qapi/block.json
+++ b/qapi/block.json
@@ -50,8 +50,8 @@
##
# @FloppyDriveType:
-#
-# Type of floppy drive to be emulated by the Floppy Disk Controller.
+# Type of floppy drive to be emulated by the
+# Floppy Disk Controller.
#
# @144: 1.44MB 3.5" drive
#
@@ -70,8 +70,7 @@
##
# @PRManagerInfo:
-#
-# Information about a persistent reservation manager
+# Information about a persistent reservation manager
#
# @id: the identifier of the persistent reservation manager
#
@@ -85,9 +84,8 @@
##
# @query-pr-managers:
-#
-# Return a list of information about each persistent reservation
-# manager.
+# Return a list of information about each persistent reservation
+# manager.
#
# Returns: a list of manager info for each persistent reservation
# manager
@@ -99,8 +97,7 @@
##
# @eject:
-#
-# Ejects the medium from a removable drive.
+# Ejects the medium from a removable drive.
#
# @device: Block device name
#
@@ -297,9 +294,8 @@
##
# @BlockdevChangeReadOnlyMode:
-#
-# Specifies the new read-only mode of a block device subject to the
-# `blockdev-change-medium` command.
+# Specifies the new read-only mode of a block device subject to
+# the `blockdev-change-medium` command.
#
# @retain: Retains the current read-only mode
#
@@ -314,12 +310,11 @@
##
# @blockdev-change-medium:
-#
-# Changes the medium inserted into a block device by ejecting the
-# current medium and loading a new image file which is inserted as the
-# new medium (this command combines `blockdev-open-tray`,
-# `blockdev-remove-medium`, `blockdev-insert-medium` and
-# `blockdev-close-tray`).
+# Changes the medium inserted into a block device by ejecting the
+# current medium and loading a new image file which is inserted as
+# the new medium (this command combines `blockdev-open-tray`,
+# `blockdev-remove-medium`, `blockdev-insert-medium` and
+# `blockdev-close-tray`).
#
# @device: Block device name
#
@@ -385,9 +380,8 @@
##
# @DEVICE_TRAY_MOVED:
-#
-# Emitted whenever the tray of a removable device is moved by the
-# guest or by HMP/QMP commands
+# Emitted whenever the tray of a removable device is moved by the
+# guest or by HMP/QMP commands
#
# @device: Block device name. This is always present for
# compatibility reasons, but it can be empty ("") if the image
@@ -414,9 +408,8 @@
##
# @PR_MANAGER_STATUS_CHANGED:
-#
-# Emitted whenever the connected status of a persistent reservation
-# manager changes.
+# Emitted whenever the connected status of a persistent
+# reservation manager changes.
#
# @id: The id of the PR manager object
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 32/43] qapi: convert trivial intro sections for misc.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (30 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 31/43] qapi: convert trivial intro sections for block.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 33/43] qapi: convert trivial intro sections for crypto.json John Snow
` (10 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/misc.json | 74 ++++++++++++++++++--------------------------------
1 file changed, 27 insertions(+), 47 deletions(-)
diff --git a/qapi/misc.json b/qapi/misc.json
index 22b7afed9f6..b3c2a1421f3 100644
--- a/qapi/misc.json
+++ b/qapi/misc.json
@@ -44,8 +44,7 @@
##
# @NameInfo:
-#
-# Guest name information.
+# Guest name information.
#
# @name: The name of the guest
#
@@ -55,8 +54,7 @@
##
# @query-name:
-#
-# Return the name information of a guest.
+# Return the name information of a guest.
#
# Since: 0.14
#
@@ -69,8 +67,7 @@
##
# @IOThreadInfo:
-#
-# Information about an iothread
+# Information about an iothread
#
# @id: the identifier of the iothread
#
@@ -137,8 +134,7 @@
##
# @stop:
-#
-# Stop guest VM execution.
+# Stop guest VM execution.
#
# Since: 0.14
#
@@ -159,8 +155,7 @@
##
# @cont:
-#
-# Resume guest VM execution.
+# Resume guest VM execution.
#
# Since: 0.14
#
@@ -208,8 +203,7 @@
##
# @human-monitor-command:
-#
-# Execute a command on the human monitor and return the output.
+# Execute a command on the human monitor and return the output.
#
# @command-line: the command to execute in the human monitor
#
@@ -251,8 +245,7 @@
##
# @getfd:
-#
-# Receive a file descriptor via SCM rights and assign it a name
+# Receive a file descriptor via SCM rights and assign it a name
#
# @fdname: file descriptor name
#
@@ -273,11 +266,10 @@
##
# @get-win32-socket:
-#
-# Add a socket that was duplicated to QEMU process with
-# WSADuplicateSocketW() via WSASocket() & WSAPROTOCOL_INFOW structure
-# and assign it a name (the SOCKET is associated with a CRT file
-# descriptor)
+# Add a socket that was duplicated to QEMU process with
+# WSADuplicateSocketW() via WSASocket() & WSAPROTOCOL_INFOW
+# structure and assign it a name (the SOCKET is associated with a
+# CRT file descriptor)
#
# @info: the WSAPROTOCOL_INFOW structure (encoded in base64)
#
@@ -301,8 +293,7 @@
##
# @closefd:
-#
-# Close a file descriptor previously passed via SCM rights
+# Close a file descriptor previously passed via SCM rights
#
# @fdname: file descriptor name
#
@@ -317,8 +308,7 @@
##
# @AddfdInfo:
-#
-# Information about a file descriptor that was added to an fd set.
+# Information about a file descriptor that was added to an fd set.
#
# @fdset-id: The ID of the fd set that @fd was added to.
#
@@ -331,8 +321,8 @@
##
# @add-fd:
-#
-# Add a file descriptor, that was passed via SCM rights, to an fd set.
+# Add a file descriptor, that was passed via SCM rights, to an fd
+# set.
#
# @fdset-id: The ID of the fd set to add the file descriptor to.
#
@@ -361,8 +351,7 @@
##
# @remove-fd:
-#
-# Remove a file descriptor from an fd set.
+# Remove a file descriptor from an fd set.
#
# @fdset-id: The ID of the fd set that the file descriptor belongs to.
#
@@ -387,8 +376,7 @@
##
# @FdsetFdInfo:
-#
-# Information about a file descriptor that belongs to an fd set.
+# Information about a file descriptor that belongs to an fd set.
#
# @fd: The file descriptor value.
#
@@ -401,8 +389,7 @@
##
# @FdsetInfo:
-#
-# Information about an fd set.
+# Information about an fd set.
#
# @fdset-id: The ID of the fd set.
#
@@ -415,8 +402,7 @@
##
# @query-fdsets:
-#
-# Return information describing all fd sets.
+# Return information describing all fd sets.
#
# Since: 1.2
#
@@ -457,8 +443,7 @@
##
# @CommandLineParameterType:
-#
-# Possible types for an option parameter.
+# Possible types for an option parameter.
#
# @string: accepts a character string
#
@@ -476,8 +461,7 @@
##
# @CommandLineParameterInfo:
-#
-# Details about a single parameter of a command line option.
+# Details about a single parameter of a command line option.
#
# @name: parameter name
#
@@ -497,9 +481,8 @@
##
# @CommandLineOptionInfo:
-#
-# Details about a command line option, including its list of parameter
-# details
+# Details about a command line option, including its list of
+# parameter details
#
# @option: option name
#
@@ -512,8 +495,7 @@
##
# @query-command-line-options:
-#
-# Query command line option schema.
+# Query command line option schema.
#
# @option: option name
#
@@ -552,8 +534,7 @@
##
# @RTC_CHANGE:
-#
-# Emitted when the guest changes the RTC time.
+# Emitted when the guest changes the RTC time.
#
# @offset: offset in seconds between base RTC clock (as specified by
# -rtc base), and new RTC clock value
@@ -577,9 +558,8 @@
##
# @VFU_CLIENT_HANGUP:
-#
-# Emitted when the client of a TYPE_VFIO_USER_SERVER closes the
-# communication channel
+# Emitted when the client of a TYPE_VFIO_USER_SERVER closes the
+# communication channel
#
# @vfu-id: ID of the TYPE_VFIO_USER_SERVER object. It is the last
# component of @vfu-qom-path referenced below
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 33/43] qapi: convert trivial intro sections for crypto.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (31 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 32/43] qapi: convert trivial intro sections for misc.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 34/43] qapi: convert trivial intro sections for cxl.json John Snow
` (9 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/crypto.json | 100 +++++++++++++++++------------------------------
1 file changed, 36 insertions(+), 64 deletions(-)
diff --git a/qapi/crypto.json b/qapi/crypto.json
index 6e3a98ff68b..5e395bc10c7 100644
--- a/qapi/crypto.json
+++ b/qapi/crypto.json
@@ -26,8 +26,7 @@
##
# @QCryptoSecretFormat:
-#
-# The data format that the secret is provided in
+# The data format that the secret is provided in
#
# @raw: raw bytes. When encoded in JSON only valid UTF-8 sequences
# can be used
@@ -41,8 +40,7 @@
##
# @QCryptoHashAlgo:
-#
-# The supported algorithms for computing content digests
+# The supported algorithms for computing content digests
#
# @md5: MD5. Should not be used in any new code, legacy compat only
#
@@ -68,8 +66,7 @@
##
# @QCryptoCipherAlgo:
-#
-# The supported algorithms for content encryption ciphers
+# The supported algorithms for content encryption ciphers
#
# @aes-128: AES with 128 bit / 16 byte keys
#
@@ -110,8 +107,7 @@
##
# @QCryptoCipherMode:
-#
-# The supported modes for content encryption ciphers
+# The supported modes for content encryption ciphers
#
# @ecb: Electronic Code Book
#
@@ -150,8 +146,7 @@
##
# @QCryptoBlockFormat:
-#
-# The supported full disk encryption formats
+# The supported full disk encryption formats
#
# @qcow: QCow/QCow2 built-in AES-CBC encryption. Use only for
# liberating data from old images.
@@ -165,8 +160,8 @@
##
# @QCryptoBlockOptionsBase:
-#
-# The common options that apply to all full disk encryption formats
+# The common options that apply to all full disk encryption
+# formats
#
# @format: the encryption format
#
@@ -177,8 +172,7 @@
##
# @QCryptoBlockOptionsQCow:
-#
-# The options that apply to QCow/QCow2 AES-CBC encryption format
+# The options that apply to QCow/QCow2 AES-CBC encryption format
#
# @key-secret: the ID of a QCryptoSecret object providing the
# decryption key. Mandatory except when probing image for
@@ -191,8 +185,7 @@
##
# @QCryptoBlockOptionsLUKS:
-#
-# The options that apply to LUKS encryption format
+# The options that apply to LUKS encryption format
#
# @key-secret: the ID of a QCryptoSecret object providing the
# decryption key. Mandatory except when probing image for
@@ -205,8 +198,7 @@
##
# @QCryptoBlockCreateOptionsLUKS:
-#
-# The options that apply to LUKS encryption format initialization
+# The options that apply to LUKS encryption format initialization
#
# @cipher-alg: the cipher algorithm for data encryption. Currently
# defaults to 'aes-256'.
@@ -239,9 +231,8 @@
##
# @QCryptoBlockOpenOptions:
-#
-# The options that are available for all encryption formats when
-# opening an existing volume
+# The options that are available for all encryption formats when
+# opening an existing volume
#
# Since: 2.6
##
@@ -253,9 +244,8 @@
##
# @QCryptoBlockCreateOptions:
-#
-# The options that are available for all encryption formats when
-# initializing a new volume
+# The options that are available for all encryption formats when
+# initializing a new volume
#
# Since: 2.6
##
@@ -267,9 +257,8 @@
##
# @QCryptoBlockInfoBase:
-#
-# The common information that applies to all full disk encryption
-# formats
+# The common information that applies to all full disk encryption
+# formats
#
# @format: the encryption format
#
@@ -280,8 +269,7 @@
##
# @QCryptoBlockInfoLUKSSlot:
-#
-# Information about the LUKS block encryption key slot options
+# Information about the LUKS block encryption key slot options
#
# @active: whether the key slot is currently in use
#
@@ -301,8 +289,7 @@
##
# @QCryptoBlockInfoLUKS:
-#
-# Information about the LUKS block encryption options
+# Information about the LUKS block encryption options
#
# @cipher-alg: the cipher algorithm for data encryption
#
@@ -340,8 +327,7 @@
##
# @QCryptoBlockInfo:
-#
-# Information about the block encryption options
+# Information about the block encryption options
#
# Since: 2.7
##
@@ -352,8 +338,7 @@
##
# @QCryptoBlockLUKSKeyslotState:
-#
-# Defines state of keyslots that are affected by the update
+# Defines state of keyslots that are affected by the update
#
# @active: The slots contain the given password and marked as active
#
@@ -367,9 +352,8 @@
##
# @QCryptoBlockAmendOptionsLUKS:
-#
-# This struct defines the update parameters that activate/de-activate
-# set of keyslots
+# This struct defines the update parameters that
+# activate/de-activate set of keyslots
#
# @state: the desired state of the keyslots
#
@@ -409,9 +393,8 @@
##
# @QCryptoBlockAmendOptions:
-#
-# The options that are available for all encryption formats when
-# amending encryption settings
+# The options that are available for all encryption formats when
+# amending encryption settings
#
# Since: 5.1
##
@@ -423,8 +406,7 @@
##
# @SecretCommonProperties:
-#
-# Properties for objects of classes derived from secret-common.
+# Properties for objects of classes derived from secret-common.
#
# @format: the data format that the secret is provided in
# (default: raw)
@@ -465,8 +447,7 @@
##
# @SecretKeyringProperties:
-#
-# Properties for secret_keyring objects.
+# Properties for secret_keyring objects.
#
# @serial: serial number that identifies a key to get from the kernel
#
@@ -479,8 +460,7 @@
##
# @TlsCredsProperties:
-#
-# Properties for objects of classes derived from tls-creds.
+# Properties for objects of classes derived from tls-creds.
#
# @verify-peer: if true the peer credentials will be verified once the
# handshake is completed. This is a no-op for anonymous
@@ -505,8 +485,7 @@
##
# @TlsCredsAnonProperties:
-#
-# Properties for tls-creds-anon objects.
+# Properties for tls-creds-anon objects.
#
# Since: 2.5
##
@@ -516,8 +495,7 @@
##
# @TlsCredsPskProperties:
-#
-# Properties for tls-creds-psk objects.
+# Properties for tls-creds-psk objects.
#
# @username: the username which will be sent to the server. For
# clients only. If absent, "qemu" is sent and the property will
@@ -531,8 +509,7 @@
##
# @TlsCredsX509Properties:
-#
-# Properties for tls-creds-x509 objects.
+# Properties for tls-creds-x509 objects.
#
# @sanity-check: if true, perform some sanity checks before using the
# credentials (default: true)
@@ -552,8 +529,7 @@
##
# @QCryptoAkCipherAlgo:
-#
-# The supported algorithms for asymmetric encryption ciphers
+# The supported algorithms for asymmetric encryption ciphers
#
# @rsa: RSA algorithm
#
@@ -564,8 +540,7 @@
##
# @QCryptoAkCipherKeyType:
-#
-# The type of asymmetric keys.
+# The type of asymmetric keys.
#
# @public: public key
#
@@ -578,8 +553,7 @@
##
# @QCryptoRSAPaddingAlgo:
-#
-# The padding algorithm for RSA.
+# The padding algorithm for RSA.
#
# @raw: no padding used
#
@@ -592,8 +566,7 @@
##
# @QCryptoAkCipherOptionsRSA:
-#
-# Specific parameters for RSA algorithm.
+# Specific parameters for RSA algorithm.
#
# @hash-alg: `QCryptoHashAlgo`
#
@@ -607,9 +580,8 @@
##
# @QCryptoAkCipherOptions:
-#
-# The options that are available for all asymmetric key algorithms
-# when creating a new QCryptoAkCipher.
+# The options that are available for all asymmetric key algorithms
+# when creating a new QCryptoAkCipher.
#
# @alg: encryption cipher algorithm
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 34/43] qapi: convert trivial intro sections for cxl.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (32 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 33/43] qapi: convert trivial intro sections for crypto.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 35/43] qapi: convert trivial intro sections for run-state.json John Snow
` (8 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/cxl.json | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/qapi/cxl.json b/qapi/cxl.json
index 81d6198ba03..aef849a4c2a 100644
--- a/qapi/cxl.json
+++ b/qapi/cxl.json
@@ -365,8 +365,7 @@
##
# @CXLUncorErrorRecord:
-#
-# Record of a single error including header log.
+# Record of a single error including header log.
#
# @type: Type of error
#
@@ -399,8 +398,7 @@
##
# @CxlCorErrorType:
-#
-# Type of CXL correctable error to inject
+# Type of CXL correctable error to inject
#
# @cache-data-ecc: Data ECC error on CXL.cache
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 35/43] qapi: convert trivial intro sections for run-state.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (33 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 34/43] qapi: convert trivial intro sections for cxl.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-27 8:41 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 36/43] qapi: convert trivial intro sections for char.json John Snow
` (7 subsequent siblings)
42 siblings, 1 reply; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/run-state.json | 113 ++++++++++++++++----------------------------
1 file changed, 42 insertions(+), 71 deletions(-)
diff --git a/qapi/run-state.json b/qapi/run-state.json
index e4fdead1e0b..2a968a6bc0b 100644
--- a/qapi/run-state.json
+++ b/qapi/run-state.json
@@ -10,8 +10,7 @@
##
# @RunState:
-#
-# An enumeration of VM run states.
+# An enumeration of VM run states.
#
# @debug: QEMU is running on a debugger
#
@@ -63,8 +62,7 @@
##
# @ShutdownCause:
-#
-# An enumeration of reasons for a shutdown.
+# An enumeration of reasons for a shutdown.
#
# @none: No shutdown request pending
#
@@ -103,8 +101,7 @@
##
# @StatusInfo:
-#
-# Information about VM run state
+# Information about VM run state
#
# @running: true if all VCPUs are runnable, false if not runnable
#
@@ -118,8 +115,7 @@
##
# @query-status:
-#
-# Query the run status of the VM
+# Query the run status of the VM
#
# Since: 0.14
#
@@ -134,9 +130,8 @@
##
# @SHUTDOWN:
-#
-# Emitted when the virtual machine has shut down, indicating that QEMU
-# is about to exit.
+# Emitted when the virtual machine has shut down, indicating that
+# QEMU is about to exit.
#
# @guest: If true, the shutdown was triggered by a guest request (such
# as a guest-initiated ACPI shutdown request or other
@@ -162,9 +157,8 @@
##
# @POWERDOWN:
-#
-# Emitted when the virtual machine is powered down through the power
-# control system, such as via ACPI.
+# Emitted when the virtual machine is powered down through the
+# power control system, such as via ACPI.
#
# Since: 0.12
#
@@ -177,8 +171,7 @@
##
# @RESET:
-#
-# Emitted when the virtual machine is reset
+# Emitted when the virtual machine is reset
#
# @guest: If true, the reset was triggered by a guest request (such as
# a guest-initiated ACPI reboot request or other hardware-specific
@@ -199,8 +192,7 @@
##
# @STOP:
-#
-# Emitted when the virtual machine is stopped
+# Emitted when the virtual machine is stopped
#
# Since: 0.12
#
@@ -213,8 +205,7 @@
##
# @RESUME:
-#
-# Emitted when the virtual machine resumes execution
+# Emitted when the virtual machine resumes execution
#
# Since: 0.12
#
@@ -227,9 +218,8 @@
##
# @SUSPEND:
-#
-# Emitted when guest enters a hardware suspension state, for example,
-# S3 state, which is sometimes called standby state
+# Emitted when guest enters a hardware suspension state, for
+# example, S3 state, which is sometimes called standby state
#
# Since: 1.1
#
@@ -261,9 +251,8 @@
##
# @WAKEUP:
-#
-# Emitted when the guest has woken up from suspend state and is
-# running
+# Emitted when the guest has woken up from suspend state and is
+# running
#
# Since: 1.1
#
@@ -276,8 +265,7 @@
##
# @WATCHDOG:
-#
-# Emitted when the watchdog device's timer is expired
+# Emitted when the watchdog device's timer is expired
#
# @action: action that has been taken
#
@@ -300,9 +288,8 @@
##
# @WatchdogAction:
-#
-# An enumeration of the actions taken when the watchdog device's timer
-# is expired
+# An enumeration of the actions taken when the watchdog device's
+# timer is expired
#
# @reset: system resets
#
@@ -330,8 +317,7 @@
##
# @RebootAction:
-#
-# Possible QEMU actions upon guest reboot
+# Possible QEMU actions upon guest reboot
#
# @reset: Reset the VM
#
@@ -345,8 +331,7 @@
##
# @ShutdownAction:
-#
-# Possible QEMU actions upon guest shutdown
+# Possible QEMU actions upon guest shutdown
#
# @poweroff: Shutdown the VM and exit
#
@@ -377,8 +362,7 @@
##
# @watchdog-set-action:
-#
-# Set watchdog action.
+# Set watchdog action.
#
# @action: `WatchdogAction` action taken when watchdog timer expires.
#
@@ -394,9 +378,8 @@
##
# @set-action:
-#
-# Set the actions that will be taken by the emulator in response to
-# guest events.
+# Set the actions that will be taken by the emulator in response
+# to guest events.
#
# @reboot: `RebootAction` action taken on guest reboot.
#
@@ -427,8 +410,7 @@
##
# @GUEST_PANICKED:
-#
-# Emitted when guest OS panic is detected
+# Emitted when guest OS panic is detected
#
# @action: action that has been taken, currently always "pause"
#
@@ -447,8 +429,7 @@
##
# @GUEST_CRASHLOADED:
-#
-# Emitted when guest OS crash loaded is detected
+# Emitted when guest OS crash loaded is detected
#
# @action: action that has been taken, currently always "run"
#
@@ -467,8 +448,8 @@
##
# @GUEST_PVSHUTDOWN:
-#
-# Emitted when guest submits a shutdown request via pvpanic interface
+# Emitted when guest submits a shutdown request via pvpanic
+# interface
#
# Since: 9.1
#
@@ -481,8 +462,8 @@
##
# @GuestPanicAction:
-#
-# An enumeration of the actions taken when guest OS panic is detected
+# An enumeration of the actions taken when guest OS panic is
+# detected
#
# @pause: system pauses
#
@@ -497,8 +478,7 @@
##
# @GuestPanicInformationType:
-#
-# An enumeration of the guest panic information types
+# An enumeration of the guest panic information types
#
# @hyper-v: hyper-v guest panic information type
#
@@ -515,8 +495,7 @@
##
# @GuestPanicInformation:
-#
-# Information about a guest panic
+# Information about a guest panic
#
# @type: Crash type that defines the hypervisor specific information
#
@@ -532,8 +511,7 @@
##
# @GuestPanicInformationHyperV:
-#
-# Hyper-V specific guest panic information (HV crash MSRs)
+# Hyper-V specific guest panic information (HV crash MSRs)
#
# @arg1: for Windows, `STOP` code for the guest crash. For Linux,
# an error code.
@@ -562,8 +540,7 @@
##
# @S390CrashReason:
-#
-# Reason why the CPU is in a crashed state.
+# Reason why the CPU is in a crashed state.
#
# @unknown: no crash reason was set
#
@@ -588,8 +565,7 @@
##
# @GuestPanicInformationS390:
-#
-# S390 specific guest panic information (PSW)
+# S390 specific guest panic information (PSW)
#
# @core: core id of the CPU that crashed
#
@@ -632,9 +608,8 @@
##
# @GuestPanicInformationSev:
-#
-# Information for AMD SEV-specific termination request (GHCB MSR
-# contents)
+# Information for AMD SEV-specific termination request (GHCB MSR
+# contents)
#
# @set: The reason code set provided by the guest
#
@@ -648,8 +623,7 @@
##
# @MEMORY_FAILURE:
-#
-# Emitted when a memory failure occurs on host side.
+# Emitted when a memory failure occurs on host side.
#
# @recipient: recipient is defined as `MemoryFailureRecipient`.
#
@@ -675,8 +649,7 @@
##
# @MemoryFailureRecipient:
-#
-# Hardware memory failure occurs, handled by recipient.
+# Hardware memory failure occurs, handled by recipient.
#
# @hypervisor: memory failure at QEMU process address space. (none
# guest memory, but used by QEMU itself).
@@ -691,8 +664,7 @@
##
# @MemoryFailureAction:
-#
-# Actions taken by QEMU in response to a hardware memory failure.
+# Actions taken by QEMU in response to a hardware memory failure.
#
# @ignore: the memory failure could be ignored. This will only be the
# case for action-optional failures.
@@ -719,8 +691,7 @@
##
# @MemoryFailureFlags:
-#
-# Additional information on memory failures.
+# Additional information on memory failures.
#
# @action-required: whether a memory failure event is action-required
# or action-optional (e.g. a failure during memory scrub).
@@ -736,8 +707,8 @@
##
# @NotifyVmexitOption:
-#
-# An enumeration of the options specified when enabling notify VM exit
+# An enumeration of the options specified when enabling notify VM
+# exit
#
# @run: enable the feature, do nothing and continue if the notify VM
# exit happens.
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 36/43] qapi: convert trivial intro sections for char.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (34 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 35/43] qapi: convert trivial intro sections for run-state.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 37/43] qapi: convert trivial intro sections for virtio.json John Snow
` (6 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/char.json | 90 +++++++++++++++++---------------------------------
1 file changed, 30 insertions(+), 60 deletions(-)
diff --git a/qapi/char.json b/qapi/char.json
index abaccefa97e..7ae67eedff8 100644
--- a/qapi/char.json
+++ b/qapi/char.json
@@ -12,8 +12,7 @@
##
# @ChardevInfo:
-#
-# Information about a character device.
+# Information about a character device.
#
# @label: the label of the character device
#
@@ -35,8 +34,7 @@
##
# @query-chardev:
-#
-# Return information about current character devices.
+# Return information about current character devices.
#
# Since: 0.14
#
@@ -68,8 +66,7 @@
##
# @ChardevBackendInfo:
-#
-# Information about a character device backend
+# Information about a character device backend
#
# @name: The backend name
#
@@ -79,8 +76,7 @@
##
# @query-chardev-backends:
-#
-# Return information about character device backends.
+# Return information about character device backends.
#
# Since: 2.0
#
@@ -108,8 +104,7 @@
##
# @DataFormat:
-#
-# An enumeration of data format.
+# An enumeration of data format.
#
# @utf8: Data is a UTF-8 string (RFC 3629)
#
@@ -122,8 +117,7 @@
##
# @ringbuf-write:
-#
-# Write to a ring buffer character device.
+# Write to a ring buffer character device.
#
# @device: the ring buffer character device name
#
@@ -154,8 +148,7 @@
##
# @ringbuf-read:
-#
-# Read from a ring buffer character device.
+# Read from a ring buffer character device.
#
# @device: the ring buffer character device name
#
@@ -189,8 +182,7 @@
##
# @ChardevCommon:
-#
-# Configuration shared across all chardev backends
+# Configuration shared across all chardev backends
#
# @logfile: The name of a logfile to save output
#
@@ -209,8 +201,7 @@
##
# @ChardevFile:
-#
-# Configuration info for file chardevs.
+# Configuration info for file chardevs.
#
# @in: The name of the input file
#
@@ -229,8 +220,7 @@
##
# @ChardevHostdev:
-#
-# Configuration info for device and pipe chardevs.
+# Configuration info for device and pipe chardevs.
#
# @device: The name of the special file for the device, i.e.
# /dev/ttyS0 on Unix or COM1: on Windows
@@ -243,8 +233,7 @@
##
# @ChardevSocket:
-#
-# Configuration info for (stream) socket chardevs.
+# Configuration info for (stream) socket chardevs.
#
# @addr: socket address to listen on (server=true) or connect to
# (server=false)
@@ -295,8 +284,7 @@
##
# @ChardevUdp:
-#
-# Configuration info for datagram socket chardevs.
+# Configuration info for datagram socket chardevs.
#
# @remote: remote address
#
@@ -311,8 +299,7 @@
##
# @ChardevMux:
-#
-# Configuration info for mux chardevs.
+# Configuration info for mux chardevs.
#
# @chardev: name of the base chardev.
#
@@ -324,8 +311,7 @@
##
# @ChardevHub:
-#
-# Configuration info for hub chardevs.
+# Configuration info for hub chardevs.
#
# @chardevs: IDs to be added to this hub (maximum 4 devices).
#
@@ -337,8 +323,7 @@
##
# @ChardevStdio:
-#
-# Configuration info for stdio chardevs.
+# Configuration info for stdio chardevs.
#
# @signal: Allow signals (such as SIGINT triggered by ^C) be delivered
# to QEMU. Default: true.
@@ -351,8 +336,7 @@
##
# @ChardevSpiceChannel:
-#
-# Configuration info for spice vm channel chardevs.
+# Configuration info for spice vm channel chardevs.
#
# @type: kind of channel (for example vdagent).
#
@@ -365,8 +349,7 @@
##
# @ChardevSpicePort:
-#
-# Configuration info for spice port chardevs.
+# Configuration info for spice port chardevs.
#
# @fqdn: name of the channel (see docs/spice-port-fqdn.txt)
#
@@ -379,8 +362,7 @@
##
# @ChardevVCEncoding:
-#
-# Character encoding expected from the guest on a virtual console.
+# Character encoding expected from the guest on a virtual console.
#
# @cp437: CP437 (8-bit Extended ASCII / VGA). Every byte maps
# directly to a glyph; suitable for DOS or other guests that
@@ -397,8 +379,7 @@
##
# @ChardevDBus:
-#
-# Configuration info for DBus chardevs.
+# Configuration info for DBus chardevs.
#
# @name: name of the channel (following docs/spice-port-fqdn.txt)
#
@@ -415,8 +396,7 @@
##
# @ChardevVC:
-#
-# Configuration info for virtual console chardevs.
+# Configuration info for virtual console chardevs.
#
# @width: console width, in pixels
#
@@ -445,8 +425,7 @@
##
# @ChardevRingbuf:
-#
-# Configuration info for ring buffer chardevs.
+# Configuration info for ring buffer chardevs.
#
# @size: ring buffer size, must be power of two, default is 65536
#
@@ -458,8 +437,7 @@
##
# @ChardevQemuVDAgent:
-#
-# Configuration info for QEMU vdagent implementation.
+# Configuration info for QEMU vdagent implementation.
#
# @mouse: enable/disable mouse, default is enabled.
#
@@ -475,8 +453,7 @@
##
# @ChardevPty:
-#
-# Configuration info for pty implementation.
+# Configuration info for pty implementation.
#
# @path: optional path to create a symbolic link that points to the
# allocated PTY
@@ -723,8 +700,7 @@
##
# @ChardevBackend:
-#
-# Configuration info for the new chardev backend.
+# Configuration info for the new chardev backend.
#
# @type: backend type
#
@@ -767,8 +743,7 @@
##
# @ChardevReturn:
-#
-# Return info about the chardev backend just created.
+# Return info about the chardev backend just created.
#
# @pty: name of the slave pseudoterminal device, present if and only
# if a chardev of type 'pty' was created
@@ -780,8 +755,7 @@
##
# @chardev-add:
-#
-# Add a character device backend
+# Add a character device backend
#
# @id: the chardev's ID, must be unique
#
@@ -818,8 +792,7 @@
##
# @chardev-change:
-#
-# Change a character device backend
+# Change a character device backend
#
# @id: the chardev's ID
#
@@ -859,8 +832,7 @@
##
# @chardev-remove:
-#
-# Remove a character device backend
+# Remove a character device backend
#
# @id: the chardev's ID, must not be in use
#
@@ -876,8 +848,7 @@
##
# @chardev-send-break:
-#
-# Send a break to a character device
+# Send a break to a character device
#
# @id: the chardev's ID
#
@@ -893,8 +864,7 @@
##
# @VSERPORT_CHANGE:
-#
-# Emitted when the guest opens or closes a virtio-serial port.
+# Emitted when the guest opens or closes a virtio-serial port.
#
# @id: device identifier of the virtio-serial port
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 37/43] qapi: convert trivial intro sections for virtio.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (35 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 36/43] qapi: convert trivial intro sections for char.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 38/43] qapi: convert trivial intro sections for net.json John Snow
` (5 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/virtio.json | 54 ++++++++++++++++++------------------------------
1 file changed, 20 insertions(+), 34 deletions(-)
diff --git a/qapi/virtio.json b/qapi/virtio.json
index 1fc4e38a44d..9aafc3a212f 100644
--- a/qapi/virtio.json
+++ b/qapi/virtio.json
@@ -10,8 +10,7 @@
##
# @VirtioInfo:
-#
-# Basic information about a given VirtIODevice
+# Basic information about a given VirtIODevice
#
# @path: The VirtIODevice's canonical QOM path
#
@@ -25,8 +24,7 @@
##
# @x-query-virtio:
-#
-# Return a list of all realized VirtIODevices
+# Return a list of all realized VirtIODevices
#
# Features:
#
@@ -189,8 +187,7 @@
##
# @x-query-virtio-status:
-#
-# Poll for a comprehensive status of a given virtio device
+# Poll for a comprehensive status of a given virtio device
#
# @path: Canonical QOM path of the VirtIODevice
#
@@ -442,9 +439,8 @@
##
# @VirtioDeviceStatus:
-#
-# A structure defined to list the configuration statuses of a virtio
-# device
+# A structure defined to list the configuration statuses of a
+# virtio device
#
# @statuses: List of decoded configuration statuses of the virtio
# device
@@ -460,9 +456,8 @@
##
# @VhostDeviceProtocols:
-#
-# A structure defined to list the vhost user protocol features of a
-# Vhost User device
+# A structure defined to list the vhost user protocol features of
+# a Vhost User device
#
# @protocols: List of decoded vhost user protocol features of a vhost
# user device
@@ -503,9 +498,8 @@
##
# @VirtQueueStatus:
-#
-# Information of a VirtIODevice VirtQueue, including most members of
-# the VirtQueue data structure.
+# Information of a VirtIODevice VirtQueue, including most members
+# of the VirtQueue data structure.
#
# @name: Name of the VirtIODevice that uses this VirtQueue
#
@@ -556,8 +550,7 @@
##
# @x-query-virtio-queue-status:
-#
-# Return the status of a given VirtIODevice's VirtQueue
+# Return the status of a given VirtIODevice's VirtQueue
#
# @path: VirtIODevice canonical QOM path
#
@@ -640,9 +633,8 @@
##
# @VirtVhostQueueStatus:
-#
-# Information of a vhost device's vhost_virtqueue, including most
-# members of the vhost_dev vhost_virtqueue data structure.
+# Information of a vhost device's vhost_virtqueue, including most
+# members of the vhost_dev vhost_virtqueue data structure.
#
# @name: Name of the VirtIODevice that uses this vhost_virtqueue
#
@@ -682,8 +674,7 @@
##
# @x-query-virtio-vhost-queue-status:
-#
-# Return information of a given vhost device's vhost_virtqueue
+# Return information of a given vhost device's vhost_virtqueue
#
# @path: VirtIODevice canonical QOM path
#
@@ -746,8 +737,7 @@
##
# @VirtioRingDesc:
-#
-# Information regarding the vring descriptor area
+# Information regarding the vring descriptor area
#
# @addr: Guest physical address of the descriptor area
#
@@ -797,9 +787,8 @@
##
# @VirtioQueueElement:
-#
-# Information regarding a VirtQueue's VirtQueueElement including
-# descriptor, driver, and device areas
+# Information regarding a VirtQueue's VirtQueueElement including
+# descriptor, driver, and device areas
#
# @name: Name of the VirtIODevice that uses this VirtQueue
#
@@ -822,8 +811,7 @@
##
# @x-query-virtio-queue-element:
-#
-# Return the information about a VirtQueue's VirtQueueElement
+# Return the information about a VirtQueue's VirtQueueElement
#
# @path: VirtIODevice canonical QOM path
#
@@ -933,8 +921,7 @@
##
# @IOThreadVirtQueueMapping:
-#
-# Describes the subset of virtqueues assigned to an IOThread.
+# Describes the subset of virtqueues assigned to an IOThread.
#
# @iothread: the id of IOThread object
#
@@ -973,9 +960,8 @@
##
# @DummyVirtioForceArrays:
-#
-# Not used by QMP; hack to let us use IOThreadVirtQueueMappingList and
-# VirtIOGPUOutputList internally
+# Not used by QMP; hack to let us use IOThreadVirtQueueMappingList
+# and VirtIOGPUOutputList internally
#
# Since: 9.0
##
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 38/43] qapi: convert trivial intro sections for net.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (36 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 37/43] qapi: convert trivial intro sections for virtio.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 39/43] qapi: convert trivial intro sections for qom.json John Snow
` (4 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/net.json | 92 ++++++++++++++++++---------------------------------
1 file changed, 33 insertions(+), 59 deletions(-)
diff --git a/qapi/net.json b/qapi/net.json
index 1a6382825c5..4ea4bd1bc72 100644
--- a/qapi/net.json
+++ b/qapi/net.json
@@ -12,8 +12,7 @@
##
# @set_link:
-#
-# Sets the link status of a virtual network adapter.
+# Sets the link status of a virtual network adapter.
#
# @name: the device name of the virtual network adapter
#
@@ -60,8 +59,7 @@
##
# @netdev_del:
-#
-# Remove a network backend.
+# Remove a network backend.
#
# @id: the name of the network backend to remove
#
@@ -80,8 +78,7 @@
##
# @NetLegacyNicOptions:
-#
-# Create a new Network Interface Card.
+# Create a new Network Interface Card.
#
# @netdev: id of -netdev to connect to
#
@@ -140,8 +137,7 @@
##
# @NetdevPasstOptions:
-#
-# Unprivileged user-mode network connectivity using passt
+# Unprivileged user-mode network connectivity using passt
#
# @path: Filename of the passt program to run (by default 'passt', and
# use PATH)
@@ -301,9 +297,8 @@
##
# @NetdevUserOptions:
-#
-# Use the user mode network stack which requires no administrator
-# privilege to run.
+# Use the user mode network stack which requires no administrator
+# privilege to run.
#
# @hostname: client hostname reported by the builtin DHCP server
#
@@ -389,8 +384,7 @@
##
# @NetdevTapOptions:
-#
-# Used to configure a host TAP network interface backend.
+# Used to configure a host TAP network interface backend.
#
# @ifname: interface name
#
@@ -447,9 +441,8 @@
##
# @NetdevSocketOptions:
-#
-# Socket netdevs are used to establish a network connection to another
-# QEMU virtual machine via a TCP socket.
+# Socket netdevs are used to establish a network connection to
+# another QEMU virtual machine via a TCP socket.
#
# @fd: file descriptor of an already opened socket
#
@@ -476,8 +469,7 @@
##
# @NetdevL2TPv3Options:
-#
-# Configure an Ethernet over L2TPv3 tunnel.
+# Configure an Ethernet over L2TPv3 tunnel.
#
# @src: source address
#
@@ -531,8 +523,7 @@
##
# @NetdevVdeOptions:
-#
-# Connect to a vde switch running on the host.
+# Connect to a vde switch running on the host.
#
# @sock: socket path
#
@@ -553,8 +544,7 @@
##
# @NetdevBridgeOptions:
-#
-# Connect a host TAP network interface to a host bridge device.
+# Connect a host TAP network interface to a host bridge device.
#
# @br: bridge name
#
@@ -569,8 +559,7 @@
##
# @NetdevHubPortOptions:
-#
-# Connect two or more net clients through a software hub.
+# Connect two or more net clients through a software hub.
#
# @hubid: hub identifier number
#
@@ -586,8 +575,8 @@
##
# @NetdevNetmapOptions:
-#
-# Connect a client to a netmap-enabled NIC or to a VALE switch port
+# Connect a client to a netmap-enabled NIC or to a VALE switch
+# port
#
# @ifname: Either the name of an existing network interface supported
# by netmap, or the name of a VALE port (created on the fly). A
@@ -607,8 +596,7 @@
##
# @AFXDPMode:
-#
-# Attach mode for a default XDP program
+# Attach mode for a default XDP program
#
# @skb: generic mode, no driver support necessary
#
@@ -623,8 +611,7 @@
##
# @NetdevAFXDPOptions:
-#
-# AF_XDP network backend
+# AF_XDP network backend
#
# @ifname: The name of an existing network interface.
#
@@ -675,8 +662,7 @@
##
# @NetdevVhostUserOptions:
-#
-# Vhost-user network backend
+# Vhost-user network backend
#
# @chardev: name of a unix socket chardev
#
@@ -836,8 +822,7 @@
##
# @NetdevStreamOptions:
-#
-# Configuration info for stream socket netdev
+# Configuration info for stream socket netdev
#
# @addr: socket address to listen on (server=true) or connect to
# (server=false)
@@ -861,8 +846,7 @@
##
# @NetdevDgramOptions:
-#
-# Configuration info for datagram socket netdev.
+# Configuration info for datagram socket netdev.
#
# @remote: remote address
#
@@ -898,8 +882,7 @@
##
# @NetClientDriver:
-#
-# Available netdev drivers.
+# Available netdev drivers.
#
# @l2tpv3: since 2.1
#
@@ -933,8 +916,7 @@
##
# @Netdev:
-#
-# Captures the configuration of a network device.
+# Captures the configuration of a network device.
#
# @id: identifier for monitor commands.
#
@@ -972,8 +954,7 @@
##
# @RxState:
-#
-# Packets receiving state
+# Packets receiving state
#
# @normal: filter assigned packets according to the mac-table
#
@@ -987,8 +968,7 @@
##
# @RxFilterInfo:
-#
-# Rx-filter information for a NIC.
+# Rx-filter information for a NIC.
#
# @name: net client name
#
@@ -1033,8 +1013,8 @@
##
# @query-rx-filter:
-#
-# Return rx-filter information for all NICs (or for the given NIC).
+# Return rx-filter information for all NICs (or for the given
+# NIC).
#
# @name: net client name
#
@@ -1082,9 +1062,8 @@
##
# @NIC_RX_FILTER_CHANGED:
-#
-# Emitted once until the `query-rx-filter` command is executed, the
-# first event will always be emitted
+# Emitted once until the `query-rx-filter` command is executed,
+# the first event will always be emitted
#
# @name: net client name
#
@@ -1104,8 +1083,7 @@
##
# @AnnounceParameters:
-#
-# Parameters for self-announce timers
+# Parameters for self-announce timers
#
# @initial: Initial delay (in ms) before sending the first GARP/RARP
# announcement
@@ -1178,8 +1156,7 @@
##
# @NETDEV_STREAM_CONNECTED:
-#
-# Emitted when the netdev stream backend is connected
+# Emitted when the netdev stream backend is connected
#
# @netdev-id: QEMU netdev id that is connected
#
@@ -1208,8 +1185,7 @@
##
# @NETDEV_STREAM_DISCONNECTED:
-#
-# Emitted when the netdev stream backend is disconnected
+# Emitted when the netdev stream backend is disconnected
#
# @netdev-id: QEMU netdev id that is disconnected
#
@@ -1226,8 +1202,7 @@
##
# @NETDEV_VHOST_USER_CONNECTED:
-#
-# Emitted when the vhost-user chardev is connected
+# Emitted when the vhost-user chardev is connected
#
# @netdev-id: QEMU netdev id that is connected
#
@@ -1246,8 +1221,7 @@
##
# @NETDEV_VHOST_USER_DISCONNECTED:
-#
-# Emitted when the vhost-user chardev is disconnected
+# Emitted when the vhost-user chardev is disconnected
#
# @netdev-id: QEMU netdev id that is disconnected
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 39/43] qapi: convert trivial intro sections for qom.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (37 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 38/43] qapi: convert trivial intro sections for net.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-27 8:42 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 40/43] qapi: convert trivial intro sections for ui.json John Snow
` (3 subsequent siblings)
42 siblings, 1 reply; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/qom.json | 150 +++++++++++++++++---------------------------------
1 file changed, 51 insertions(+), 99 deletions(-)
diff --git a/qapi/qom.json b/qapi/qom.json
index 4a9b7f90884..51af9485e6d 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -77,8 +77,7 @@
##
# @qom-list:
-#
-# List properties of a object given a path in the object model.
+# List properties of a object given a path in the object model.
#
# @path: the path within the object model. See `qom-get` for a
# description of this parameter.
@@ -103,8 +102,7 @@
##
# @qom-get:
-#
-# Get a property value.
+# Get a property value.
#
# @path: The path within the object model. There are two forms of
# supported paths--absolute and partial paths.
@@ -154,9 +152,8 @@
##
# @qom-list-get:
-#
-# List properties and their values for each object path in the input
-# list.
+# List properties and their values for each object path in the
+# input list.
#
# @paths: The absolute or partial path for each object, as described
# in `qom-get`.
@@ -176,8 +173,7 @@
##
# @qom-set:
-#
-# Set a property value.
+# Set a property value.
#
# @path: see `qom-get` for a description of this parameter
#
@@ -202,8 +198,7 @@
##
# @ObjectTypeInfo:
-#
-# This structure describes a search result from `qom-list-types`
+# This structure describes a search result from `qom-list-types`
#
# @name: the type name found in the search
#
@@ -219,8 +214,7 @@
##
# @qom-list-types:
-#
-# Return a list of types given search parameters.
+# Return a list of types given search parameters.
#
# @implements: if specified, only return types that implement this
# type name
@@ -238,8 +232,7 @@
##
# @qom-list-properties:
-#
-# List properties associated with a QOM object.
+# List properties associated with a QOM object.
#
# @typename: the type name of an object
#
@@ -258,8 +251,7 @@
##
# @CanHostSocketcanProperties:
-#
-# Properties for can-host-socketcan objects.
+# Properties for can-host-socketcan objects.
#
# @if: interface name of the host system CAN bus to connect to
#
@@ -275,8 +267,7 @@
##
# @ColoCompareProperties:
-#
-# Properties for colo-compare objects.
+# Properties for colo-compare objects.
#
# @primary_in: name of the character device backend to use for the
# primary input (incoming packets are redirected to @outdev)
@@ -323,9 +314,8 @@
##
# @CryptodevBackendProperties:
-#
-# Properties for cryptodev-backend and cryptodev-backend-builtin
-# objects.
+# Properties for cryptodev-backend and cryptodev-backend-builtin
+# objects.
#
# @queues: the number of queues for the cryptodev backend. Ignored
# for cryptodev-backend and must be 1 for
@@ -344,8 +334,7 @@
##
# @CryptodevVhostUserProperties:
-#
-# Properties for cryptodev-vhost-user objects.
+# Properties for cryptodev-vhost-user objects.
#
# @chardev: the name of a Unix domain socket character device that
# connects to the vhost-user server
@@ -359,8 +348,7 @@
##
# @DBusVMStateProperties:
-#
-# Properties for dbus-vmstate objects.
+# Properties for dbus-vmstate objects.
#
# @addr: the name of the DBus bus to connect to
#
@@ -375,9 +363,8 @@
##
# @NetfilterInsert:
-#
-# Indicates where to insert a netfilter relative to a given other
-# filter.
+# Indicates where to insert a netfilter relative to a given other
+# filter.
#
# @before: insert before the specified filter
#
@@ -390,8 +377,7 @@
##
# @NetfilterProperties:
-#
-# Properties for objects of classes derived from netfilter.
+# Properties for objects of classes derived from netfilter.
#
# @netdev: id of the network device backend to filter
#
@@ -423,8 +409,7 @@
##
# @FilterBufferProperties:
-#
-# Properties for filter-buffer objects.
+# Properties for filter-buffer objects.
#
# @interval: a non-zero interval in microseconds. All packets
# arriving in the given interval are delayed until the end of the
@@ -438,8 +423,7 @@
##
# @FilterDumpProperties:
-#
-# Properties for filter-dump objects.
+# Properties for filter-dump objects.
#
# @file: the filename where the dumped packets should be stored
#
@@ -455,8 +439,7 @@
##
# @FilterMirrorProperties:
-#
-# Properties for filter-mirror objects.
+# Properties for filter-mirror objects.
#
# @outdev: the name of a character device backend to which all
# incoming packets are mirrored
@@ -498,8 +481,7 @@
##
# @FilterRewriterProperties:
-#
-# Properties for filter-rewriter objects.
+# Properties for filter-rewriter objects.
#
# @vnet_hdr_support: if true, vnet header support is enabled
# (default: false)
@@ -512,8 +494,7 @@
##
# @InputBarrierProperties:
-#
-# Properties for input-barrier objects.
+# Properties for input-barrier objects.
#
# @name: the screen name as declared in the screens section of
# barrier.conf
@@ -545,8 +526,7 @@
##
# @InputLinuxProperties:
-#
-# Properties for input-linux objects.
+# Properties for input-linux objects.
#
# @evdev: the path of the host evdev device to use
#
@@ -569,8 +549,7 @@
##
# @EventLoopBaseProperties:
-#
-# Common properties for event loops
+# Common properties for event loops
#
# @aio-max-batch: maximum number of requests in a batch for the AIO
# engine, 0 means that the engine will use its default.
@@ -591,8 +570,7 @@
##
# @IothreadProperties:
-#
-# Properties for iothread objects.
+# Properties for iothread objects.
#
# @poll-max-ns: the maximum number of nanoseconds to busy wait for
# events. 0 means polling is disabled (default: 32768 on POSIX
@@ -626,8 +604,7 @@
##
# @MainLoopProperties:
-#
-# Properties for the main-loop object.
+# Properties for the main-loop object.
#
# Since: 7.1
##
@@ -637,8 +614,7 @@
##
# @MemoryBackendProperties:
-#
-# Properties for objects of classes derived from memory-backend.
+# Properties for objects of classes derived from memory-backend.
#
# @merge: if true, mark the memory as mergeable (default depends on
# the machine type)
@@ -696,8 +672,7 @@
##
# @MemoryBackendFileProperties:
-#
-# Properties for memory-backend-file objects.
+# Properties for memory-backend-file objects.
#
# @align: the base address alignment when QEMU mmap(2)s @mem-path.
# Some backend stores specified by @mem-path require an alignment
@@ -757,8 +732,7 @@
##
# @MemoryBackendMemfdProperties:
-#
-# Properties for memory-backend-memfd objects.
+# Properties for memory-backend-memfd objects.
#
# @hugetlb: if true, the file to be created resides in the hugetlbfs
# filesystem (default: false)
@@ -813,8 +787,7 @@
##
# @PrManagerHelperProperties:
-#
-# Properties for pr-manager-helper objects.
+# Properties for pr-manager-helper objects.
#
# @path: the path to a Unix domain socket for connecting to the
# external helper
@@ -827,8 +800,7 @@
##
# @QtestProperties:
-#
-# Properties for qtest objects.
+# Properties for qtest objects.
#
# @chardev: the chardev to be used to receive qtest commands on.
#
@@ -842,8 +814,7 @@
##
# @RemoteObjectProperties:
-#
-# Properties for x-remote-object objects.
+# Properties for x-remote-object objects.
#
# @fd: file descriptor name previously passed via `getfd` command
#
@@ -857,8 +828,7 @@
##
# @VfioUserServerProperties:
-#
-# Properties for x-vfio-user-server objects.
+# Properties for x-vfio-user-server objects.
#
# @socket: socket to be used by the libvfio-user library
#
@@ -871,8 +841,7 @@
##
# @IOMMUFDProperties:
-#
-# Properties for iommufd objects.
+# Properties for iommufd objects.
#
# @fd: file descriptor name previously passed via `getfd` command,
# which represents a pre-opened /dev/iommu. This allows the
@@ -887,8 +856,7 @@
##
# @AcpiGenericInitiatorProperties:
-#
-# Properties for acpi-generic-initiator objects.
+# Properties for acpi-generic-initiator objects.
#
# @pci-dev: PCI device ID to be associated with the node
#
@@ -902,8 +870,7 @@
##
# @AcpiGenericPortProperties:
-#
-# Properties for acpi-generic-port objects.
+# Properties for acpi-generic-port objects.
#
# @pci-bus: QOM path of the PCI bus of the hostbridge associated with
# this SRAT Generic Port Affinity Structure. This is the same as
@@ -941,8 +908,7 @@
##
# @RngProperties:
-#
-# Properties for objects of classes derived from rng.
+# Properties for objects of classes derived from rng.
#
# @opened: if true, the device is opened immediately when applying
# this option and will probably fail when processing the next
@@ -961,8 +927,7 @@
##
# @RngEgdProperties:
-#
-# Properties for rng-egd objects.
+# Properties for rng-egd objects.
#
# @chardev: the name of a character device backend that provides the
# connection to the RNG daemon
@@ -975,8 +940,7 @@
##
# @RngRandomProperties:
-#
-# Properties for rng-random objects.
+# Properties for rng-random objects.
#
# @filename: the filename of the device on the host to obtain entropy
# from (default: "/dev/urandom")
@@ -990,8 +954,7 @@
##
# @IgvmCfgProperties:
-#
-# Properties common to objects that handle IGVM files.
+# Properties common to objects that handle IGVM files.
#
# @file: IGVM file to use to configure guest
#
@@ -1003,8 +966,7 @@
##
# @SevCommonProperties:
-#
-# Properties common to objects that are derivatives of sev-common.
+# Properties common to objects that are derivatives of sev-common.
#
# @sev-device: SEV device to use (default: "/dev/sev")
#
@@ -1038,8 +1000,7 @@
##
# @SevGuestProperties:
-#
-# Properties for sev-guest objects.
+# Properties for sev-guest objects.
#
# @dh-cert-file: guest owners DH certificate (encoded with base64)
#
@@ -1136,8 +1097,7 @@
##
# @TdxGuestProperties:
-#
-# Properties for tdx-guest objects.
+# Properties for tdx-guest objects.
#
# @attributes: The 'attributes' of a TD guest that is passed to
# KVM_TDX_INIT_VM
@@ -1181,8 +1141,7 @@
##
# @ThreadContextProperties:
-#
-# Properties for thread context objects.
+# Properties for thread context objects.
#
# @cpu-affinity: the list of host CPU numbers used as CPU affinity for
# all threads created in the thread context (default: QEMU main
@@ -1202,8 +1161,7 @@
##
# @MonitorProperties:
-#
-# Properties for all monitors
+# Properties for all monitors
#
# @chardev: ID of the character device providing the monitor transport
#
@@ -1214,8 +1172,7 @@
##
# @MonitorHMPProperties:
-#
-# Properties for the HMP monitor
+# Properties for the HMP monitor
#
# @readline: whether to enable readline for line editing
# (default: true)
@@ -1229,8 +1186,7 @@
##
# @MonitorQMPCloseAction:
-#
-# Action to take when the character device backend is closed.
+# Action to take when the character device backend is closed.
#
# @none: take no action
#
@@ -1244,8 +1200,7 @@
##
# @MonitorQMPProperties:
-#
-# Properties for the QMP monitor
+# Properties for the QMP monitor
#
# @pretty: whether to pretty print JSON responses (default: false)
#
@@ -1338,8 +1293,7 @@
##
# @ObjectOptions:
-#
-# Describes the options of a user creatable QOM object.
+# Describes the options of a user creatable QOM object.
#
# @qom-type: the class name for the object to be created
#
@@ -1416,8 +1370,7 @@
##
# @object-add:
-#
-# Create a QOM object.
+# Create a QOM object.
#
# Errors:
# - If @qom-type is not a valid class name
@@ -1436,8 +1389,7 @@
##
# @object-del:
-#
-# Remove a QOM object.
+# Remove a QOM object.
#
# @id: the name of the QOM object to remove
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 40/43] qapi: convert trivial intro sections for ui.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (38 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 39/43] qapi: convert trivial intro sections for qom.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 41/43] qapi: convert trivial intro sections for migration.json John Snow
` (2 subsequent siblings)
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/ui.json | 199 ++++++++++++++++++---------------------------------
1 file changed, 68 insertions(+), 131 deletions(-)
diff --git a/qapi/ui.json b/qapi/ui.json
index b2c42a7f578..960d02d1429 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -13,8 +13,7 @@
##
# @DisplayProtocol:
-#
-# Display protocols which support changing password options.
+# Display protocols which support changing password options.
#
# Since: 7.0
##
@@ -23,9 +22,8 @@
##
# @SetPasswordAction:
-#
-# An action to take on changing a password on a connection with active
-# clients.
+# An action to take on changing a password on a connection with
+# active clients.
#
# @keep: maintain existing clients
#
@@ -40,8 +38,7 @@
##
# @SetPasswordOptions:
-#
-# Options for `set_password`.
+# Options for `set_password`.
#
# @protocol:
# - 'vnc' to modify the VNC server password
@@ -64,8 +61,7 @@
##
# @SetPasswordOptionsVnc:
-#
-# Options for `set_password` specific to the VNC protocol.
+# Options for `set_password` specific to the VNC protocol.
#
# @display: The id of the display where the password should be
# changed. Defaults to the first.
@@ -77,8 +73,7 @@
##
# @set_password:
-#
-# Set the password of a remote display server.
+# Set the password of a remote display server.
#
# Errors:
# - If Spice is not enabled, DeviceNotFound
@@ -95,8 +90,7 @@
##
# @ExpirePasswordOptions:
-#
-# General options for `expire_password`.
+# General options for `expire_password`.
#
# @protocol:
# - 'vnc' to modify the VNC server expiration
@@ -125,8 +119,7 @@
##
# @ExpirePasswordOptionsVnc:
-#
-# Options for `expire_password` specific to the VNC protocol.
+# Options for `expire_password` specific to the VNC protocol.
#
# @display: The id of the display where the expiration should be
# changed. Defaults to the first.
@@ -138,8 +131,7 @@
##
# @expire_password:
-#
-# Expire the password of a remote display server.
+# Expire the password of a remote display server.
#
# Errors:
# - If @protocol is 'spice' and Spice is not active,
@@ -157,8 +149,7 @@
##
# @ImageFormat:
-#
-# Supported image format types.
+# Supported image format types.
#
# @png: PNG format
#
@@ -171,8 +162,7 @@
##
# @screendump:
-#
-# Capture the contents of a screen and write it to a file.
+# Capture the contents of a screen and write it to a file.
#
# @filename: the path of a new file to store the image
#
@@ -208,8 +198,7 @@
##
# @SpiceBasicInfo:
-#
-# The basic information for SPICE network connection
+# The basic information for SPICE network connection
#
# @host: IP address
#
@@ -227,8 +216,7 @@
##
# @SpiceServerInfo:
-#
-# Information about a SPICE server
+# Information about a SPICE server
#
# @auth: authentication method
#
@@ -241,8 +229,7 @@
##
# @SpiceChannel:
-#
-# Information about a SPICE client channel.
+# Information about a SPICE client channel.
#
# @connection-id: SPICE connection id number. All channels with the
# same id belong to the same SPICE session.
@@ -267,8 +254,7 @@
##
# @SpiceQueryMouseMode:
-#
-# An enumeration of Spice mouse states.
+# An enumeration of Spice mouse states.
#
# @client: Mouse cursor position is determined by the client.
#
@@ -285,8 +271,7 @@
##
# @SpiceInfo:
-#
-# Information about the SPICE session.
+# Information about the SPICE session.
#
# @enabled: true if the SPICE server is enabled, false otherwise
#
@@ -325,8 +310,7 @@
##
# @query-spice:
-#
-# Return information about the current SPICE server
+# Return information about the current SPICE server
#
# Since: 0.14
#
@@ -370,8 +354,7 @@
##
# @SPICE_CONNECTED:
-#
-# Emitted when a SPICE client establishes a connection
+# Emitted when a SPICE client establishes a connection
#
# @server: server information
#
@@ -395,9 +378,8 @@
##
# @SPICE_INITIALIZED:
-#
-# Emitted after initial handshake and authentication takes place (if
-# any) and the SPICE channel is up and running
+# Emitted after initial handshake and authentication takes place
+# (if any) and the SPICE channel is up and running
#
# @server: server information
#
@@ -423,8 +405,7 @@
##
# @SPICE_DISCONNECTED:
-#
-# Emitted when the SPICE connection is closed
+# Emitted when the SPICE connection is closed
#
# @server: server information
#
@@ -448,8 +429,7 @@
##
# @SPICE_MIGRATE_COMPLETED:
-#
-# Emitted when SPICE migration has completed
+# Emitted when SPICE migration has completed
#
# Since: 1.3
#
@@ -468,8 +448,7 @@
##
# @VncBasicInfo:
-#
-# The basic information for vnc network connection
+# The basic information for vnc network connection
#
# @host: IP address
#
@@ -492,8 +471,7 @@
##
# @VncServerInfo:
-#
-# The network connection information for server
+# The network connection information for server
#
# @auth: authentication method used for the plain (non-websocket) VNC
# server
@@ -507,8 +485,7 @@
##
# @VncClientInfo:
-#
-# Information about a connected VNC client.
+# Information about a connected VNC client.
#
# @x509_dname: If x509 authentication is in use, the Distinguished
# Name of the client.
@@ -525,8 +502,7 @@
##
# @VncInfo:
-#
-# Information about the VNC session.
+# Information about the VNC session.
#
# @enabled: true if the VNC server is enabled, false otherwise
#
@@ -576,8 +552,7 @@
##
# @VncPrimaryAuth:
-#
-# vnc primary authentication method.
+# vnc primary authentication method.
#
# Since: 2.3
##
@@ -588,8 +563,7 @@
##
# @VncVencryptSubAuth:
-#
-# vnc sub authentication method with vencrypt.
+# vnc sub authentication method with vencrypt.
#
# Since: 2.3
##
@@ -603,8 +577,7 @@
##
# @VncServerInfo2:
-#
-# The network connection information for server
+# The network connection information for server
#
# @auth: The current authentication type used by the servers
#
@@ -621,8 +594,7 @@
##
# @VncInfo2:
-#
-# Information about a vnc server
+# Information about a vnc server
#
# @id: vnc server name.
#
@@ -655,8 +627,7 @@
##
# @query-vnc:
-#
-# Return information about the current VNC server
+# Return information about the current VNC server
#
# Since: 0.14
#
@@ -695,8 +666,7 @@
##
# @change-vnc-password:
-#
-# Change the VNC server password.
+# Change the VNC server password.
#
# @password: the new password to use with VNC authentication
#
@@ -712,8 +682,7 @@
##
# @VNC_CONNECTED:
-#
-# Emitted when a VNC client establishes a connection
+# Emitted when a VNC client establishes a connection
#
# @server: server information
#
@@ -741,9 +710,8 @@
##
# @VNC_INITIALIZED:
-#
-# Emitted after authentication takes place (if any) and the VNC
-# session is made active
+# Emitted after authentication takes place (if any) and the VNC
+# session is made active
#
# @server: server information
#
@@ -768,8 +736,7 @@
##
# @VNC_DISCONNECTED:
-#
-# Emitted when the connection is closed
+# Emitted when the connection is closed
#
# @server: server information
#
@@ -800,8 +767,7 @@
##
# @MouseInfo:
-#
-# Information about a mouse device.
+# Information about a mouse device.
#
# @name: the name of the mouse device
#
@@ -820,8 +786,7 @@
##
# @query-mice:
-#
-# Return information about each active mouse device
+# Return information about each active mouse device
#
# Returns: a list of info for each device
#
@@ -1005,8 +970,7 @@
##
# @KeyValue:
-#
-# Represents a keyboard key.
+# Represents a keyboard key.
#
# @type: key encoding
#
@@ -1021,8 +985,7 @@
##
# @send-key:
-#
-# Send keys to guest.
+# Send keys to guest.
#
# @keys: An array of `KeyValue` elements. All @KeyValues in this
# array are simultaneously sent to the guest. A `KeyValue`.number
@@ -1050,8 +1013,7 @@
##
# @InputButton:
-#
-# Button of a pointer input device (mouse, tablet).
+# Button of a pointer input device (mouse, tablet).
#
# @side: front side button of a 5-button mouse (since 2.9)
#
@@ -1067,8 +1029,7 @@
##
# @InputAxis:
-#
-# Position axis of a pointer input device (mouse, tablet).
+# Position axis of a pointer input device (mouse, tablet).
#
# Since: 2.0
##
@@ -1077,8 +1038,7 @@
##
# @InputMultiTouchType:
-#
-# Type of a multi-touch event.
+# Type of a multi-touch event.
#
# @begin: A new touch event sequence has just started.
#
@@ -1097,8 +1057,7 @@
##
# @InputKeyEvent:
-#
-# Keyboard input event.
+# Keyboard input event.
#
# @key: Which key this event is for.
#
@@ -1112,8 +1071,7 @@
##
# @InputBtnEvent:
-#
-# Pointer button input event.
+# Pointer button input event.
#
# @button: Which button this event is for.
#
@@ -1127,8 +1085,7 @@
##
# @InputMoveEvent:
-#
-# Pointer motion input event.
+# Pointer motion input event.
#
# @axis: Which axis is referenced by @value.
#
@@ -1143,8 +1100,7 @@
##
# @InputMultiTouchEvent:
-#
-# MultiTouch input event.
+# MultiTouch input event.
#
# @type: The type of multi-touch event.
#
@@ -1226,8 +1182,7 @@
##
# @InputEvent:
-#
-# Input event union.
+# Input event union.
#
# @type: the type of input event
#
@@ -1316,8 +1271,7 @@
##
# @DisplayGTK:
-#
-# GTK display options.
+# GTK display options.
#
# @clipboard: Enable host-guest clipboard sharing. Defaults to "off".
# (Since 11.1)
@@ -1357,8 +1311,7 @@
##
# @DisplayEGLHeadless:
-#
-# EGL headless display options.
+# EGL headless display options.
#
# @rendernode: Which DRM render node should be used. Default is the
# first available node on the host.
@@ -1370,8 +1323,7 @@
##
# @DisplayDBus:
-#
-# DBus display options.
+# DBus display options.
#
# @addr: The D-Bus bus address (default to the session bus).
#
@@ -1393,8 +1345,7 @@
##
# @DisplayGLMode:
-#
-# Display OpenGL mode.
+# Display OpenGL mode.
#
# @off: Disable OpenGL (default).
#
@@ -1413,8 +1364,7 @@
##
# @DisplayCurses:
-#
-# Curses display options.
+# Curses display options.
#
# @charset: Font charset used by guest (default: CP437).
#
@@ -1425,8 +1375,7 @@
##
# @DisplayCocoa:
-#
-# Cocoa display options.
+# Cocoa display options.
#
# @left-command-key: Enable/disable forwarding of left command key to
# guest. Allows command-tab window switching on the host without
@@ -1461,8 +1410,8 @@
##
# @HotKeyMod:
-#
-# Set of modifier keys that need to be held for shortcut key actions.
+# Set of modifier keys that need to be held for shortcut key
+# actions.
#
# Since: 7.1
##
@@ -1471,8 +1420,7 @@
##
# @DisplaySDL:
-#
-# SDL2 display options.
+# SDL2 display options.
#
# @grab-mod: Modifier keys that should be pressed together with the
# "G" key to release the mouse grab.
@@ -1484,8 +1432,7 @@
##
# @DisplayType:
-#
-# Display (user interface) type.
+# Display (user interface) type.
#
# @default: The default user interface, selecting from the first
# available of gtk, sdl, cocoa, and vnc.
@@ -1535,8 +1482,7 @@
##
# @DisplayOptions:
-#
-# Display (user interface) options.
+# Display (user interface) options.
#
# @type: Which `DisplayType` QEMU should use.
#
@@ -1573,8 +1519,7 @@
##
# @query-display-options:
-#
-# Return information about display configuration
+# Return information about display configuration
#
# Since: 3.1
##
@@ -1583,8 +1528,7 @@
##
# @DisplayReloadType:
-#
-# Available DisplayReload types.
+# Available DisplayReload types.
#
# @vnc: VNC display
#
@@ -1595,8 +1539,7 @@
##
# @DisplayReloadOptionsVNC:
-#
-# Specify the VNC reload options.
+# Specify the VNC reload options.
#
# @tls-certs: reload tls certs or not.
#
@@ -1607,8 +1550,7 @@
##
# @DisplayReloadOptions:
-#
-# Options of the display configuration reload.
+# Options of the display configuration reload.
#
# @type: Specify the display type.
#
@@ -1621,8 +1563,7 @@
##
# @display-reload:
-#
-# Reload display configuration.
+# Reload display configuration.
#
# Since: 6.0
#
@@ -1638,8 +1579,7 @@
##
# @DisplayUpdateType:
-#
-# Available DisplayUpdate types.
+# Available DisplayUpdate types.
#
# @vnc: VNC display
#
@@ -1650,8 +1590,7 @@
##
# @DisplayUpdateOptionsVNC:
-#
-# Specify the VNC reload options.
+# Specify the VNC reload options.
#
# @addresses: If specified, change set of addresses to listen for
# connections. Addresses configured for websockets are not
@@ -1664,8 +1603,7 @@
##
# @DisplayUpdateOptions:
-#
-# Options of the display configuration reload.
+# Options of the display configuration reload.
#
# @type: Specify the display type.
#
@@ -1678,8 +1616,7 @@
##
# @display-update:
-#
-# Update display configuration.
+# Update display configuration.
#
# Since: 7.1
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 41/43] qapi: convert trivial intro sections for migration.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (39 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 40/43] qapi: convert trivial intro sections for ui.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-26 19:38 ` [PATCH v3 42/43] qapi: convert trivial intro sections for machine.json John Snow
2026-08-26 19:38 ` [PATCH v3 43/43] qapi: convert trivial intro sections for block-core.json John Snow
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/migration.json | 131 ++++++++++++++++----------------------------
1 file changed, 48 insertions(+), 83 deletions(-)
diff --git a/qapi/migration.json b/qapi/migration.json
index b1eaf7b0545..8b6abcee2ca 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -13,8 +13,7 @@
##
# @MigrationRAMStats:
-#
-# Detailed migration status.
+# Detailed migration status.
#
# @transferred: amount of bytes already transferred to the target VM
#
@@ -78,8 +77,7 @@
##
# @XBZRLECacheStats:
-#
-# Detailed XBZRLE migration cache statistics
+# Detailed XBZRLE migration cache statistics
#
# @cache-size: XBZRLE cache size
#
@@ -104,8 +102,7 @@
##
# @CompressionStats:
-#
-# Detailed migration compression statistics
+# Detailed migration compression statistics
#
# @pages: amount of pages compressed and transferred to the target VM
#
@@ -126,8 +123,7 @@
##
# @MigrationStatus:
-#
-# An enumeration of migration status.
+# An enumeration of migration status.
#
# @none: no migration has ever happened.
#
@@ -189,8 +185,7 @@
##
# @VfioStats:
-#
-# Detailed VFIO devices migration statistics
+# Detailed VFIO devices migration statistics
#
# @transferred: amount of bytes transferred to the target VM by VFIO
# devices
@@ -202,8 +197,7 @@
##
# @MigrationInfo:
-#
-# Information about current migration process.
+# Information about current migration process.
#
# @status: `MigrationStatus` describing the current migration status.
# If this field is not returned, no migration process has been
@@ -435,8 +429,7 @@
##
# @MigrationCapability:
-#
-# Migration capabilities enumeration
+# Migration capabilities enumeration
#
# @xbzrle: Migration supports xbzrle (Xor Based Zero Run Length
# Encoding). This feature allows us to minimize migration traffic
@@ -545,8 +538,7 @@
##
# @MigrationCapabilityStatus:
-#
-# Migration capability information
+# Migration capability information
#
# @capability: capability enum
#
@@ -559,8 +551,8 @@
##
# @migrate-set-capabilities:
-#
-# Enable/Disable the following migration capabilities (like xbzrle)
+# Enable/Disable the following migration capabilities (like
+# xbzrle)
#
# @capabilities: json array of capability modifications to make
#
@@ -577,8 +569,8 @@
##
# @query-migrate-capabilities:
-#
-# Return information about the current migration capabilities status
+# Return information about the current migration capabilities
+# status
#
# Since: 1.2
#
@@ -598,8 +590,7 @@
##
# @MultiFDCompression:
-#
-# An enumeration of multifd compression methods.
+# An enumeration of multifd compression methods.
#
# @none: no compression.
#
@@ -776,9 +767,8 @@
##
# @BitmapMigrationNodeAlias:
-#
-# Maps a block node name and the bitmaps it has to aliases for dirty
-# bitmap migration.
+# Maps a block node name and the bitmaps it has to aliases for
+# dirty bitmap migration.
#
# @node-name: A block node name.
#
@@ -1098,8 +1088,7 @@
##
# @MIGRATION:
-#
-# Emitted when a migration event happens
+# Emitted when a migration event happens
#
# @status: `MigrationStatus` describing the current migration status.
#
@@ -1116,9 +1105,8 @@
##
# @MIGRATION_PASS:
-#
-# Emitted from the source side of a migration at the start of each
-# pass (when it syncs the dirty bitmap)
+# Emitted from the source side of a migration at the start of each
+# pass (when it syncs the dirty bitmap)
#
# @pass: An incrementing count (starting at 1 on the first pass)
#
@@ -1134,8 +1122,8 @@
##
# @COLOMessage:
-#
-# The message transmission between Primary side and Secondary side.
+# The message transmission between Primary side and Secondary
+# side.
#
# @checkpoint-ready: Secondary VM (SVM) is ready for checkpointing
#
@@ -1161,8 +1149,7 @@
##
# @COLOMode:
-#
-# The COLO current mode.
+# The COLO current mode.
#
# @none: COLO is disabled.
#
@@ -1177,8 +1164,7 @@
##
# @FailoverStatus:
-#
-# An enumeration of COLO failover status
+# An enumeration of COLO failover status
#
# @none: no failover has ever happened
#
@@ -1198,9 +1184,8 @@
##
# @COLO_EXIT:
-#
-# Emitted when VM finishes COLO mode due to some errors happening or
-# at the request of users.
+# Emitted when VM finishes COLO mode due to some errors happening
+# or at the request of users.
#
# @mode: report COLO mode when COLO exited.
#
@@ -1218,8 +1203,7 @@
##
# @COLOExitReason:
-#
-# The reason for a COLO exit.
+# The reason for a COLO exit.
#
# @none: failover has never happened. This state does not occur in
# the `COLO_EXIT` event, and is only visible in the result of
@@ -1281,8 +1265,7 @@
##
# @migrate-continue:
-#
-# Continue migration when it's in a paused state.
+# Continue migration when it's in a paused state.
#
# @state: The state the migration is currently expected to be in
#
@@ -1298,8 +1281,7 @@
##
# @MigrationAddressType:
-#
-# The migration stream transport mechanisms.
+# The migration stream transport mechanisms.
#
# @socket: Migrate via socket.
#
@@ -1339,8 +1321,7 @@
##
# @MigrationAddress:
-#
-# Migration endpoint configuration.
+# Migration endpoint configuration.
#
# @transport: The migration stream transport mechanism
#
@@ -1357,8 +1338,7 @@
##
# @MigrationChannelType:
-#
-# The migration channel-type request options.
+# The migration channel-type request options.
#
# @main: Main outbound migration channel.
#
@@ -1371,8 +1351,7 @@
##
# @MigrationChannel:
-#
-# Migration stream channel parameters.
+# Migration stream channel parameters.
#
# @channel-type: Channel type for transferring packet information.
#
@@ -1387,8 +1366,7 @@
##
# @migrate:
-#
-# Migrates the current running guest to another Virtual Machine.
+# Migrates the current running guest to another Virtual Machine.
#
# @uri: the Uniform Resource Identifier of the destination VM
#
@@ -1560,8 +1538,7 @@
##
# @xen-set-global-dirty-log:
-#
-# Enable or disable the global dirty log mode.
+# Enable or disable the global dirty log mode.
#
# @enable: true to enable, false to disable.
#
@@ -1597,8 +1574,7 @@
##
# @xen-set-replication:
-#
-# Enable or disable replication.
+# Enable or disable replication.
#
# @enable: true to enable, false to disable.
#
@@ -1621,8 +1597,7 @@
##
# @ReplicationStatus:
-#
-# The result format for `query-xen-replication-status`.
+# The result format for `query-xen-replication-status`.
#
# @error: true if an error happened, false if replication is normal.
#
@@ -1670,8 +1645,7 @@
##
# @COLOStatus:
-#
-# The result format for `query-colo-status`.
+# The result format for `query-colo-status`.
#
# @mode: COLO running mode. If COLO is running, this field will
# return 'primary' or 'secondary'.
@@ -1709,8 +1683,7 @@
##
# @migrate-recover:
-#
-# Provide a recovery migration stream URI.
+# Provide a recovery migration stream URI.
#
# @uri: the URI to be used for the recovery of migration stream.
#
@@ -1763,8 +1736,7 @@
##
# @DirtyRateVcpu:
-#
-# Dirty rate of vcpu.
+# Dirty rate of vcpu.
#
# @id: vcpu index.
#
@@ -1777,8 +1749,7 @@
##
# @DirtyRateStatus:
-#
-# Dirty page rate measurement status.
+# Dirty page rate measurement status.
#
# @unstarted: measuring thread has not been started yet
#
@@ -1810,8 +1781,7 @@
##
# @TimeUnit:
-#
-# Specifies unit in which time-related value is specified.
+# Specifies unit in which time-related value is specified.
#
# @second: value is in seconds
#
@@ -1824,8 +1794,7 @@
##
# @DirtyRateInfo:
-#
-# Information about measured dirty page rate.
+# Information about measured dirty page rate.
#
# @dirty-rate: an estimate of the dirty page rate of the VM in units
# of MiB/s. Value is present only when @status is 'measured'.
@@ -1935,8 +1904,8 @@
##
# @query-dirty-rate:
-#
-# Query results of the most recent invocation of `calc-dirty-rate`.
+# Query results of the most recent invocation of
+# `calc-dirty-rate`.
#
# @calc-time-unit: time unit in which to report calculation time.
# By default it is reported in seconds. (Since 8.2)
@@ -1962,8 +1931,7 @@
##
# @DirtyLimitInfo:
-#
-# Dirty page rate limit information of a virtual CPU.
+# Dirty page rate limit information of a virtual CPU.
#
# @cpu-index: index of a virtual CPU.
#
@@ -2029,8 +1997,8 @@
##
# @query-vcpu-dirty-limit:
-#
-# Return information about virtual CPU dirty page rate limits, if any.
+# Return information about virtual CPU dirty page rate limits, if
+# any.
#
# Since: 7.1
#
@@ -2046,8 +2014,7 @@
##
# @snapshot-save:
-#
-# Save a VM snapshot
+# Save a VM snapshot
#
# @job-id: identifier for the newly created job
#
@@ -2118,8 +2085,7 @@
##
# @snapshot-load:
-#
-# Load a VM snapshot
+# Load a VM snapshot
#
# @job-id: identifier for the newly created job
#
@@ -2188,8 +2154,7 @@
##
# @snapshot-delete:
-#
-# Delete a VM snapshot
+# Delete a VM snapshot
#
# @job-id: identifier for the newly created job
#
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 42/43] qapi: convert trivial intro sections for machine.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (40 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 41/43] qapi: convert trivial intro sections for migration.json John Snow
@ 2026-08-26 19:38 ` John Snow
2026-08-27 8:42 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 43/43] qapi: convert trivial intro sections for block-core.json John Snow
42 siblings, 1 reply; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/machine.json | 208 ++++++++++++++++------------------------------
1 file changed, 73 insertions(+), 135 deletions(-)
diff --git a/qapi/machine.json b/qapi/machine.json
index 2d63c1bac3b..3a5c6df9cff 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -46,9 +46,8 @@
##
# @S390CpuState:
-#
-# An enumeration of cpu states that can be assumed by a virtual S390
-# CPU
+# An enumeration of cpu states that can be assumed by a virtual
+# S390 CPU
#
# Since: 2.12
##
@@ -57,8 +56,7 @@
##
# @CpuInfoS390:
-#
-# Additional information about a virtual S390 CPU
+# Additional information about a virtual S390 CPU
#
# @cpu-state: the virtual CPU's state
#
@@ -75,8 +73,7 @@
##
# @CpuInfoFast:
-#
-# Information about a virtual CPU
+# Information about a virtual CPU
#
# @cpu-index: index of the virtual CPU
#
@@ -105,8 +102,7 @@
##
# @query-cpus-fast:
-#
-# Return information about all virtual CPUs.
+# Return information about all virtual CPUs.
#
# Since: 2.12
#
@@ -143,9 +139,8 @@
##
# @CompatProperty:
-#
-# Property default values specific to a machine type, for use by
-# scripts/compare-machine-types.
+# Property default values specific to a machine type, for use by
+# scripts/compare-machine-types.
#
# @qom-type: name of the QOM type to which the default applies
#
@@ -163,8 +158,7 @@
##
# @MachineInfo:
-#
-# Information describing a machine.
+# Information describing a machine.
#
# @name: the name of the machine
#
@@ -213,8 +207,7 @@
##
# @query-machines:
-#
-# Return a list of supported machines
+# Return a list of supported machines
#
# @compat-props: if true, also return compatibility properties.
# (default: false) (since 9.1)
@@ -255,8 +248,7 @@
##
# @CurrentMachineParams:
-#
-# Information describing the running machine parameters.
+# Information describing the running machine parameters.
#
# @wakeup-suspend-support: true if the machine supports wake up from
# suspend
@@ -268,8 +260,7 @@
##
# @query-current-machine:
-#
-# Return information on the current virtual machine.
+# Return information on the current virtual machine.
#
# Since: 4.0
##
@@ -277,8 +268,8 @@
##
# @QemuTargetInfo:
-#
-# Information on the target configuration built into the QEMU binary.
+# Information on the target configuration built into the QEMU
+# binary.
#
# @arch: the target architecture
#
@@ -289,8 +280,7 @@
##
# @query-target:
-#
-# Return information about the target for this QEMU
+# Return information about the target for this QEMU
#
# Since: 1.2
##
@@ -298,8 +288,7 @@
##
# @UuidInfo:
-#
-# Guest UUID information (Universally Unique Identifier).
+# Guest UUID information (Universally Unique Identifier).
#
# @UUID: the UUID of the guest
#
@@ -312,8 +301,7 @@
##
# @query-uuid:
-#
-# Query the guest UUID information.
+# Query the guest UUID information.
#
# Since: 0.14
#
@@ -326,8 +314,7 @@
##
# @GuidInfo:
-#
-# GUID information.
+# GUID information.
#
# @guid: the globally unique identifier
#
@@ -337,8 +324,7 @@
##
# @query-vm-generation-id:
-#
-# Show Virtual Machine Generation ID
+# Show Virtual Machine Generation ID
#
# Since: 2.9
##
@@ -346,8 +332,7 @@
##
# @system_reset:
-#
-# Performs a hard reset of a guest.
+# Performs a hard reset of a guest.
#
# Since: 0.14
#
@@ -360,8 +345,7 @@
##
# @system_powerdown:
-#
-# Requests that a guest perform a powerdown operation.
+# Requests that a guest perform a powerdown operation.
#
# Since: 0.14
#
@@ -469,8 +453,7 @@
##
# @NumaOptions:
-#
-# A discriminated record of NUMA options. (for OptsVisitor)
+# A discriminated record of NUMA options. (for OptsVisitor)
#
# @type: NUMA option type
#
@@ -488,8 +471,7 @@
##
# @NumaNodeOptions:
-#
-# Create a guest NUMA node. (for OptsVisitor)
+# Create a guest NUMA node. (for OptsVisitor)
#
# @nodeid: NUMA node ID (increase by 1 from 0 if omitted)
#
@@ -521,8 +503,7 @@
##
# @NumaDistOptions:
-#
-# Set the distance between 2 NUMA nodes.
+# Set the distance between 2 NUMA nodes.
#
# @src: source NUMA node.
#
@@ -542,8 +523,7 @@
##
# @CXLFixedMemoryWindowOptions:
-#
-# Create a CXL Fixed Memory Window
+# Create a CXL Fixed Memory Window
#
# @size: Size of the Fixed Memory Window in bytes. Must be a multiple
# of 256MiB.
@@ -565,8 +545,7 @@
##
# @CXLFMWProperties:
-#
-# List of CXL Fixed Memory Windows.
+# List of CXL Fixed Memory Windows.
#
# @cxl-fmw: List of `CXLFixedMemoryWindowOptions`
#
@@ -578,8 +557,7 @@
##
# @X86CPURegister32:
-#
-# A X86 32-bit register
+# A X86 32-bit register
#
# Since: 1.5
##
@@ -588,8 +566,7 @@
##
# @X86CPUFeatureWordInfo:
-#
-# Information about a X86 CPU feature word
+# Information about a X86 CPU feature word
#
# @cpuid-input-eax: Input EAX value for CPUID instruction for that
# feature word
@@ -611,9 +588,8 @@
##
# @DummyForceArrays:
-#
-# Not used by QMP; hack to let us use X86CPUFeatureWordInfoList
-# internally
+# Not used by QMP; hack to let us use X86CPUFeatureWordInfoList
+# internally
#
# Since: 2.5
##
@@ -795,8 +771,7 @@
##
# @memsave:
-#
-# Save a portion of guest memory to a file.
+# Save a portion of guest memory to a file.
#
# @val: the virtual address of the guest to start from
#
@@ -828,8 +803,7 @@
##
# @pmemsave:
-#
-# Save a portion of guest physical memory to a file.
+# Save a portion of guest physical memory to a file.
#
# @val: the physical address of the guest to start from
#
@@ -857,8 +831,7 @@
##
# @Memdev:
-#
-# Information about memory backend
+# Information about memory backend
#
# @id: backend's ID if backend has 'id' property (since 2.9)
#
@@ -898,8 +871,7 @@
##
# @query-memdev:
-#
-# Return information for all memory backends.
+# Return information for all memory backends.
#
# Since: 2.1
#
@@ -1074,9 +1046,9 @@
##
# @set-numa-node:
-#
-# Runtime equivalent of '-numa' CLI option, available at preconfigure
-# stage to configure numa mapping before initializing machine.
+# Runtime equivalent of '-numa' CLI option, available at
+# preconfigure stage to configure numa mapping before initializing
+# machine.
#
# Since: 3.0
##
@@ -1087,8 +1059,7 @@
##
# @balloon:
-#
-# Request the balloon driver to change its balloon size.
+# Request the balloon driver to change its balloon size.
#
# @value: the target logical size of the VM in bytes. We can deduce
# the size of the balloon using this formula:
@@ -1122,8 +1093,7 @@
##
# @BalloonInfo:
-#
-# Information about the guest balloon device.
+# Information about the guest balloon device.
#
# @actual: the logical size of the VM in bytes. Formula used:
# logical_vm_size = vm_ram_size - balloon_size
@@ -1134,8 +1104,7 @@
##
# @query-balloon:
-#
-# Return information about the balloon device.
+# Return information about the balloon device.
#
# Errors:
# - If the balloon driver is enabled but not functional because
@@ -1156,10 +1125,9 @@
##
# @BALLOON_CHANGE:
-#
-# Emitted when the guest changes the actual BALLOON level. This value
-# is equivalent to the @actual field return by the `query-balloon`
-# command
+# Emitted when the guest changes the actual BALLOON level. This
+# value is equivalent to the @actual field return by the
+# `query-balloon` command
#
# @actual: the logical size of the VM in bytes. Formula used:
# logical_vm_size = vm_ram_size - balloon_size
@@ -1179,8 +1147,7 @@
##
# @HvBalloonInfo:
-#
-# hv-balloon guest-provided memory status information.
+# hv-balloon guest-provided memory status information.
#
# @committed: the amount of memory in use inside the guest plus the
# amount of the memory unusable inside the guest (ballooned out,
@@ -1196,9 +1163,8 @@
##
# @query-hv-balloon-status-report:
-#
-# Return the hv-balloon driver data contained in the last received
-# "STATUS" message from the guest.
+# Return the hv-balloon driver data contained in the last received
+# "STATUS" message from the guest.
#
# Errors:
# - If no hv-balloon device is present, guest memory status
@@ -1239,8 +1205,7 @@
##
# @MemoryInfo:
-#
-# Actual memory information in bytes.
+# Actual memory information in bytes.
#
# @base-memory: size of "base" memory specified with command line
# option -m.
@@ -1273,8 +1238,7 @@
##
# @PCDIMMDeviceInfo:
-#
-# PCDIMMDevice state information
+# PCDIMMDevice state information
#
# @id: device's ID
#
@@ -1309,8 +1273,7 @@
##
# @VirtioPMEMDeviceInfo:
-#
-# VirtioPMEM state information
+# VirtioPMEM state information
#
# @id: device's ID
#
@@ -1332,8 +1295,7 @@
##
# @VirtioMEMDeviceInfo:
-#
-# VirtioMEMDevice state information
+# VirtioMEMDevice state information
#
# @id: device's ID
#
@@ -1367,8 +1329,7 @@
##
# @SgxEPCDeviceInfo:
-#
-# Sgx EPC state information
+# Sgx EPC state information
#
# @id: device's ID
#
@@ -1393,8 +1354,7 @@
##
# @HvBalloonDeviceInfo:
-#
-# hv-balloon provided memory state information
+# hv-balloon provided memory state information
#
# @id: device's ID
#
@@ -1523,8 +1483,7 @@
##
# @MemoryDeviceInfo:
-#
-# Union containing information about a memory device
+# Union containing information about a memory device
#
# @type: memory device type
#
@@ -1545,8 +1504,7 @@
##
# @SgxEPC:
-#
-# Sgx EPC cmdline information
+# Sgx EPC cmdline information
#
# @memdev: memory backend linked with device
#
@@ -1562,8 +1520,7 @@
##
# @SgxEPCProperties:
-#
-# SGX properties of machine types.
+# SGX properties of machine types.
#
# @sgx-epc: list of ids of memory-backend-epc objects.
#
@@ -1575,8 +1532,7 @@
##
# @query-memory-devices:
-#
-# Lists available memory devices and their state
+# Lists available memory devices and their state
#
# Since: 2.1
#
@@ -1626,8 +1582,7 @@
##
# @BootConfiguration:
-#
-# Schema for virtual machine boot configuration.
+# Schema for virtual machine boot configuration.
#
# @order: Boot order (a=floppy, c=hard disk, d=CD-ROM, n=network)
#
@@ -1711,8 +1666,7 @@
##
# @x-query-irq:
-#
-# Query interrupt statistics
+# Query interrupt statistics
#
# Features:
#
@@ -1728,8 +1682,7 @@
##
# @x-query-jit:
-#
-# Query TCG compiler statistics
+# Query TCG compiler statistics
#
# Features:
#
@@ -1746,8 +1699,7 @@
##
# @x-query-numa:
-#
-# Query NUMA topology information
+# Query NUMA topology information
#
# Features:
#
@@ -1763,8 +1715,7 @@
##
# @x-query-ramblock:
-#
-# Query system ramblock information
+# Query system ramblock information
#
# Features:
#
@@ -1780,8 +1731,7 @@
##
# @x-query-roms:
-#
-# Query information on the registered ROMS
+# Query information on the registered ROMS
#
# Features:
#
@@ -1797,8 +1747,7 @@
##
# @x-query-usb:
-#
-# Query information on the USB devices
+# Query information on the USB devices
#
# Features:
#
@@ -1829,8 +1778,7 @@
##
# @MemorySizeConfiguration:
-#
-# Schema for memory size configuration.
+# Schema for memory size configuration.
#
# @size: memory size in bytes
#
@@ -1847,8 +1795,7 @@
##
# @dumpdtb:
-#
-# Save the FDT in dtb format.
+# Save the FDT in dtb format.
#
# @filename: name of the dtb file to be created
#
@@ -1866,8 +1813,7 @@
##
# @x-query-interrupt-controllers:
-#
-# Query information on interrupt controller devices
+# Query information on interrupt controller devices
#
# Features:
#
@@ -1897,8 +1843,7 @@
##
# @query-firmware-log:
-#
-# Find firmware memory log buffer in guest memory, return content.
+# Find firmware memory log buffer in guest memory, return content.
#
# @max-size: limit the amount of log data returned. Up to 1 MiB of
# log data is allowed. In case the amount of log data is larger
@@ -1912,8 +1857,7 @@
##
# @dump-skeys:
-#
-# Dump the storage keys for an s390x guest
+# Dump the storage keys for an s390x guest
#
# @filename: the path to the file to dump to
#
@@ -1951,8 +1895,7 @@
##
# @CpuModelExpansionType:
-#
-# An enumeration of CPU model expansion types.
+# An enumeration of CPU model expansion types.
#
# @static: Expand to a static CPU model, a combination of a static
# base model name and property delta changes. As the static base
@@ -2009,8 +1952,7 @@
##
# @CpuModelBaselineInfo:
-#
-# The result of a CPU model baseline.
+# The result of a CPU model baseline.
#
# @model: the baselined `CpuModelInfo`.
#
@@ -2021,8 +1963,7 @@
##
# @CpuModelCompareInfo:
-#
-# The result of a CPU model comparison.
+# The result of a CPU model comparison.
#
# @result: The result of the compare operation.
#
@@ -2153,8 +2094,7 @@
##
# @CpuModelExpansionInfo:
-#
-# The result of a cpu model expansion.
+# The result of a cpu model expansion.
#
# @model: the expanded `CpuModelInfo`.
#
@@ -2223,8 +2163,7 @@
##
# @CpuDefinitionInfo:
-#
-# Virtual CPU definition.
+# Virtual CPU definition.
#
# @name: the name of the CPU definition
#
@@ -2285,8 +2224,7 @@
##
# @query-cpu-definitions:
-#
-# Return a list of supported virtual CPU definitions
+# Return a list of supported virtual CPU definitions
#
# Since: 1.2
##
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 43/43] qapi: convert trivial intro sections for block-core.json
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
` (41 preceding siblings ...)
2026-08-26 19:38 ` [PATCH v3 42/43] qapi: convert trivial intro sections for machine.json John Snow
@ 2026-08-26 19:38 ` John Snow
42 siblings, 0 replies; 54+ messages in thread
From: John Snow @ 2026-08-26 19:38 UTC (permalink / raw)
To: qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, John Snow, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Signed-off-by: John Snow <jsnow@redhat.com>
---
qapi/block-core.json | 448 ++++++++++++++++---------------------------
1 file changed, 164 insertions(+), 284 deletions(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 199efc1e008..bed736d86f9 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -132,8 +132,7 @@
##
# @VmdkExtentInfo:
-#
-# Information about a VMDK extent file
+# Information about a VMDK extent file
#
# @filename: Name of the extent file
#
@@ -257,9 +256,8 @@
##
# @ImageInfoSpecific:
-#
-# A discriminated record of image format specific information
-# structures.
+# A discriminated record of image format specific information
+# structures.
#
# @type: block driver name
#
@@ -341,8 +339,7 @@
##
# @BlockNodeInfo:
-#
-# Information about a QEMU image file
+# Information about a QEMU image file
#
# @filename: name of the image file
#
@@ -386,9 +383,8 @@
##
# @ImageInfo:
-#
-# Information about a QEMU image file, and potentially its backing
-# image
+# Information about a QEMU image file, and potentially its backing
+# image
#
# @backing-image: info of the backing image
#
@@ -402,10 +398,9 @@
##
# @BlockChildInfo:
-#
-# Information about all nodes in the block graph starting at some
-# node, annotated with information about that node in relation to its
-# parent.
+# Information about all nodes in the block graph starting at some
+# node, annotated with information about that node in relation to
+# its parent.
#
# @name: Child name of the root node in the `BlockGraphInfo` struct,
# in its role as the child of some undescribed parent node
@@ -437,8 +432,7 @@
##
# @ImageCheck:
-#
-# Information about a QEMU image file check
+# Information about a QEMU image file check
#
# @filename: name of the image file checked
#
@@ -481,8 +475,8 @@
##
# @MapEntry:
-#
-# Mapping information from a virtual block range to a host file range
+# Mapping information from a virtual block range to a host file
+# range
#
# @start: virtual (guest) offset of the first byte described by this
# entry
@@ -520,8 +514,7 @@
##
# @BlockdevCacheInfo:
-#
-# Cache mode information for a block device
+# Cache mode information for a block device
#
# @writeback: true if writeback mode is enabled
#
@@ -551,8 +544,7 @@
##
# @BlockDeviceInfo:
-#
-# Information about the backing device for a block device.
+# Information about the backing device for a block device.
#
# @file: the filename of the backing device
#
@@ -668,8 +660,7 @@
##
# @BlockDeviceIoStatus:
-#
-# An enumeration of block device I/O status.
+# An enumeration of block device I/O status.
#
# @ok: The last I/O operation has succeeded
#
@@ -684,8 +675,7 @@
##
# @BlockDirtyInfo:
-#
-# Block dirty bitmap information.
+# Block dirty bitmap information.
#
# @name: the name of the dirty bitmap (Since 2.4)
#
@@ -717,8 +707,7 @@
##
# @Qcow2BitmapInfoFlags:
-#
-# An enumeration of flags that a bitmap can report to the user.
+# An enumeration of flags that a bitmap can report to the user.
#
# @in-use: This flag is set by any process actively modifying the
# qcow2 file, and cleared when the updated bitmap is flushed to
@@ -736,8 +725,7 @@
##
# @Qcow2BitmapInfo:
-#
-# Qcow2 bitmap information.
+# Qcow2 bitmap information.
#
# @name: the name of the bitmap
#
@@ -753,8 +741,7 @@
##
# @BlockLatencyHistogramInfo:
-#
-# Block latency histogram.
+# Block latency histogram.
#
# @boundaries: list of interval boundary values in nanoseconds, all
# greater than zero and in ascending order. For example, the list
@@ -852,8 +839,7 @@
##
# @query-block:
-#
-# Get a list of `BlockInfo` for all virtual block devices.
+# Get a list of `BlockInfo` for all virtual block devices.
#
# @flat: Omit nested data about the backing image, i.e. `BlockInfo`
# member 'inserted.image.backing-image' will be absent.
@@ -954,8 +940,7 @@
##
# @BlockDeviceTimedStats:
-#
-# Statistics of a block device during a given interval of time.
+# Statistics of a block device during a given interval of time.
#
# @interval_length: Interval used for calculating the statistics, in
# seconds.
@@ -1021,8 +1006,7 @@
##
# @BlockDeviceStats:
-#
-# Statistics of a virtual block device or a block backing device.
+# Statistics of a virtual block device or a block backing device.
#
# @rd_bytes: The number of bytes read by the device.
#
@@ -1160,8 +1144,7 @@
##
# @BlockStatsSpecificFile:
-#
-# File driver statistics
+# File driver statistics
#
# @discard-nb-ok: The number of successful discard operations
# performed by the driver.
@@ -1181,8 +1164,7 @@
##
# @BlockStatsSpecificNvme:
-#
-# NVMe driver statistics
+# NVMe driver statistics
#
# @completion-errors: The number of completion errors.
#
@@ -1202,8 +1184,7 @@
##
# @BlockStatsSpecific:
-#
-# Block driver specific statistics
+# Block driver specific statistics
#
# @driver: block driver name
#
@@ -1220,8 +1201,7 @@
##
# @BlockStats:
-#
-# Statistics of a virtual block device or a block backing device.
+# Statistics of a virtual block device or a block backing device.
#
# @device: If the stats are for a virtual block device, the name
# corresponding to the virtual block device.
@@ -1254,8 +1234,7 @@
##
# @query-blockstats:
-#
-# Query the `BlockStats` for all virtual block devices.
+# Query the `BlockStats` for all virtual block devices.
#
# @query-nodes: If true, the command will query all the block nodes
# that have a node name, in a list which will include "parent"
@@ -1378,10 +1357,9 @@
##
# @BlockdevOnError:
-#
-# An enumeration of possible behaviors for errors on I/O operations.
-# The exact meaning depends on whether the I/O was initiated by a
-# guest or by a block job
+# An enumeration of possible behaviors for errors on I/O
+# operations. The exact meaning depends on whether the I/O was
+# initiated by a guest or by a block job
#
# @report: for guest operations, report the error to the guest; for
# jobs, cancel the job
@@ -1406,9 +1384,8 @@
##
# @MirrorSyncMode:
-#
-# An enumeration of possible behaviors for the initial synchronization
-# phase of storage mirroring.
+# An enumeration of possible behaviors for the initial
+# synchronization phase of storage mirroring.
#
# @top: copies data in the topmost image to the destination
#
@@ -1429,9 +1406,8 @@
##
# @BitmapSyncMode:
-#
-# An enumeration of possible behaviors for the synchronization of a
-# bitmap when used for data copy operations.
+# An enumeration of possible behaviors for the synchronization of
+# a bitmap when used for data copy operations.
#
# @on-success: The bitmap is only synced when the operation is
# successful. This is the behavior always used for incremental
@@ -1450,9 +1426,8 @@
##
# @MirrorCopyMode:
-#
-# An enumeration whose values tell the mirror block job when to
-# trigger writes to the target.
+# An enumeration whose values tell the mirror block job when to
+# trigger writes to the target.
#
# @background: copy data in background only.
#
@@ -1467,8 +1442,7 @@
##
# @BlockJobInfoMirror:
-#
-# Information specific to mirror block jobs.
+# Information specific to mirror block jobs.
#
# @actively-synced: Whether the source is actively synced to the
# target, i.e. same data and new writes are done synchronously to
@@ -1481,8 +1455,7 @@
##
# @BlockJobInfo:
-#
-# Information about a long-running block device operation.
+# Information about a long-running block device operation.
#
# @type: the job type ('stream' for image streaming)
#
@@ -1534,8 +1507,7 @@
##
# @query-block-jobs:
-#
-# Return information about long-running block device operations.
+# Return information about long-running block device operations.
#
# Returns: a list of job info for each active block job
#
@@ -1577,9 +1549,8 @@
##
# @NewImageMode:
-#
-# An enumeration that tells QEMU how to set the backing file path in a
-# new image file.
+# An enumeration that tells QEMU how to set the backing file path
+# in a new image file.
#
# @existing: QEMU should look for an existing image file.
#
@@ -1782,8 +1753,7 @@
##
# @blockdev-snapshot-sync:
-#
-# Takes a synchronous snapshot of a block device.
+# Takes a synchronous snapshot of a block device.
#
# Errors:
# - If @device is not a valid block device, DeviceNotFound
@@ -2043,8 +2013,7 @@
##
# @query-named-block-nodes:
-#
-# Get the named block driver list
+# Get the named block driver list
#
# @flat: Omit the nested data about backing image ("backing-image"
# key) if true. Default is false (Since 5.0)
@@ -2140,8 +2109,7 @@
##
# @BlockPermission:
-#
-# Enum of base block permissions.
+# Enum of base block permissions.
#
# @consistent-read: A user that has the "permission" of consistent
# reads is guaranteed that their view of the contents of the block
@@ -2171,8 +2139,7 @@
##
# @XDbgBlockGraphEdge:
-#
-# Block Graph edge description for `x-debug-query-block-graph`.
+# Block Graph edge description for `x-debug-query-block-graph`.
#
# @parent: parent id
#
@@ -2194,8 +2161,7 @@
##
# @XDbgBlockGraph:
-#
-# Block Graph - list of nodes and list of edges.
+# Block Graph - list of nodes and list of edges.
#
# Since: 4.0
##
@@ -2204,8 +2170,7 @@
##
# @x-debug-query-block-graph:
-#
-# Get the block graph.
+# Get the block graph.
#
# Features:
#
@@ -2247,8 +2212,7 @@
##
# @DriveMirror:
-#
-# A set of parameters describing drive mirror setup.
+# A set of parameters describing drive mirror setup.
#
# @job-id: identifier for the newly-created block job. If omitted,
# the device name will be used. (Since 2.7)
@@ -2401,9 +2365,8 @@
##
# @block-dirty-bitmap-add:
-#
-# Create a dirty bitmap with a name on the node, and start tracking
-# the writes.
+# Create a dirty bitmap with a name on the node, and start
+# tracking the writes.
#
# Errors:
# - If @node is not a valid block device or node, DeviceNotFound
@@ -2447,10 +2410,9 @@
##
# @block-dirty-bitmap-clear:
-#
-# Clear (reset) a dirty bitmap on the device, so that an incremental
-# backup from this point in time forward will only backup clusters
-# modified after this clear operation.
+# Clear (reset) a dirty bitmap on the device, so that an
+# incremental backup from this point in time forward will only
+# backup clusters modified after this clear operation.
#
# Errors:
# - If @node is not a valid block device, DeviceNotFound
@@ -2470,8 +2432,8 @@
##
# @block-dirty-bitmap-enable:
-#
-# Enables a dirty bitmap so that it will begin tracking disk changes.
+# Enables a dirty bitmap so that it will begin tracking disk
+# changes.
#
# Errors:
# - If @node is not a valid block device, DeviceNotFound
@@ -2491,8 +2453,8 @@
##
# @block-dirty-bitmap-disable:
-#
-# Disables a dirty bitmap so that it will stop tracking disk changes.
+# Disables a dirty bitmap so that it will stop tracking disk
+# changes.
#
# Errors:
# - If @node is not a valid block device, DeviceNotFound
@@ -2545,8 +2507,7 @@
##
# @BlockDirtyBitmapSha256:
-#
-# SHA256 hash of dirty bitmap data
+# SHA256 hash of dirty bitmap data
#
# @sha256: ASCII representation of SHA256 bitmap hash
#
@@ -2557,8 +2518,7 @@
##
# @x-debug-block-dirty-bitmap-sha256:
-#
-# Get bitmap SHA256.
+# Get bitmap SHA256.
#
# Features:
#
@@ -2577,8 +2537,7 @@
##
# @blockdev-mirror:
-#
-# Start mirroring a block device's writes to a new destination.
+# Start mirroring a block device's writes to a new destination.
#
# @job-id: identifier for the newly-created block job. If omitted,
# the device name will be used. (Since 2.7)
@@ -2664,8 +2623,7 @@
##
# @BlockIOThrottle:
-#
-# A set of parameters describing block throttling.
+# A set of parameters describing block throttling.
#
# @device: Block device name
#
@@ -2816,8 +2774,7 @@
##
# @ThrottleGroupProperties:
-#
-# Properties for throttle-group objects.
+# Properties for throttle-group objects.
#
# @limits: limits to apply for this throttle group
#
@@ -3224,8 +3181,7 @@
##
# @BlockJobChangeOptions:
-#
-# Block job options that can be changed after job creation.
+# Block job options that can be changed after job creation.
#
# @id: The job identifier
#
@@ -3240,8 +3196,7 @@
##
# @block-job-change:
-#
-# Change the block job's options.
+# Change the block job's options.
#
# Since: 8.2
##
@@ -3250,8 +3205,7 @@
##
# @BlockdevDiscardOptions:
-#
-# Determines how to handle discard requests.
+# Determines how to handle discard requests.
#
# @ignore: Ignore the request
#
@@ -3264,10 +3218,9 @@
##
# @BlockdevDetectZeroesOptions:
-#
-# Describes the operation mode for the automatic conversion of plain
-# zero writes by the OS to driver specific optimized zero write
-# commands.
+# Describes the operation mode for the automatic conversion of
+# plain zero writes by the OS to driver specific optimized zero
+# write commands.
#
# @off: Disabled (default)
#
@@ -3284,8 +3237,7 @@
##
# @BlockdevAioOptions:
-#
-# Selects the AIO backend to handle I/O requests
+# Selects the AIO backend to handle I/O requests
#
# @threads: Use QEMU's thread pool
#
@@ -3301,8 +3253,7 @@
##
# @BlockdevCacheOptions:
-#
-# Includes cache-related options for block devices
+# Includes cache-related options for block devices
#
# @direct: enables use of O_DIRECT (bypass the host page cache;
# default: false)
@@ -3317,8 +3268,7 @@
##
# @BlockdevDriver:
-#
-# Drivers that are supported in block device operations.
+# Drivers that are supported in block device operations.
#
# @throttle: Since 2.11
#
@@ -3360,8 +3310,7 @@
##
# @BlockdevOptionsFile:
-#
-# Driver specific block device options for the file backend.
+# Driver specific block device options for the file backend.
#
# @filename: path to the image file
#
@@ -3420,8 +3369,7 @@
##
# @BlockdevOptionsNull:
-#
-# Driver specific block device options for the null backend.
+# Driver specific block device options for the null backend.
#
# @size: size of the device in bytes.
#
@@ -3440,8 +3388,7 @@
##
# @BlockdevOptionsNVMe:
-#
-# Driver specific block device options for the NVMe backend.
+# Driver specific block device options for the NVMe backend.
#
# @device: PCI controller address of the NVMe device in format
# hhhh:bb:ss.f (host:bus:slot.function)
@@ -3458,8 +3405,7 @@
##
# @BlockdevOptionsVVFAT:
-#
-# Driver specific block device options for the vvfat protocol.
+# Driver specific block device options for the vvfat protocol.
#
# @dir: directory to be exported as FAT image
#
@@ -3483,9 +3429,8 @@
##
# @BlockdevOptionsGenericFormat:
-#
-# Driver specific block device options for image format that have no
-# option besides their data source.
+# Driver specific block device options for image format that have
+# no option besides their data source.
#
# @file: reference to or definition of the data source block device
#
@@ -3496,8 +3441,7 @@
##
# @BlockdevOptionsLUKS:
-#
-# Driver specific block device options for LUKS.
+# Driver specific block device options for LUKS.
#
# @key-secret: the ID of a QCryptoSecret object providing the
# decryption key. Mandatory except when doing a metadata-only
@@ -3514,9 +3458,9 @@
##
# @BlockdevOptionsGenericCOWFormat:
-#
-# Driver specific block device options for image format that have no
-# option besides their data source and an optional backing file.
+# Driver specific block device options for image format that have
+# no option besides their data source and an optional backing
+# file.
#
# @backing: reference to or definition of the backing file block
# device, null disables the backing file entirely. Defaults to
@@ -3530,8 +3474,7 @@
##
# @Qcow2OverlapCheckMode:
-#
-# General overlap check modes.
+# General overlap check modes.
#
# @none: Do not perform any checks
#
@@ -3594,9 +3537,8 @@
##
# @Qcow2OverlapChecks:
-#
-# Specifies which metadata structures should be guarded against
-# unintended overwriting.
+# Specifies which metadata structures should be guarded against
+# unintended overwriting.
#
# @flags: set of flags for separate specification of each metadata
# structure type
@@ -3633,8 +3575,7 @@
##
# @BlockdevOptionsQcow:
-#
-# Driver specific block device options for qcow.
+# Driver specific block device options for qcow.
#
# @encrypt: Image decryption options. Mandatory for encrypted images,
# except when doing a metadata-only probe of the image.
@@ -3670,9 +3611,8 @@
##
# @BlockdevOptionsPreallocate:
-#
-# Filter driver intended to be inserted between format and protocol
-# node and do preallocation in protocol node on write.
+# Filter driver intended to be inserted between format and
+# protocol node and do preallocation in protocol node on write.
#
# @prealloc-align: on preallocation, align file length to this number,
# default 1048576 (1M)
@@ -3687,8 +3627,7 @@
##
# @BlockdevOptionsQcow2:
-#
-# Driver specific block device options for qcow2.
+# Driver specific block device options for qcow2.
#
# @lazy-refcounts: whether to enable the lazy refcounts feature
# (default is taken from the image file)
@@ -3841,8 +3780,7 @@
##
# @BlkdebugEvent:
-#
-# Trigger events supported by blkdebug.
+# Trigger events supported by blkdebug.
#
# @l1_shrink_write_table: write zeros to the l1 table to shrink image.
# (since 2.11)
@@ -3878,8 +3816,7 @@
##
# @BlkdebugIOType:
-#
-# Kinds of I/O that blkdebug can inject errors in.
+# Kinds of I/O that blkdebug can inject errors in.
#
# @read: .bdrv_co_preadv()
#
@@ -3901,8 +3838,7 @@
##
# @BlkdebugInjectErrorOptions:
-#
-# Describes a single error injection for blkdebug.
+# Describes a single error injection for blkdebug.
#
# @event: trigger event
#
@@ -3940,8 +3876,7 @@
##
# @BlkdebugSetStateOptions:
-#
-# Describes a single state-change event for blkdebug.
+# Describes a single state-change event for blkdebug.
#
# @event: trigger event
#
@@ -3960,8 +3895,7 @@
##
# @BlockdevOptionsBlkdebug:
-#
-# Driver specific block device options for blkdebug.
+# Driver specific block device options for blkdebug.
#
# @image: underlying raw block device (or image file)
#
@@ -4022,8 +3956,7 @@
##
# @BlockdevOptionsBlklogwrites:
-#
-# Driver specific block device options for blklogwrites.
+# Driver specific block device options for blklogwrites.
#
# @file: block device
#
@@ -4049,8 +3982,7 @@
##
# @BlockdevOptionsBlkverify:
-#
-# Driver specific block device options for blkverify.
+# Driver specific block device options for blkverify.
#
# @test: block device to be tested
#
@@ -4064,8 +3996,7 @@
##
# @BlockdevOptionsBlkreplay:
-#
-# Driver specific block device options for blkreplay.
+# Driver specific block device options for blkreplay.
#
# @image: disk image which should be controlled with blkreplay
#
@@ -4076,8 +4007,7 @@
##
# @QuorumReadPattern:
-#
-# An enumeration of quorum read patterns.
+# An enumeration of quorum read patterns.
#
# @quorum: read all the children and do a quorum vote on reads
#
@@ -4089,8 +4019,7 @@
##
# @BlockdevOptionsQuorum:
-#
-# Driver specific block device options for Quorum
+# Driver specific block device options for Quorum
#
# @blkverify: true if the driver must print content mismatch set to
# false by default
@@ -4116,8 +4045,7 @@
##
# @BlockdevOptionsIoUring:
-#
-# Driver specific block device options for the io_uring backend.
+# Driver specific block device options for the io_uring backend.
#
# @filename: path to the image file
#
@@ -4129,8 +4057,8 @@
##
# @BlockdevOptionsNvmeIoUring:
-#
-# Driver specific block device options for the nvme-io_uring backend.
+# Driver specific block device options for the nvme-io_uring
+# backend.
#
# @path: path to the NVMe namespace's character device (e.g.
# /dev/ng0n1).
@@ -4143,9 +4071,8 @@
##
# @BlockdevOptionsVirtioBlkVfioPci:
-#
-# Driver specific block device options for the virtio-blk-vfio-pci
-# backend.
+# Driver specific block device options for the virtio-blk-vfio-pci
+# backend.
#
# @path: path to the PCI device's sysfs directory (e.g.
# /sys/bus/pci/devices/0000:00:01.0).
@@ -4158,9 +4085,8 @@
##
# @BlockdevOptionsVirtioBlkVhostUser:
-#
-# Driver specific block device options for the virtio-blk-vhost-user
-# backend.
+# Driver specific block device options for the
+# virtio-blk-vhost-user backend.
#
# @path: path to the vhost-user UNIX domain socket.
#
@@ -4172,9 +4098,8 @@
##
# @BlockdevOptionsVirtioBlkVhostVdpa:
-#
-# Driver specific block device options for the virtio-blk-vhost-vdpa
-# backend.
+# Driver specific block device options for the
+# virtio-blk-vhost-vdpa backend.
#
# @path: path to the vhost-vdpa character device.
#
@@ -4193,8 +4118,7 @@
##
# @IscsiTransport:
-#
-# An enumeration of libiscsi transport types
+# An enumeration of libiscsi transport types
#
# Since: 2.9
##
@@ -4203,8 +4127,7 @@
##
# @IscsiHeaderDigest:
-#
-# An enumeration of header digests supported by libiscsi
+# An enumeration of header digests supported by libiscsi
#
# Since: 2.9
##
@@ -4214,8 +4137,7 @@
##
# @BlockdevOptionsIscsi:
-#
-# Driver specific block device options for iscsi
+# Driver specific block device options for iscsi
#
# @transport: The iscsi transport type
#
@@ -4417,8 +4339,7 @@
##
# @ReplicationMode:
-#
-# An enumeration of replication modes.
+# An enumeration of replication modes.
#
# @primary: Primary mode, the vm's state will be sent to secondary
# QEMU.
@@ -4433,8 +4354,7 @@
##
# @BlockdevOptionsReplication:
-#
-# Driver specific block device options for replication
+# Driver specific block device options for replication
#
# @mode: the replication mode
#
@@ -4452,8 +4372,7 @@
##
# @NFSTransport:
-#
-# An enumeration of NFS transport types
+# An enumeration of NFS transport types
#
# @inet: TCP transport
#
@@ -4464,8 +4383,7 @@
##
# @NFSServer:
-#
-# Captures the address of the socket
+# Captures the address of the socket
#
# @type: transport type used for NFS (only TCP supported)
#
@@ -4479,8 +4397,7 @@
##
# @BlockdevOptionsNfs:
-#
-# Driver specific block device option for NFS
+# Driver specific block device option for NFS
#
# @server: host address
#
@@ -4517,9 +4434,8 @@
##
# @BlockdevOptionsCurlBase:
-#
-# Driver specific block device options shared by all protocols
-# supported by the curl backend.
+# Driver specific block device options shared by all protocols
+# supported by the curl backend.
#
# @url: URL of the image file
#
@@ -4620,8 +4536,7 @@
##
# @BlockdevOptionsNbd:
-#
-# Driver specific block device options for NBD.
+# Driver specific block device options for NBD.
#
# @server: NBD server address
#
@@ -4669,8 +4584,7 @@
##
# @BlockdevOptionsRaw:
-#
-# Driver specific block device options for the raw driver.
+# Driver specific block device options for the raw driver.
#
# @offset: position where the block device starts
#
@@ -4684,8 +4598,7 @@
##
# @BlockdevOptionsThrottle:
-#
-# Driver specific block device options for the throttle driver
+# Driver specific block device options for the throttle driver
#
# @throttle-group: the name of the throttle-group object to use. It
# must already exist.
@@ -4701,8 +4614,8 @@
##
# @BlockdevOptionsCor:
-#
-# Driver specific block device options for the copy-on-read driver.
+# Driver specific block device options for the copy-on-read
+# driver.
#
# @bottom: The name of a non-filter node (allocation-bearing layer)
# that limits the COR operations in the backing chain (inclusive),
@@ -4718,9 +4631,8 @@
##
# @OnCbwError:
-#
-# An enumeration of possible behaviors for copy-before-write operation
-# failures.
+# An enumeration of possible behaviors for copy-before-write
+# operation failures.
#
# @break-guest-write: report the error to the guest. This way, the
# guest will not be able to overwrite areas that cannot be backed
@@ -4780,9 +4692,8 @@
##
# @BlockdevOptions:
-#
-# Options for creating a block device. Many options are available for
-# all block devices, independent of the block driver:
+# Options for creating a block device. Many options are available
+# for all block devices, independent of the block driver:
#
# @driver: block driver name
#
@@ -4895,8 +4806,7 @@
##
# @BlockdevRef:
-#
-# Reference to a block device.
+# Reference to a block device.
#
# @definition: defines a new block device inline
#
@@ -4910,8 +4820,7 @@
##
# @BlockdevRefOrNull:
-#
-# Reference to a block device.
+# Reference to a block device.
#
# @definition: defines a new block device inline
#
@@ -4930,8 +4839,7 @@
##
# @blockdev-add:
-#
-# Creates a new block device.
+# Creates a new block device.
#
# Since: 2.9
#
@@ -5092,8 +5000,7 @@
##
# @BlockdevCreateOptionsFile:
-#
-# Driver specific image creation options for file.
+# Driver specific image creation options for file.
#
# @filename: Filename for the new image file
#
@@ -5119,8 +5026,7 @@
##
# @BlockdevCreateOptionsLUKS:
-#
-# Driver specific image creation options for LUKS.
+# Driver specific image creation options for LUKS.
#
# @file: Node to create the image format on, mandatory except when
# 'preallocation' is not requested
@@ -5143,8 +5049,7 @@
##
# @BlockdevCreateOptionsNfs:
-#
-# Driver specific image creation options for NFS.
+# Driver specific image creation options for NFS.
#
# @location: Where to store the new image file
#
@@ -5158,8 +5063,7 @@
##
# @BlockdevCreateOptionsParallels:
-#
-# Driver specific image creation options for parallels.
+# Driver specific image creation options for parallels.
#
# @file: Node to create the image format on
#
@@ -5176,8 +5080,7 @@
##
# @BlockdevCreateOptionsQcow:
-#
-# Driver specific image creation options for qcow.
+# Driver specific image creation options for qcow.
#
# @file: Node to create the image format on
#
@@ -5211,8 +5114,7 @@
##
# @Qcow2CompressionType:
-#
-# Compression type used in qcow2 image file
+# Compression type used in qcow2 image file
#
# @zlib: zlib compression, see <http://zlib.net/>
#
@@ -5225,8 +5127,7 @@
##
# @BlockdevCreateOptionsQcow2:
-#
-# Driver specific image creation options for qcow2.
+# Driver specific image creation options for qcow2.
#
# @file: Node to create the image format on
#
@@ -5285,8 +5186,7 @@
##
# @BlockdevCreateOptionsQed:
-#
-# Driver specific image creation options for qed.
+# Driver specific image creation options for qed.
#
# @file: Node to create the image format on
#
@@ -5313,8 +5213,7 @@
##
# @BlockdevCreateOptionsRbd:
-#
-# Driver specific image creation options for rbd/Ceph.
+# Driver specific image creation options for rbd/Ceph.
#
# @location: Where to store the new image file. This location cannot
# point to a snapshot.
@@ -5335,8 +5234,7 @@
##
# @BlockdevVmdkSubformat:
-#
-# Subformat options for VMDK images
+# Subformat options for VMDK images
#
# @monolithicSparse: Single file image with sparse cluster allocation
#
@@ -5359,8 +5257,7 @@
##
# @BlockdevVmdkAdapterType:
-#
-# Adapter type info for VMDK images
+# Adapter type info for VMDK images
#
# Since: 4.0
##
@@ -5369,8 +5266,7 @@
##
# @BlockdevCreateOptionsVmdk:
-#
-# Driver specific image creation options for VMDK.
+# Driver specific image creation options for VMDK.
#
# @file: Where to store the new image file. This refers to the image
# file for monolithcSparse and streamOptimized format, or the
@@ -5418,8 +5314,7 @@
##
# @BlockdevCreateOptionsSsh:
-#
-# Driver specific image creation options for SSH.
+# Driver specific image creation options for SSH.
#
# @location: Where to store the new image file
#
@@ -5433,8 +5328,7 @@
##
# @BlockdevCreateOptionsVdi:
-#
-# Driver specific image creation options for VDI.
+# Driver specific image creation options for VDI.
#
# @file: Node to create the image format on
#
@@ -5464,8 +5358,7 @@
##
# @BlockdevCreateOptionsVhdx:
-#
-# Driver specific image creation options for vhdx.
+# Driver specific image creation options for vhdx.
#
# @file: Node to create the image format on
#
@@ -5508,8 +5401,7 @@
##
# @BlockdevCreateOptionsVpc:
-#
-# Driver specific image creation options for vpc (VHD).
+# Driver specific image creation options for vpc (VHD).
#
# @file: Node to create the image format on
#
@@ -5531,8 +5423,7 @@
##
# @BlockdevCreateOptions:
-#
-# Options for creating an image format on a given node.
+# Options for creating an image format on a given node.
#
# @driver: block driver to create the image format
#
@@ -5577,8 +5468,7 @@
##
# @BlockdevAmendOptionsLUKS:
-#
-# Driver specific image amend options for LUKS.
+# Driver specific image amend options for LUKS.
#
# Since: 5.1
##
@@ -5589,9 +5479,8 @@
##
# @BlockdevAmendOptionsQcow2:
-#
-# Driver specific image amend options for qcow2. For now, only
-# encryption options can be amended
+# Driver specific image amend options for qcow2. For now, only
+# encryption options can be amended
#
# @encrypt: Encryption options to be amended
#
@@ -5602,8 +5491,7 @@
##
# @BlockdevAmendOptions:
-#
-# Options for amending an image format
+# Options for amending an image format
#
# @driver: Block driver of the node to amend.
#
@@ -5651,8 +5539,8 @@
##
# @BlockErrorAction:
-#
-# An enumeration of action that has been taken when a DISK I/O occurs
+# An enumeration of action that has been taken when a DISK I/O
+# occurs
#
# @ignore: error has been ignored
#
@@ -5715,8 +5603,7 @@
##
# @BLOCK_IO_ERROR:
-#
-# Emitted when a disk I/O error occurs
+# Emitted when a disk I/O error occurs
#
# @qom-path: path to the device object in the QOM tree (since 9.2)
#
@@ -5768,8 +5655,7 @@
##
# @BLOCK_JOB_COMPLETED:
-#
-# Emitted when a block job has completed
+# Emitted when a block job has completed
#
# @type: job type
#
@@ -5808,8 +5694,7 @@
##
# @BLOCK_JOB_CANCELLED:
-#
-# Emitted when a block job has been cancelled
+# Emitted when a block job has been cancelled
#
# @type: job type
#
@@ -5842,8 +5727,7 @@
##
# @BLOCK_JOB_ERROR:
-#
-# Emitted when a block job encounters an error
+# Emitted when a block job encounters an error
#
# @device: The job identifier. Originally the device name but other
# values are allowed since QEMU 2.7
@@ -5869,8 +5753,7 @@
##
# @BLOCK_JOB_READY:
-#
-# Emitted when a block job is ready to complete
+# Emitted when a block job is ready to complete
#
# @type: job type
#
@@ -5929,8 +5812,7 @@
##
# @PreallocMode:
-#
-# Preallocation mode of QEMU image file
+# Preallocation mode of QEMU image file
#
# @off: no preallocation
#
@@ -6109,8 +5991,7 @@
##
# @QuorumOpType:
-#
-# An enumeration of the quorum operation types
+# An enumeration of the quorum operation types
#
# @read: read operation
#
@@ -6125,8 +6006,8 @@
##
# @QUORUM_FAILURE:
-#
-# Emitted by the Quorum block driver if it fails to establish a quorum
+# Emitted by the Quorum block driver if it fails to establish a
+# quorum
#
# @reference: device name if defined else node name
#
@@ -6149,8 +6030,7 @@
##
# @QUORUM_REPORT_BAD:
-#
-# Emitted to report a corruption of a Quorum file
+# Emitted to report a corruption of a Quorum file
#
# @type: quorum operation type (Since 2.6)
#
@@ -6283,8 +6163,8 @@
##
# @DummyBlockCoreForceArrays:
-#
-# Not used by QMP; hack to let us use BlockGraphInfoList internally
+# Not used by QMP; hack to let us use BlockGraphInfoList
+# internally
#
# Since: 8.0
##
--
2.55.0
^ permalink raw reply related [flat|nested] 54+ messages in thread
* Re: [PATCH v3 10/43] qapi: convert trivial intro sections for accelerator.json
2026-08-26 19:38 ` [PATCH v3 10/43] qapi: convert trivial intro sections for accelerator.json John Snow
@ 2026-08-27 8:39 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 54+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-08-27 8:39 UTC (permalink / raw)
To: John Snow, qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On 26/8/26 21:38, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> qapi/accelerator.json | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 17/43] qapi: convert trivial intro sections for qdev.json
2026-08-26 19:38 ` [PATCH v3 17/43] qapi: convert trivial intro sections for qdev.json John Snow
@ 2026-08-27 8:39 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 54+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-08-27 8:39 UTC (permalink / raw)
To: John Snow, qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On 26/8/26 21:38, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> qapi/qdev.json | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 25/43] qapi: convert trivial intro sections for pci.json
2026-08-26 19:38 ` [PATCH v3 25/43] qapi: convert trivial intro sections for pci.json John Snow
@ 2026-08-27 8:40 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 54+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-08-27 8:40 UTC (permalink / raw)
To: John Snow, qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On 26/8/26 21:38, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> qapi/pci.json | 27 +++++++++------------------
> 1 file changed, 9 insertions(+), 18 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 35/43] qapi: convert trivial intro sections for run-state.json
2026-08-26 19:38 ` [PATCH v3 35/43] qapi: convert trivial intro sections for run-state.json John Snow
@ 2026-08-27 8:41 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 54+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-08-27 8:41 UTC (permalink / raw)
To: John Snow, qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On 26/8/26 21:38, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> qapi/run-state.json | 113 ++++++++++++++++----------------------------
> 1 file changed, 42 insertions(+), 71 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 39/43] qapi: convert trivial intro sections for qom.json
2026-08-26 19:38 ` [PATCH v3 39/43] qapi: convert trivial intro sections for qom.json John Snow
@ 2026-08-27 8:42 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 54+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-08-27 8:42 UTC (permalink / raw)
To: John Snow, qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On 26/8/26 21:38, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> qapi/qom.json | 150 +++++++++++++++++---------------------------------
> 1 file changed, 51 insertions(+), 99 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 42/43] qapi: convert trivial intro sections for machine.json
2026-08-26 19:38 ` [PATCH v3 42/43] qapi: convert trivial intro sections for machine.json John Snow
@ 2026-08-27 8:42 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 54+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-08-27 8:42 UTC (permalink / raw)
To: John Snow, qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On 26/8/26 21:38, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> qapi/machine.json | 208 ++++++++++++++++------------------------------
> 1 file changed, 73 insertions(+), 135 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 01/43] qapi: convert trivial intro sections for error.json
2026-08-26 19:37 ` [PATCH v3 01/43] qapi: convert trivial intro sections for error.json John Snow
@ 2026-08-27 8:43 ` Philippe Mathieu-Daudé
2026-08-27 9:10 ` Daniel P. Berrangé
1 sibling, 0 replies; 54+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-08-27 8:43 UTC (permalink / raw)
To: John Snow, qemu-devel
Cc: Alex Williamson, Daniel P. Berrangé, linux-cxl,
Markus Armbruster, Michael Tokarev, Vladimir Sementsov-Ogievskiy,
Peter Xu, Eric Blake, Marc-André Lureau, zhenwei pi,
qemu-trivial, Fabiano Rosas, Kevin Wolf, Laurent Vivier,
Jiri Pirko, qemu-block, Stefan Hajnoczi, Stefan Berger,
linux-edac, Gonglei (Arei), Igor Mammedov, Gerd Hoffmann,
Jonathan Cameron, Alex Bennée, Zhao Liu,
Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On 26/8/26 21:37, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> qapi/error.json | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 01/43] qapi: convert trivial intro sections for error.json
2026-08-26 19:37 ` [PATCH v3 01/43] qapi: convert trivial intro sections for error.json John Snow
2026-08-27 8:43 ` Philippe Mathieu-Daudé
@ 2026-08-27 9:10 ` Daniel P. Berrangé
2026-08-27 13:09 ` Markus Armbruster
1 sibling, 1 reply; 54+ messages in thread
From: Daniel P. Berrangé @ 2026-08-27 9:10 UTC (permalink / raw)
To: John Snow
Cc: qemu-devel, Alex Williamson, linux-cxl, Markus Armbruster,
Michael Tokarev, Vladimir Sementsov-Ogievskiy, Peter Xu,
Eric Blake, Marc-André Lureau, zhenwei pi, qemu-trivial,
Fabiano Rosas, Kevin Wolf, Laurent Vivier, Jiri Pirko, qemu-block,
Stefan Hajnoczi, Stefan Berger, linux-edac, Gonglei (Arei),
Igor Mammedov, Gerd Hoffmann, Jonathan Cameron, Alex Bennée,
Zhao Liu, Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On Wed, Aug 26, 2026 at 03:37:58PM -0400, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> qapi/error.json | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/qapi/error.json b/qapi/error.json
> index 54cb02fb880..a53b13e55c9 100644
> --- a/qapi/error.json
> +++ b/qapi/error.json
> @@ -9,8 +9,7 @@
>
> ##
> # @QapiErrorClass:
> -#
> -# QEMU error classes
> +# QEMU error classes
Where is this need for indent coming from ? From the POV of someone
writing comments, the need to indent the introductory text like this
feels very counter-intuitive, an exception from any other inline
docs syntax I've typically used. Is there any way we can avoid this ?
> #
> # @GenericError: this is used for errors that don't require a specific
> # error class. This should be the default case for most errors
> --
> 2.55.0
>
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 01/43] qapi: convert trivial intro sections for error.json
2026-08-27 9:10 ` Daniel P. Berrangé
@ 2026-08-27 13:09 ` Markus Armbruster
2026-08-27 13:39 ` Daniel P. Berrangé
0 siblings, 1 reply; 54+ messages in thread
From: Markus Armbruster @ 2026-08-27 13:09 UTC (permalink / raw)
To: Daniel P. Berrangé
Cc: John Snow, qemu-devel, Alex Williamson, linux-cxl,
Michael Tokarev, Vladimir Sementsov-Ogievskiy, Peter Xu,
Eric Blake, Marc-André Lureau, zhenwei pi, qemu-trivial,
Fabiano Rosas, Kevin Wolf, Laurent Vivier, Jiri Pirko, qemu-block,
Stefan Hajnoczi, Stefan Berger, linux-edac, Gonglei (Arei),
Igor Mammedov, Gerd Hoffmann, Jonathan Cameron, Alex Bennée,
Zhao Liu, Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
Daniel P. Berrangé <berrange@redhat.com> writes:
> On Wed, Aug 26, 2026 at 03:37:58PM -0400, John Snow wrote:
>> Signed-off-by: John Snow <jsnow@redhat.com>
>> ---
>> qapi/error.json | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git a/qapi/error.json b/qapi/error.json
>> index 54cb02fb880..a53b13e55c9 100644
>> --- a/qapi/error.json
>> +++ b/qapi/error.json
>> @@ -9,8 +9,7 @@
>>
>> ##
>> # @QapiErrorClass:
>> -#
>> -# QEMU error classes
>> +# QEMU error classes
>
> Where is this need for indent coming from ? From the POV of someone
> writing comments, the need to indent the introductory text like this
> feels very counter-intuitive, an exception from any other inline
> docs syntax I've typically used. Is there any way we can avoid this ?
The cover letter explains the need:
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.
But the need actually exists already, the inliner merely grows it.
Let me elaborate using an example: query-memory-size-summary
Its doc comment:
##
# @query-memory-size-summary:
#
# Return the amount of initially allocated and present hotpluggable
# (if enabled) memory in bytes.
#
# TODO: This line is a hack to separate the example from the body
#
# .. qmp-example::
#
# -> { "execute": "query-memory-size-summary" }
# <- { "return": { "base-memory": 4294967296, "plugged-memory": 0 } }
#
# Since: 2.11
##
Looks like this in the generated QEMU QMP Reference Manual:
Command query-memory-size-summary (Since: 2.11)
Return the amount of initially allocated and present hotpluggable
(if enabled) memory in bytes.
Return:
"MemoryInfo"
Example::
-> { "execute": "query-memory-size-summary" }
<- { "return": { "base-memory": 4294967296, "plugged-memory": 0 } }
The "Return:" part is inserted by the generator. Where? The order we
want is roughly
Intro (a brief description)
Members / Arguments
Returns
Errors
Features
Details (additional information, examples, ...)
Since
Members / Arguments, Returns, Errors, and Features are all optional.
They are in fact all absent in query-memory-size-summary. This makes
Intro and Details bleed together.
The TODO line keeps them separate, because it's a section (the doc
comment syntax is a sequence of sections, in this case Intro, TODO,
Details). Not only is abusing TODO an ugly hack, it's also easy to
forget. If we did forget it here, Return would be inserted in at the
very end:
Command query-memory-size-summary (Since: 2.11)
Return the amount of initially allocated and present hotpluggable
(if enabled) memory in bytes.
Example::
-> { "execute": "query-memory-size-summary" }
<- { "return": { "base-memory": 4294967296, "plugged-memory": 0 } }
Return:
"MemoryInfo"
Fortunately, the problem is uncommon: we have just five such TODOs right
now.
Unfortunately, the (still not merged) inliner makes it a lot more
common, and also more serious.
A preparatory series from John added 59 such markers, i.e. about one in
twenty doc comments needed one. "Such markers" because he didn't abuse
TODO, but created proper syntax for it, namely a Details: line.
Why more serious? Have a look at netdev_add. Looks like this in the
generated QEMU QMP Reference Manual:
Command netdev_add (Since: 0.14)
Add a network backend.
Additional arguments depend on the type.
Arguments:
* The members of "Netdev".
[...]
To actually see the arguments, you need to follow the link to type
Netdev. This is bad UX. We want the arguments right there, so the
inliner inlines Netdev documentation:
Object Netdev (Since: 1.2)
Captures the configuration of a network device.
Members:
* **id** ("string") -- identifier for monitor commands.
* **type** ("NetClientDriver") -- Specify the driver used for
interpreting remaining arguments.
* When "type" is "nic": The members of "NetLegacyNicOptions".
[...]
into netdev_add documentation like this:
Command netdev_add (Since: 0.14)
Add a network backend.
Additional arguments depend on the type.
Arguments:
* **id** ("string") -- identifier for monitor commands.
* **type** ("NetClientDriver") -- Specify the driver used for
interpreting remaining arguments.
* When "type" is "nic": The members of "NetLegacyNicOptions".
[...]
Note that the inliner elided Netdev's Intro "Captures the configuration
of a network device."
However, when Intro and Details bleed together, the inliner elides more
than it should. I consider that a fairly serious issue.
I'm afraid forgetting to mark the end of Intro with "Details:" would be
a common mistake, easy to miss in review. So I explored possible
alternatives:
Subject: Re: [PATCH v2 00/10] qapi: enforce section ordering
Date: Wed, 15 Apr 2026 11:43:45 +0200
Message-ID: <87zf341ru6.fsf@pond.sub.org>
https://lore.kernel.org/qemu-devel/87zf341ru6.fsf@pond.sub.org/
John is working towards "3. Make the end of intro syntactically obvious"
always, specifically "3c. Indent intro like descriptions and tagged
sections" with the ultimate goal to reject unindented Intro. That way,
we cannot write an Intro with an unclear end. John, correct me if I'm
accidentally misrepresenting your work.
Questions? Better ideas?
[...]
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 01/43] qapi: convert trivial intro sections for error.json
2026-08-27 13:09 ` Markus Armbruster
@ 2026-08-27 13:39 ` Daniel P. Berrangé
0 siblings, 0 replies; 54+ messages in thread
From: Daniel P. Berrangé @ 2026-08-27 13:39 UTC (permalink / raw)
To: Markus Armbruster
Cc: John Snow, qemu-devel, Alex Williamson, linux-cxl,
Michael Tokarev, Vladimir Sementsov-Ogievskiy, Peter Xu,
Eric Blake, Marc-André Lureau, zhenwei pi, qemu-trivial,
Fabiano Rosas, Kevin Wolf, Laurent Vivier, Jiri Pirko, qemu-block,
Stefan Hajnoczi, Stefan Berger, linux-edac, Gonglei (Arei),
Igor Mammedov, Gerd Hoffmann, Jonathan Cameron, Alex Bennée,
Zhao Liu, Mauro Carvalho Chehab, Michael S. Tsirkin, Hanna Reitz,
Jason Wang, Richard Henderson, Paolo Bonzini, Ani Sinha,
Philippe Mathieu-Daudé, Lukas Straub, Cédric Le Goater
On Thu, Aug 27, 2026 at 03:09:35PM +0200, Markus Armbruster wrote:
> Daniel P. Berrangé <berrange@redhat.com> writes:
>
> > On Wed, Aug 26, 2026 at 03:37:58PM -0400, John Snow wrote:
> >> Signed-off-by: John Snow <jsnow@redhat.com>
> >> ---
> >> qapi/error.json | 3 +--
> >> 1 file changed, 1 insertion(+), 2 deletions(-)
> >>
> >> diff --git a/qapi/error.json b/qapi/error.json
> >> index 54cb02fb880..a53b13e55c9 100644
> >> --- a/qapi/error.json
> >> +++ b/qapi/error.json
> >> @@ -9,8 +9,7 @@
> >>
> >> ##
> >> # @QapiErrorClass:
> >> -#
> >> -# QEMU error classes
> >> +# QEMU error classes
> >
> > Where is this need for indent coming from ? From the POV of someone
> > writing comments, the need to indent the introductory text like this
> > feels very counter-intuitive, an exception from any other inline
> > docs syntax I've typically used. Is there any way we can avoid this ?
>
> The cover letter explains the need:
Yes, I just didn't see the connection from that, to the use
of indent.
>
> 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.
So IIUC, you're saying that we are going to rely on indentation
to distinguish introduction from details ?
> Note that the inliner elided Netdev's Intro "Captures the configuration
> of a network device."
>
> However, when Intro and Details bleed together, the inliner elides more
> than it should. I consider that a fairly serious issue.
>
> I'm afraid forgetting to mark the end of Intro with "Details:" would be
> a common mistake, easy to miss in review. So I explored possible
> alternatives:
>
> Subject: Re: [PATCH v2 00/10] qapi: enforce section ordering
> Date: Wed, 15 Apr 2026 11:43:45 +0200
> Message-ID: <87zf341ru6.fsf@pond.sub.org>
> https://lore.kernel.org/qemu-devel/87zf341ru6.fsf@pond.sub.org/
>
> John is working towards "3. Make the end of intro syntactically obvious"
> always, specifically "3c. Indent intro like descriptions and tagged
> sections" with the ultimate goal to reject unindented Intro. That way,
> we cannot write an Intro with an unclear end. John, correct me if I'm
> accidentally misrepresenting your work.
>
> Questions? Better ideas?
As an author, how substantive is "Intro" expected to be? I guess on
QAPI docs I've written I've not ever been aware of there even being
a distinct concept of Intro vs Details to think about. It is all just
some lines of prose to me.
My only alternative idea to indentation would be to declare that the
"Intro" is always the 1st paragraph of text and anything beyond that
is the "Details". That might match up with the way that contributors
naturally write text where the 1st paragraph conveys the key idea,
such that they dno't need to think about Intro vs Details as a
concept.
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
^ permalink raw reply [flat|nested] 54+ messages in thread
end of thread, other threads:[~2026-08-27 13:39 UTC | newest]
Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-26 19:37 [PATCH v3 00/43] qapi: convert (very) trivial intro sections John Snow
2026-08-26 19:37 ` [PATCH v3 01/43] qapi: convert trivial intro sections for error.json John Snow
2026-08-27 8:43 ` Philippe Mathieu-Daudé
2026-08-27 9:10 ` Daniel P. Berrangé
2026-08-27 13:09 ` Markus Armbruster
2026-08-27 13:39 ` Daniel P. Berrangé
2026-08-26 19:37 ` [PATCH v3 02/43] qapi: convert trivial intro sections for acpi-hest.json John Snow
2026-08-26 19:38 ` [PATCH v3 03/43] qapi: convert trivial intro sections for ebpf.json John Snow
2026-08-26 19:38 ` [PATCH v3 04/43] qapi: convert trivial intro sections for compat.json John Snow
2026-08-26 19:38 ` [PATCH v3 05/43] qapi: convert trivial intro sections for vfio.json John Snow
2026-08-26 19:38 ` [PATCH v3 06/43] qapi: convert trivial intro sections for trace.json John Snow
2026-08-26 19:38 ` [PATCH v3 07/43] qapi: convert trivial intro sections for misc-arm.json John Snow
2026-08-26 19:38 ` [PATCH v3 08/43] qapi: convert trivial intro sections for cryptodev.json John Snow
2026-08-26 19:38 ` [PATCH v3 09/43] qapi: convert trivial intro sections for machine-common.json John Snow
2026-08-26 19:38 ` [PATCH v3 10/43] qapi: convert trivial intro sections for accelerator.json John Snow
2026-08-27 8:39 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 11/43] qapi: convert trivial intro sections for authz.json John Snow
2026-08-26 19:38 ` [PATCH v3 12/43] qapi: convert trivial intro sections for yank.json John Snow
2026-08-26 19:38 ` [PATCH v3 13/43] qapi: convert trivial intro sections for replay.json John Snow
2026-08-26 19:38 ` [PATCH v3 14/43] qapi: convert trivial intro sections for machine-s390x.json John Snow
2026-08-26 19:38 ` [PATCH v3 15/43] qapi: convert trivial intro sections for acpi.json John Snow
2026-08-26 19:38 ` [PATCH v3 16/43] qapi: convert trivial intro sections for tpm.json John Snow
2026-08-26 19:38 ` [PATCH v3 17/43] qapi: convert trivial intro sections for qdev.json John Snow
2026-08-27 8:39 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 18/43] qapi: convert trivial intro sections for control.json John Snow
2026-08-26 19:38 ` [PATCH v3 19/43] qapi: convert trivial intro sections for dump.json John Snow
2026-08-26 19:38 ` [PATCH v3 20/43] qapi: convert trivial intro sections for common.json John Snow
2026-08-26 19:38 ` [PATCH v3 21/43] qapi: convert trivial intro sections for sockets.json John Snow
2026-08-26 19:38 ` [PATCH v3 22/43] qapi: convert trivial intro sections for transaction.json John Snow
2026-08-26 19:38 ` [PATCH v3 23/43] qapi: convert trivial intro sections for stats.json John Snow
2026-08-26 19:38 ` [PATCH v3 24/43] qapi: convert trivial intro sections for job.json John Snow
2026-08-26 19:38 ` [PATCH v3 25/43] qapi: convert trivial intro sections for pci.json John Snow
2026-08-27 8:40 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 26/43] qapi: convert trivial intro sections for introspect.json John Snow
2026-08-26 19:38 ` [PATCH v3 27/43] qapi: convert trivial intro sections for rocker.json John Snow
2026-08-26 19:38 ` [PATCH v3 28/43] qapi: convert trivial intro sections for misc-i386.json John Snow
2026-08-26 19:38 ` [PATCH v3 29/43] qapi: convert trivial intro sections for block-export.json John Snow
2026-08-26 19:38 ` [PATCH v3 30/43] qapi: convert trivial intro sections for audio.json John Snow
2026-08-26 19:38 ` [PATCH v3 31/43] qapi: convert trivial intro sections for block.json John Snow
2026-08-26 19:38 ` [PATCH v3 32/43] qapi: convert trivial intro sections for misc.json John Snow
2026-08-26 19:38 ` [PATCH v3 33/43] qapi: convert trivial intro sections for crypto.json John Snow
2026-08-26 19:38 ` [PATCH v3 34/43] qapi: convert trivial intro sections for cxl.json John Snow
2026-08-26 19:38 ` [PATCH v3 35/43] qapi: convert trivial intro sections for run-state.json John Snow
2026-08-27 8:41 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 36/43] qapi: convert trivial intro sections for char.json John Snow
2026-08-26 19:38 ` [PATCH v3 37/43] qapi: convert trivial intro sections for virtio.json John Snow
2026-08-26 19:38 ` [PATCH v3 38/43] qapi: convert trivial intro sections for net.json John Snow
2026-08-26 19:38 ` [PATCH v3 39/43] qapi: convert trivial intro sections for qom.json John Snow
2026-08-27 8:42 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 40/43] qapi: convert trivial intro sections for ui.json John Snow
2026-08-26 19:38 ` [PATCH v3 41/43] qapi: convert trivial intro sections for migration.json John Snow
2026-08-26 19:38 ` [PATCH v3 42/43] qapi: convert trivial intro sections for machine.json John Snow
2026-08-27 8:42 ` Philippe Mathieu-Daudé
2026-08-26 19:38 ` [PATCH v3 43/43] qapi: convert trivial intro sections for block-core.json John Snow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox