aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:26:12 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commit1965e98d51ebe4b1effbe11fa71c4cd483ae6383 (patch)
treef02bde8f05e8cbb0ed1f1b5244ed0691bbbc10c4
parent7e31d1ae454aeb5b53997b8a3134edeac4d9b19f (diff)
qmp-commands: move 'query-gic-capabilities' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-commands.txt14
-rw-r--r--qapi-schema.json7
2 files changed, 7 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 321f07d3f1..be17705680 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -260,17 +260,3 @@ Delete a quorum's node
"arguments": { "parent": "disk1",
"child": "children.1" } }
<- { "return": {} }
-
-query-gic-capabilities
----------------
-
-Return a list of GICCapability objects, describing supported GIC
-(Generic Interrupt Controller) versions.
-
-Arguments: None
-
-Example:
-
--> { "execute": "query-gic-capabilities" }
-<- { "return": [{ "version": 2, "emulated": true, "kernel": false },
- { "version": 3, "emulated": false, "kernel": true } ] }
diff --git a/qapi-schema.json b/qapi-schema.json
index 15dd07b85e..dbfb592c8c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -5854,6 +5854,13 @@
# Returns: a list of GICCapability objects.
#
# Since: 2.6
+#
+# Example:
+#
+# -> { "execute": "query-gic-capabilities" }
+# <- { "return": [{ "version": 2, "emulated": true, "kernel": false },
+# { "version": 3, "emulated": false, "kernel": true } ] }
+#
##
{ 'command': 'query-gic-capabilities', 'returns': ['GICCapability'] }