Received: from eggs.gnu.org ([2001:4830:134:3::10]:47891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnMA-0004Mn-Hl for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:02:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjnM8-0004K0-OB for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:02:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnM8-0004Jk-JJ for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:02:32 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 18C30C05AA42 for ; Tue, 13 Sep 2016 13:02:31 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 13 Sep 2016 17:01:44 +0400 Message-Id: <20160913130209.695-6-marcandre.lureau@redhat.com> In-Reply-To: <20160913130209.695-1-marcandre.lureau@redhat.com> References: <20160913130209.695-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 05/30] qmp-commands: move 'query-uuid' doc to schema List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, armbru@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Signed-off-by: Marc-Andr=C3=A9 Lureau --- 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 6f6db87..6814bd5 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -2544,20 +2544,6 @@ Example: } } =20 -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 -------------------------- =20 diff --git a/qapi-schema.json b/qapi-schema.json index 008a7f9..60007f1 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -240,7 +240,7 @@ ## # @UuidInfo: # -# Guest UUID information. +# Guest UUID information (Universally Unique Identifier). # # @UUID: the UUID of the guest # @@ -258,6 +258,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' } =20 --=20 2.10.0