[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/30] qmp-commands: move 'set_link' doc to schema
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 05/30] qmp-commands: move 'set_link' doc to schema |
Date: |
Thu, 22 Sep 2016 13:22:40 +0400 |
Signed-off-by: Marc-André Lureau <address@hidden>
---
docs/qmp-commands.txt | 15 ---------------
qapi-schema.json | 6 ++++++
2 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index c4caf9c..18a15dc 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1074,21 +1074,6 @@ Example:
-> { "execute": "balloon", "arguments": { "value": 536870912 } }
<- { "return": {} }
-set_link
---------
-
-Change the link status of a network adapter.
-
-Arguments:
-
-- "name": network device name (json-string)
-- "up": status is up (json-bool)
-
-Example:
-
--> { "execute": "set_link", "arguments": { "name": "e1000.0", "up": false } }
-<- { "return": {} }
-
getfd
-----
diff --git a/qapi-schema.json b/qapi-schema.json
index e8d6975..958b097 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2266,6 +2266,12 @@
# Notes: Not all network adapters support setting link status. This command
# will succeed even if the network adapter does not support link status
# notification.
+#
+# Example:
+#
+# -> { "execute": "set_link", "arguments": { "name": "e1000.0", "up": false } }
+# <- { "return": {} }
+#
##
{ 'command': 'set_link', 'data': {'name': 'str', 'up': 'bool'} }
--
2.10.0
- [Qemu-devel] [PATCH 00/30] Move qapi documentation to schema (part 2/5), Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 01/30] qmp-commands: move 'pmemsave' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 02/30] qmp-commands: move 'cont' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 03/30] qmp-commands: move 'system_wakeup' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 04/30] qmp-commands: move 'inject-nmi' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 05/30] qmp-commands: move 'set_link' doc to schema,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 06/30] qmp-commands: move 'balloon' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 07/30] qmp-commands: move 'transaction' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 08/30] qmp-commands: move 'human-monitor-command' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 09/30] qmp-commands: move 'migrate_cancel' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 10/30] qmp-commands: move 'migrate_set_downtime' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 11/30] qmp-commands: move 'migrate_set_speed' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 12/30] qmp-commands: move 'query-migrate-cache-size' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 13/30] qmp-commands: move 'set_password' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 14/30] qmp-commands: move 'expire_password' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 15/30] qmp-commands: move 'change' doc to schema, Marc-André Lureau, 2016/09/22