diff options
| author | Luiz Capitulino | 2011-09-21 19:31:51 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2011-10-04 16:02:57 +0200 |
| commit | aa9b79bcd813b399ad13e13b5db4e8b2e8787e4c (patch) | |
| tree | 31ca779e13e374c9a275aa8f44c80809bfff968a /qapi-schema.json | |
| parent | qapi: Convert query-chardev (diff) | |
| download | qemu-aa9b79bcd813b399ad13e13b5db4e8b2e8787e4c.tar.gz qemu-aa9b79bcd813b399ad13e13b5db4e8b2e8787e4c.tar.xz qemu-aa9b79bcd813b399ad13e13b5db4e8b2e8787e4c.zip | |
qapi: Convert query-commands
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
| -rw-r--r-- | qapi-schema.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index cf55504378..35434c1eb6 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -202,3 +202,26 @@ # Since: 0.14.0 ## { 'command': 'query-chardev', 'returns': ['ChardevInfo'] } + +## +# @CommandInfo: +# +# Information about a QMP command +# +# @name: The command name +# +# Since: 0.14.0 +## +{ 'type': 'CommandInfo', 'data': {'name': 'str'} } + +## +# @query-commands: +# +# Return a list of supported QMP commands by this server +# +# Returns: A list of @CommandInfo for all supported commands +# +# Since: 0.14.0 +## +{ 'command': 'query-commands', 'returns': ['CommandInfo'] } + |
