aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 10:07:26 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:25 +0100
commit3aa4c6cd3932f5606f2faa59e5d7a45fe12417bb (patch)
tree009c525fc3d9e7bb4aea80292eca3d9a6f8e5bca
parent65ce54f5e2abe58b6447457e1453a517ba8c91f8 (diff)
downloadqemu-3aa4c6cd3932f5606f2faa59e5d7a45fe12417bb.zip
qemu-3aa4c6cd3932f5606f2faa59e5d7a45fe12417bb.tar.gz
qemu-3aa4c6cd3932f5606f2faa59e5d7a45fe12417bb.tar.bz2
qmp-commands: move 'query-name' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-commands.txt14
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index a259428..ceee41f 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -2607,20 +2607,6 @@ Example:
}
}
-query-name
-----------
-
-Show VM name.
-
-Return a json-object with the following information:
-
-- "name": VM's name (json-string, optional)
-
-Example:
-
--> { "execute": "query-name" }
-<- { "return": { "name": "qemu-name" } }
-
query-uuid
----------
diff --git a/qapi-schema.json b/qapi-schema.json
index a24e179..e6d7063 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -120,6 +120,12 @@
# Returns: @NameInfo of the guest
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "query-name" }
+# <- { "return": { "name": "qemu-name" } }
+#
##
{ 'command': 'query-name', 'returns': 'NameInfo' }