summaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:39:42 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:29 +0100
commit4503e4b3b90b8095e267b7791c8ce5194d6396e3 (patch)
tree0df46eac116150db16da9a2fa1b723191cca65d2 /qapi-schema.json
parent43fef34a2938c2feda5b668bba01a7fb01a19308 (diff)
downloadqemu-4503e4b3b90b8095e267b7791c8ce5194d6396e3.tar.gz
qmp-commands: move 'remove-fd' 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 35a2399cf1..b57f4dde56 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4411,6 +4411,12 @@
#
# If @fd is not specified, all file descriptors in @fdset-id
# will be removed.
+#
+# Example:
+#
+# -> { "execute": "remove-fd", "arguments": { "fdset-id": 1, "fd": 3 } }
+# <- { "return": {} }
+#
##
{ 'command': 'remove-fd', 'data': {'fdset-id': 'int', '*fd': 'int'} }