diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 10:10:54 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:25 +0100 |
commit | 0ed90f77e833037c126f5e5e76956d256a655e5f (patch) | |
tree | 04ec675c9a230a82b1ec87340ccac3c2730edcad | |
parent | 477bc1e4f18acccdd76bed12cbb0b980603fe5ae (diff) |
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.txt | 14 | ||||
-rw-r--r-- | qapi-schema.json | 8 |
2 files changed, 7 insertions, 15 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 47ae84011a..ab0e38c89f 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 5a8975dea3..12014a24fd 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' } |