summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau2016-06-23 13:42:58 +0200
committerMarkus Armbruster2017-01-16 09:15:30 +0100
commit7cfee8d94367deee91776897c1b33ad99bd54fbf (patch)
treeff9df5f07226ba1fd0dc5c7b81044a4e6c1371e9 /qapi-schema.json
parentqmp-commands: move 'chardev-add' doc to schema (diff)
downloadqemu-7cfee8d94367deee91776897c1b33ad99bd54fbf.tar.gz
qemu-7cfee8d94367deee91776897c1b33ad99bd54fbf.tar.xz
qemu-7cfee8d94367deee91776897c1b33ad99bd54fbf.zip
qmp-commands: move 'chardev-remove' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json6
1 files changed, 6 insertions, 0 deletions
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'} }