aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/qmp-commands.txt14
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 393e2280bf..e5ac6a162c 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1252,20 +1252,6 @@ Example:
-> { "execute": "query-tpm-types" }
<- { "return": [ "passthrough" ] }
-chardev-remove
---------------
-
-Remove a chardev.
-
-Arguments:
-
-- "id": the chardev's ID, must exist and not be in use (json-string)
-
-Example:
-
--> { "execute": "chardev-remove", "arguments": { "id" : "foo" } }
-<- { "return": {} }
-
query-rx-filter
---------------
diff --git a/qapi-schema.json b/qapi-schema.json
index 9b6a8d35b8..e213873e0c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4873,6 +4873,12 @@
# Returns: Nothing on success
#
# Since: 1.4
+#
+# Example:
+#
+# -> { "execute": "chardev-remove", "arguments": { "id" : "foo" } }
+# <- { "return": {} }
+#
##
{ 'command': 'chardev-remove', 'data': {'id': 'str'} }