[PATCH] qapi/control: Turn the reference to qmp-spec.rst into a link

John Snow posted 1 patch 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260929192403.2972132-1-jsnow@redhat.com
Maintainers: Markus Armbruster <armbru@redhat.com>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, Eric Blake <eblake@redhat.com>
docs/interop/qmp-spec.rst | 2 ++
qapi/control.json         | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
[PATCH] qapi/control: Turn the reference to qmp-spec.rst into a link
Posted by John Snow 1 month, 3 weeks ago
Add a new anchor to qmp-spec that allows us to cross-reference the
Out-of-band execution section of the spec directly.

Amend the documentation in qapi/control.json to use this new cross
reference instead of a plaintext "see also".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
---
 docs/interop/qmp-spec.rst | 2 ++
 qapi/control.json         | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/interop/qmp-spec.rst b/docs/interop/qmp-spec.rst
index 563344160e6..ea713a96ac0 100644
--- a/docs/interop/qmp-spec.rst
+++ b/docs/interop/qmp-spec.rst
@@ -119,6 +119,8 @@ Where:
 
 The actual commands are documented in the :doc:`qemu-qmp-ref`.
 
+.. _out-of-band execution:
+
 Out-of-band execution
 ---------------------
 
diff --git a/qapi/control.json b/qapi/control.json
index ef63a8a261b..e97fe317af7 100644
--- a/qapi/control.json
+++ b/qapi/control.json
@@ -44,8 +44,7 @@
 #     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)
+# @oob: QMP ability to support :ref:`out-of-band execution` requests.
 #
 # Since: 2.12
 ##
-- 
2.55.0
Re: [PATCH] qapi/control: Turn the reference to qmp-spec.rst into a link
Posted by John Snow 1 month, 2 weeks ago
On Tue, Sep 29, 2026 at 3:24 PM John Snow <jsnow@redhat.com> wrote:
>
> Add a new anchor to qmp-spec that allows us to cross-reference the
> Out-of-band execution section of the spec directly.
>
> Amend the documentation in qapi/control.json to use this new cross
> reference instead of a plaintext "see also".
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: John Snow <jsnow@redhat.com>

Markus: With no feedback, I assume this is good to go?

> ---
>  docs/interop/qmp-spec.rst | 2 ++
>  qapi/control.json         | 3 +--
>  2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/docs/interop/qmp-spec.rst b/docs/interop/qmp-spec.rst
> index 563344160e6..ea713a96ac0 100644
> --- a/docs/interop/qmp-spec.rst
> +++ b/docs/interop/qmp-spec.rst
> @@ -119,6 +119,8 @@ Where:
>
>  The actual commands are documented in the :doc:`qemu-qmp-ref`.
>
> +.. _out-of-band execution:
> +
>  Out-of-band execution
>  ---------------------
>
> diff --git a/qapi/control.json b/qapi/control.json
> index ef63a8a261b..e97fe317af7 100644
> --- a/qapi/control.json
> +++ b/qapi/control.json
> @@ -44,8 +44,7 @@
>  #     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)
> +# @oob: QMP ability to support :ref:`out-of-band execution` requests.
>  #
>  # Since: 2.12
>  ##
> --
> 2.55.0
>
Re: [PATCH] qapi/control: Turn the reference to qmp-spec.rst into a link
Posted by Markus Armbruster 1 month, 2 weeks ago
John Snow <jsnow@redhat.com> writes:

> On Tue, Sep 29, 2026 at 3:24 PM John Snow <jsnow@redhat.com> wrote:
>>
>> Add a new anchor to qmp-spec that allows us to cross-reference the
>> Out-of-band execution section of the spec directly.
>>
>> Amend the documentation in qapi/control.json to use this new cross
>> reference instead of a plaintext "see also".
>>
>> Signed-off-by: Markus Armbruster <armbru@redhat.com>
>> Signed-off-by: John Snow <jsnow@redhat.com>
>
> Markus: With no feedback, I assume this is good to go?

Queued.  Thanks!
Re: [PATCH] qapi/control: Turn the reference to qmp-spec.rst into a link
Posted by Eric Blake 1 month, 2 weeks ago
On Tue, Sep 29, 2026 at 03:24:03PM -0400, John Snow wrote:
> Add a new anchor to qmp-spec that allows us to cross-reference the
> Out-of-band execution section of the spec directly.
> 
> Amend the documentation in qapi/control.json to use this new cross
> reference instead of a plaintext "see also".
> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>  docs/interop/qmp-spec.rst | 2 ++
>  qapi/control.json         | 3 +--
>  2 files changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization:  qemu.org | libguestfs.org