From 0ed90f77e833037c126f5e5e76956d256a655e5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 10:10:54 +0200 Subject: [PATCH] qmp-commands: move 'query-uuid' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 14 -------------- 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' } -- 2.11.0