aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 10:10:12 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:25 +0100
commit477bc1e4f18acccdd76bed12cbb0b980603fe5ae (patch)
tree261bc4d55c47831e3dcd2c09526127fd25121bb0 /qapi-schema.json
parentb4f65cd27a049632e77e258bb7503d49a9c54a70 (diff)
qmp-commands: move 'query-status' 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.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index f7ac9f09e3..5a8975dea3 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -236,6 +236,14 @@
# Returns: @StatusInfo reflecting all VCPUs
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "query-status" }
+# <- { "return": { "running": true,
+# "singlestep": false,
+# "status": "running" } }
+#
##
{ 'command': 'query-status', 'returns': 'StatusInfo' }