aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-02-05 08:47:01 +0100
committerMarkus Armbruster <armbru@redhat.com>2024-02-12 10:04:31 +0100
commitab27bb03d3cfba492c842fbeca45a4a1f0d20833 (patch)
tree865f03d3f091d614503a423b85638b388a84bc9c
parent0cec50119f803723f608f6498975799ab35abf52 (diff)
downloadqemu-ab27bb03d3cfba492c842fbeca45a4a1f0d20833.zip
qemu-ab27bb03d3cfba492c842fbeca45a4a1f0d20833.tar.gz
qemu-ab27bb03d3cfba492c842fbeca45a4a1f0d20833.tar.bz2
qga/qapi-schema: Clean up documentation of guest-set-memory-blocks
The command's doc comment describes the argument, but it's not marked up as such. Easy enough to fix. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240205074709.3613229-8-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r--qga/qapi-schema.json19
1 files changed, 10 insertions, 9 deletions
diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index b9501c8..35bde36 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -43,7 +43,6 @@
'GuestDiskSmart',
'GuestDiskStatsInfo',
'GuestNVMeSmart',
- 'guest-set-memory-blocks',
'guest-set-vcpus' ] } }
##
@@ -1174,14 +1173,16 @@
# Attempt to reconfigure (currently: enable/disable) state of memory
# blocks inside the guest.
#
-# The input list is processed node by node in order. In each node
-# @phys-index is used to look up the guest MEMORY BLOCK, for which
-# @online specifies the requested state. The set of distinct
-# @phys-index's is only required to be a subset of the guest-supported
-# identifiers. There's no restriction on list length or on repeating
-# the same @phys-index (with possibly different @online field).
-# Preferably the input list should describe a modified subset of
-# @guest-get-memory-blocks' return value.
+# @mem-blks: The memory blocks to be reconfigured. This list is
+# processed node by node in order. In each node @phys-index is
+# used to look up the guest MEMORY BLOCK, for which @online
+# specifies the requested state. The set of distinct
+# @phys-index's is only required to be a subset of the
+# guest-supported identifiers. There's no restriction on list
+# length or on repeating the same @phys-index (with possibly
+# different @online field). Preferably the input list should
+# describe a modified subset of @guest-get-memory-blocks' return
+# value.
#
# Returns: The operation results, it is a list of
# @GuestMemoryBlockResponse, which is corresponding to the input