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>
This commit is contained in:
Marc-André Lureau 2016-06-23 10:10:54 +02:00 committed by Markus Armbruster
parent 477bc1e4f1
commit 0ed90f77e8
2 changed files with 7 additions and 15 deletions

View File

@ -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
--------------------------

View File

@ -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' }