aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/qmp-commands.txt15
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 15 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 9d1a92abbf..9e26cfe970 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -205,21 +205,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 95ed7d595c..4cb639f3fc 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3366,6 +3366,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'} }