aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:04:10 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:27 +0100
commita7b83754aaff4e9dd012730e3060bfd2de9eee86 (patch)
treeab30a92c0e7131547da5862653b5ba28ace59d3f /qapi-schema.json
parent04fcbabc45d793b0ec0b38b56e1fa4a9257892e6 (diff)
qmp-commands: move 'cpu-add' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 2b72127d00..29ff705129 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2203,6 +2203,12 @@
# Returns: Nothing on success
#
# Since: 1.5
+#
+# Example:
+#
+# -> { "execute": "cpu-add", "arguments": { "id": 2 } }
+# <- { "return": {} }
+#
##
{ 'command': 'cpu-add', 'data': {'id': 'int'} }