qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 25/30] qmp-commands: move 'netdev_del' doc to schema


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 25/30] qmp-commands: move 'netdev_del' doc to schema
Date: Thu, 22 Sep 2016 13:23:00 +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 d41a60a..0bc2b1a 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -193,21 +193,6 @@ Example:
 <- { "return": { "status": "active", "completed": 1024000,
                  "total": 2048000 } }
 
-netdev_del
-----------
-
-Remove host network device.
-
-Arguments:
-
-- "id": the device's ID, must be unique (json-string)
-
-Example:
-
--> { "execute": "netdev_del", "arguments": { "id": "netdev1" } }
-<- { "return": {} }
-
-
 object-add
 ----------
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 37df72b..23da2d9 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3271,6 +3271,12 @@
 #          If @id is not a valid network backend, DeviceNotFound
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "netdev_del", "arguments": { "id": "netdev1" } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'netdev_del', 'data': {'id': 'str'} }
 
-- 
2.10.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]