aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 10:10:54 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:25 +0100
commit0ed90f77e833037c126f5e5e76956d256a655e5f (patch)
tree04ec675c9a230a82b1ec87340ccac3c2730edcad
parent477bc1e4f18acccdd76bed12cbb0b980603fe5ae (diff)
downloadqemu-0ed90f77e833037c126f5e5e76956d256a655e5f.zip
qemu-0ed90f77e833037c126f5e5e76956d256a655e5f.tar.gz
qemu-0ed90f77e833037c126f5e5e76956d256a655e5f.tar.bz2
qmp-commands: move 'query-uuid' 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.json8
2 files changed, 7 insertions, 15 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 47ae840..ab0e38c 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -2561,20 +2561,6 @@ Example:
}
}
-query-uuid
-----------
-
-Show VM UUID.
-
-Return a json-object with the following information:
-
-- "UUID": Universally Unique Identifier (json-string)
-
-Example:
-
--> { "execute": "query-uuid" }
-<- { "return": { "UUID": "550e8400-e29b-41d4-a716-446655440000" } }
-
query-command-line-options
--------------------------
diff --git a/qapi-schema.json b/qapi-schema.json
index 5a8975d..12014a2 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -250,7 +250,7 @@
##
# @UuidInfo:
#
-# Guest UUID information.
+# Guest UUID information (Universally Unique Identifier).
#
# @UUID: the UUID of the guest
#
@@ -268,6 +268,12 @@
# Returns: The @UuidInfo for the guest
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "query-uuid" }
+# <- { "return": { "UUID": "550e8400-e29b-41d4-a716-446655440000" } }
+#
##
{ 'command': 'query-uuid', 'returns': 'UuidInfo' }