Skip to contentSkip to conversation

qga/qapi-schema: Drop "This is a read-only operation"

PATCH In review Markus Armbruster 2 participants 2 messages Sep 23

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qga/qapi-schema: Drop "This is a read-only operation"

Documentation of guest-get-vcpus and guest-get-memory-blocks has "This is a read-only operation". Similar commands don't. A "get" command that actually writes would be in surprisingly bad taste. Delete both instances of the sentence.

---
 qga/qapi-schema.json | 4 ----
 1 file changed, 4 deletions(-)
qga/qapi-schema.json +0 -4
index 8cd0ba048b..040c932310 100644
@@ -769,8 +769,6 @@
 #
 # Retrieve the list of the guest's logical processors.
 #
-# This is a read-only operation.
-#
 # Returns: The list of all VCPUs the guest knows about.  Each VCPU is
 #     put on the list exactly once, but their order is unspecified.
 #
@@ -1133,8 +1131,6 @@
 #
 # Retrieve the list of the guest's memory blocks.
 #
-# This is a read-only operation.
-#
 # Returns: The list of all memory blocks the guest knows about.  Each
 #     memory block is put on the list exactly once, but their order is
 #     unspecified.
Signature · 1 line
2.55.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 34 lines · Markus Armbruster

Documentation of guest-get-vcpus and guest-get-memory-blocks has "This is a read-only operation". Similar commands don't. A "get" command that actually writes would be in surprisingly bad taste. Delete both instances of the sentence.

---
 qga/qapi-schema.json | 4 ----
 1 file changed, 4 deletions(-)
qga/qapi-schema.json +0 -5
index 8cd0ba048b..040c932310 100644
@@ -769,8 +769,6 @@
 #
 # Retrieve the list of the guest's logical processors.
 #
-# This is a read-only operation.
-#
 # Returns: The list of all VCPUs the guest knows about.  Each VCPU is
 #     put on the list exactly once, but their order is unspecified.
 #
@@ -1133,8 +1131,6 @@
 #
 # Retrieve the list of the guest's memory blocks.
 #
-# This is a read-only operation.
-#
 # Returns: The list of all memory blocks the guest knows about.  Each
 #     memory block is put on the list exactly once, but their order is
 #     unspecified.
--
Quoted 2 lines

2.55.0

Sure, why not?