qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 29/30] qmp-commands: move 'cpu-add' doc to schema


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 29/30] qmp-commands: move 'cpu-add' doc to schema
Date: Tue, 13 Sep 2016 17:02:08 +0400

Signed-off-by: Marc-André Lureau <address@hidden>
---
 docs/qmp-commands.txt | 14 --------------
 qapi-schema.json      |  5 +++++
 2 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 5b562df..2a47041 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -217,20 +217,6 @@ Example:
 
 Note: CPUs' indexes are obtained with the 'query-cpus' command.
 
-cpu-add
--------
-
-Adds virtual cpu
-
-Arguments:
-
-- "id": cpu id (json-int)
-
-Example:
-
--> { "execute": "cpu-add", "arguments": { "id": 2 } }
-<- { "return": {} }
-
 memsave
 -------
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 13a1417..4a8c5d7 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2118,6 +2118,11 @@
 # Returns: Nothing on success
 #
 # Since 1.5
+#
+# Example:
+#
+# -> { "execute": "cpu-add", "arguments": { "id": 2 } }
+# <- { "return": {} }
 ##
 { 'command': 'cpu-add', 'data': {'id': 'int'} }
 
-- 
2.10.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]