[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/18] qga/qapi-schema: Fix guest-set-memory-blocks documentation
From: |
Markus Armbruster |
Subject: |
[PULL 12/18] qga/qapi-schema: Fix guest-set-memory-blocks documentation |
Date: |
Mon, 4 Mar 2024 07:32:30 +0100 |
Documentation claims the command can "return NULL". "NULL" doesn't
exist in JSON. "null" does, but the command returns lists, and null
isn't. Correct documentation to "return an empty list".
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240227113921.236097-13-armbru@redhat.com>
---
qga/qapi-schema.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index 2ea1022092..9554b566a7 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -1176,9 +1176,9 @@
# @GuestMemoryBlockResponse, which is corresponding to the input
# list.
#
-# Note: it will return NULL if the @mem-blks list was empty on
-# input, or there is an error, and in this case, guest state will
-# not be changed.
+# Note: it will return an empty list if the @mem-blks list was
+# empty on input, or there is an error, and in this case, guest
+# state will not be changed.
#
# Since: 2.3
##
--
2.44.0
- [PULL 00/18] QAPI patches patches for 2024-03-04, Markus Armbruster, 2024/03/04
- [PULL 01/18] qapi: Memorize since & returns sections, Markus Armbruster, 2024/03/04
- [PULL 02/18] qapi: Slightly clearer error message for invalid "Returns" section, Markus Armbruster, 2024/03/04
- [PULL 03/18] qapi: New documentation section tag "Errors", Markus Armbruster, 2024/03/04
- [PULL 09/18] qga/qapi-schema: Delete useless "Returns" sections, Markus Armbruster, 2024/03/04
- [PULL 12/18] qga/qapi-schema: Fix guest-set-memory-blocks documentation,
Markus Armbruster <=
- [PULL 14/18] docs/devel/writing-monitor-commands: Repair a decade of rot, Markus Armbruster, 2024/03/04
- [PULL 17/18] qapi: New strv_from_str_list(), Markus Armbruster, 2024/03/04
- [PULL 10/18] qga/qapi-schema: Clean up "Returns" sections, Markus Armbruster, 2024/03/04
- [PULL 08/18] qga/qapi-schema: Move error documentation to new "Errors" sections, Markus Armbruster, 2024/03/04
- [PULL 16/18] qapi: New QAPI_LIST_LENGTH(), Markus Armbruster, 2024/03/04
- [PULL 05/18] qapi: Delete useless "Returns" sections, Markus Armbruster, 2024/03/04
- [PULL 11/18] qga/qapi-schema: Tweak documentation of fsfreeze commands, Markus Armbruster, 2024/03/04
- [PULL 07/18] qapi/yank: Tweak @yank's error description for consistency, Markus Armbruster, 2024/03/04
- [PULL 06/18] qapi: Clean up "Returns" sections, Markus Armbruster, 2024/03/04
- [PULL 15/18] docs/devel/writing-monitor-commands: Minor improvements, Markus Armbruster, 2024/03/04