aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2025-05-27 09:39:08 +0200
committerMarkus Armbruster <armbru@redhat.com>2025-06-03 08:34:56 +0200
commit2e2309b6be074a2087afc3aedabcee722fcd512f (patch)
treeba6b1d577195e9ba3439de4afd73d2ad7b22f72e
parentc1a6aa1d443e17e1902417ee2e531394eaf4c2d4 (diff)
downloadqemu-2e2309b6be074a2087afc3aedabcee722fcd512f.zip
qemu-2e2309b6be074a2087afc3aedabcee722fcd512f.tar.gz
qemu-2e2309b6be074a2087afc3aedabcee722fcd512f.tar.bz2
qapi: Drop a problematic (Since: 2.11) from query-hotpluggable-cpus
There is a (Since: 2.11) in a query-hotpluggable-cpus example. Versioning information ought to be in the command description, not examples. The command description is basically empty (there is a TODO about it). What exactly didn't work before 2.11 is not quite clear from the documentation. The example was added in commit 4dc3b151882 (s390x: implement query-hotpluggable-cpus), which suggests the command failed for the s390x target until then. This was almost eight years ago, and I doubt anyone still cares about this detail. Simply delete the problematic (Since: 2.11). Cc: David Hildenbrand <david@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20250527073916.1243024-6-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
-rw-r--r--qapi/machine.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/machine.json b/qapi/machine.json
index 5eb67fc..230b9b2 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -1089,7 +1089,7 @@
# :annotated:
#
# For s390x-virtio-ccw machine type started with
-# ``-smp 1,maxcpus=2 -cpu qemu`` (Since: 2.11)::
+# ``-smp 1,maxcpus=2 -cpu qemu``::
#
# -> { "execute": "query-hotpluggable-cpus" }
# <- {"return": [