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'] }