From: Marc-André Lureau Date: Thu, 23 Jun 2016 13:26:12 +0000 (+0200) Subject: qmp-commands: move 'query-gic-capabilities' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1965e98d51ebe4b1effbe11fa71c4cd483ae6383;p=qemu.git qmp-commands: move 'query-gic-capabilities' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- 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'] }