[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 02/30] qmp-commands: move 'query-name' doc to schema
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 02/30] qmp-commands: move 'query-name' doc to schema |
Date: |
Tue, 13 Sep 2016 17:01:41 +0400 |
Signed-off-by: Marc-André Lureau <address@hidden>
---
docs/qmp-commands.txt | 14 --------------
qapi-schema.json | 12 +++++++++---
2 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 2d65f24..4c9ccfb 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -2590,20 +2590,6 @@ Example:
}
}
-query-name
-----------
-
-Show VM name.
-
-Return a json-object with the following information:
-
-- "name": VM's name (json-string, optional)
-
-Example:
-
--> { "execute": "query-name" }
-<- { "return": { "name": "qemu-name" } }
-
query-uuid
----------
diff --git a/qapi-schema.json b/qapi-schema.json
index f0e2d2c..accb28b 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -102,9 +102,9 @@
#
# Guest name information.
#
-# @name: #optional The name of the guest
+# @name: #optional the name of the guest
#
-# Since 0.14.0
+# Since: 0.14.0
##
{ 'struct': 'NameInfo', 'data': {'*name': 'str'} }
@@ -115,7 +115,13 @@
#
# Returns: @NameInfo of the guest
#
-# Since 0.14.0
+# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "query-name" }
+# <- { "return": { "name": "qemu-name" } }
+#
##
{ 'command': 'query-name', 'returns': 'NameInfo' }
--
2.10.0
- [Qemu-devel] [PATCH 00/30] Move qapi documentation to schema (part 1/5), Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 01/30] qmp-commands: move 'add_client' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 02/30] qmp-commands: move 'query-name' doc to schema,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 03/30] qmp-commands: move 'query-kvm' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 05/30] qmp-commands: move 'query-uuid' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 04/30] qmp-commands: move 'query-status' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 06/30] qmp-commands: move 'query-chardev' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 07/30] qmp-commands: move 'query-chardev-backends' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 08/30] qmp-commands: move 'ringbuf-write' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 09/30] qmp-commands: move 'ringbuf-read' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 11/30] qmp-commands: move 'query-migrate' doc to schema, Marc-André Lureau, 2016/09/13
- [Qemu-devel] [PATCH 10/30] qmp-commands: move 'query-events' doc to schema, Marc-André Lureau, 2016/09/13