QAPI patches for 2025-07-29
The following changes since commit 92c05be4dfb59a71033d4c57dac944b29f7dabf0:
Merge tag 'pull-qga-2025-07-28' of https://repo.or.cz/qemu/armbru into staging (2025-07-28 09:31:19 -0400)
are available in the Git repository at:
https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2025-07-29
for you to fetch changes up to a95b3c0ad857055198cdb272bca2af975092d060:
MAINTAINERS: Cover docs/devel/qapi-domain.rst properly (2025-07-29 14:51:39 +0200)
----------------------------------------------------------------
QAPI patches for 2025-07-29
----------------------------------------------------------------
Markus Armbruster (5):
qapi: Add more cross-references
qapi/accelerator: Fix markup of heading tests/qapi-schema: Bury dead test case doc-non-first-section docs/qapi-domain: Fix typos
MAINTAINERS: Cover docs/devel/qapi-domain.rst properly
MAINTAINERS | 1 + docs/devel/qapi-domain.rst | 4 ++-- qapi/accelerator.json | 4 +++- qapi/dump.json | 2 +- qapi/machine.json | 2 +- qapi/migration.json | 4 ++-- qapi/misc-i386.json | 2 +- qapi/run-state.json | 2 +- qapi/sockets.json | 2 +- tests/qapi-schema/doc-non-first-section.err | 1 - tests/qapi-schema/doc-non-first-section.json | 6 ------ tests/qapi-schema/doc-non-first-section.out | 0 12 files changed, 13 insertions(+), 17 deletions(-) delete mode 100644 tests/qapi-schema/doc-non-first-section.err delete mode 100644 tests/qapi-schema/doc-non-first-section.json delete mode 100644 tests/qapi-schema/doc-non-first-section.out
Signature · 1 line
2.49.0
[PULL 3/5] tests/qapi-schema: Bury dead test case doc-non-first-section
The test passed when it was added. However, the commit adding it neglected to make Meson aware of it, so it never ran automatically. The test stopped making sense when we changed headings markup, and ceased to pass then. It should've been removed then. Do that now.
Message-ID: <[email protected]>
--- tests/qapi-schema/doc-non-first-section.err | 1 - tests/qapi-schema/doc-non-first-section.json | 6 ------ tests/qapi-schema/doc-non-first-section.out | 0 3 files changed, 7 deletions(-) delete mode 100644 tests/qapi-schema/doc-non-first-section.err delete mode 100644 tests/qapi-schema/doc-non-first-section.json delete mode 100644 tests/qapi-schema/doc-non-first-section.out
tests/qapi-schema/doc-non-first-section.err deleted +0 -1
@@ -1 +0,0 @@ -doc-non-first-section.json:5:1: '=' heading must come first in a comment block
tests/qapi-schema/doc-non-first-section.json deleted +0 -6
@@ -1,6 +0,0 @@ -# = section must be first line - -## -# -# = Not first -##
tests/qapi-schema/doc-non-first-section.out deleted +0 -0
Signature · 1 line
2.49.0
[PULL 5/5] MAINTAINERS: Cover docs/devel/qapi-domain.rst properly
In reply to Markus ArmbrusterSection QAPI already covers it, and that's fine. It's missing from "Sphinx documentation configuration and build machinery". Add it there.
Message-ID: <[email protected]>
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -4433,6 +4433,7 @@ F: docs/requirements.txt F: docs/sphinx/ F: docs/_templates/ F: docs/devel/docs.rst +F: docs/devel/qapi-domain.rst Rust build system integration M: Manos Pitsidianakis <[email protected]>
Signature · 1 line
2.49.0
[PULL 4/5] docs/qapi-domain: Fix typos
In reply to Markus ArmbrusterMessage-ID: <[email protected]>
--- docs/devel/qapi-domain.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
docs/devel/qapi-domain.rst +2 -2
@@ -9,7 +9,7 @@ in Sphinx is provided by the QAPI Domain, located in `Python Domain <https://www.sphinx-doc.org/en/master/usage/domains/python.html>`_ included with Sphinx, but provides special directives and roles -speciically for annotating and documenting QAPI definitions +for annotating and documenting QAPI definitions specifically. A `Domain
@@ -101,7 +101,7 @@ without types. The QAPI domain uses this class for features, returns, and enum values. TypedField: - * Creates a grouped, typed field. Multiple adjacent entres will be + * Creates a grouped, typed field. Multiple adjacent entries will be merged into one section, and the content will form a bulleted list. * *Must* take at least one argument, but supports up to two - nominally, a name and a type.
Signature · 1 line
2.49.0
[PULL 1/5] qapi: Add more cross-references
In reply to Markus ArmbrusterWe recently (merge commit 504632dcc631) enclosed command and type names in backquotes, so they become links in generated HTML. Take care of a few we missed.
Message-ID: <[email protected]>
--- qapi/dump.json | 2 +- qapi/machine.json | 2 +- qapi/migration.json | 4 ++-- qapi/misc-i386.json | 2 +- qapi/run-state.json | 2 +- qapi/sockets.json | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
qapi/dump.json +1 -1
@@ -79,7 +79,7 @@ # # @detach: if true, QMP will return immediately rather than waiting # for the dump to finish. The user can track progress using -# "query-dump". (since 2.6). +# `query-dump`. (since 2.6). # # @begin: if specified, the starting physical address. #
qapi/machine.json +1 -1
@@ -2087,7 +2087,7 @@ # # @deprecated-props: an optional list of properties that are flagged as # deprecated by the CPU vendor. The list depends on the -# CpuModelExpansionType: "static" properties are a subset of the +# `CpuModelExpansionType`: "static" properties are a subset of the # enabled-properties for the expanded model; "full" properties are # a set of properties that are deprecated across all models for # the architecture. (since: 10.1 -- since 9.1 on s390x --).
qapi/migration.json +2 -2
@@ -641,7 +641,7 @@ # # This mode supports VFIO devices provided the user first puts the # guest in the suspended runstate, such as by issuing -# guest-suspend-ram to the QEMU guest agent. +# `guest-suspend-ram` to the QEMU guest agent. # # Best performance is achieved when the memory backend is shared # and the @x-ignore-shared migration capability is set, but this
@@ -1704,7 +1704,7 @@ # # .. admonition:: Notes # -# 1. The 'query-migrate' command should be used to check +# 1. The `query-migrate` command should be used to check # migration's progress and final result (this information is # provided by the 'status' member). #
qapi/misc-i386.json +1 -1
@@ -8,7 +8,7 @@ # # Reset the RTC interrupt reinjection backlog. Can be used if another # mechanism to synchronize guest time is in effect, for example QEMU -# guest agent's guest-set-time command. +# guest agent's `guest-set-time` command. # # Use of this command is only applicable for x86 machines with an RTC, # and on other machines will silently return without performing any
qapi/run-state.json +1 -1
@@ -20,7 +20,7 @@ # @inmigrate: guest is paused waiting for an incoming migration. Note # that this state does not tell whether the machine will start at # the end of the migration. This depends on the command-line -S -# option and any invocation of 'stop' or 'cont' that has happened +# option and any invocation of `stop` or `cont` that has happened # since QEMU was started. # # @internal-error: An internal error that prevents further guest
qapi/sockets.json +1 -1
@@ -143,7 +143,7 @@ # # @str: decimal is for file descriptor number, otherwise it's a file # descriptor name. Named file descriptors are permitted in -# monitor commands, in combination with the 'getfd' command. +# monitor commands, in combination with the `getfd` command. # Decimal file descriptors are permitted at startup or other # contexts where no monitor context is active. #
Signature · 1 line
2.49.0
[PULL 2/5] qapi/accelerator: Fix markup of heading
In reply to Markus ArmbrusterThe docs generated for qapi/accelerator.json shows text "= Accelerators" instead of a heading. This is because the patch that added the heading crossed with the commit that changed heading markup (commit 6c10778826a "docs/sphinx: remove special parsing for freeform sections"). Fix the markup.
Message-ID: <[email protected]>
--- qapi/accelerator.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
qapi/accelerator.json +3 -1
@@ -4,7 +4,9 @@ # SPDX-License-Identifier: GPL-2.0-or-later ## -# = Accelerators +# ************ +# Accelerators +# ************ ## { 'include': 'common.json' }
Signature · 1 line
2.49.0
Stefan Hajnoczi
AppliedApplied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.