From: Markus Armbruster Date: Wed, 11 Sep 2024 11:25:43 +0000 (+0200) Subject: qapi/rocker: Supply missing member documentation X-Git-Tag: v9.2.0-rc0~65^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c91f44ff1692bdb0e3c91b3db253c43491cbe993;p=thirdparty%2Fqemu.git qapi/rocker: Supply missing member documentation Since we neglect to document the argument of query-rocker and query-rocker-ports, their description in the QEMU QMP Reference manual is "Not documented". Fix that. Signed-off-by: Markus Armbruster Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240911112545.2248881-7-armbru@redhat.com> --- diff --git a/qapi/pragma.json b/qapi/pragma.json index baeae5bf527..feb79817000 100644 --- a/qapi/pragma.json +++ b/qapi/pragma.json @@ -78,9 +78,7 @@ 'X86CPURegister32', 'XDbgBlockGraph', 'YankInstanceType', - 'blockdev-reopen', - 'query-rocker', - 'query-rocker-ports' ], + 'blockdev-reopen' ], # Externally visible types whose member names may use uppercase 'member-name-exceptions': [ # visible in: 'ACPISlotType', # query-acpi-ospm-status diff --git a/qapi/rocker.json b/qapi/rocker.json index 73c7363b164..51aa5b49307 100644 --- a/qapi/rocker.json +++ b/qapi/rocker.json @@ -26,6 +26,8 @@ # # Return rocker switch information. # +# @name: switch name +# # Returns: @Rocker information # # Since: 2.4 @@ -94,6 +96,8 @@ # # Return rocker switch port information. # +# @name: port name +# # Returns: a list of @RockerPort information # # Since: 2.4