Signed-off-by: Marc-André Lureau <[email protected]>
---
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