diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 10:57:59 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:26 +0100 |
commit | fdf4d34f8398099431888d3f7522a7b71df0ba58 (patch) | |
tree | 807ee1e84966df7444d9257f09b2a0231a3f999c /qapi-schema.json | |
parent | 5c5bee64187269d9ae6deb122626920a963b0f2f (diff) |
qmp-commands: move 'query-iothreads' 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.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index bf1788d5f9..2e5375da1b 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1386,6 +1386,22 @@ # Returns: a list of @IOThreadInfo for each iothread # # Since: 2.0 +# +# Example: +# +# -> { "execute": "query-iothreads" } +# <- { "return": [ +# { +# "id":"iothread0", +# "thread-id":3134 +# }, +# { +# "id":"iothread1", +# "thread-id":3135 +# } +# ] +# } +# ## { 'command': 'query-iothreads', 'returns': ['IOThreadInfo'] } |