summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau2016-06-23 13:35:51 +0200
committerMarkus Armbruster2017-01-16 09:15:29 +0100
commit179bf59a3aeccf2350e054e24a232a1b69e9a27b (patch)
tree5804bb5ad477cd71a5954c61ee306ae012719ccb /qapi-schema.json
parentqmp-commands: move 'object-del' doc to schema (diff)
downloadqemu-179bf59a3aeccf2350e054e24a232a1b69e9a27b.tar.gz
qemu-179bf59a3aeccf2350e054e24a232a1b69e9a27b.tar.xz
qemu-179bf59a3aeccf2350e054e24a232a1b69e9a27b.zip
qmp-commands: move 'getfd' 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.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index f4084638d5..b4dacd415d 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3993,8 +3993,15 @@
# Notes: If @fdname already exists, the file descriptor assigned to
# it will be closed and replaced by the received file
# descriptor.
+#
# The 'closefd' command can be used to explicitly close the
# file descriptor when it is no longer needed.
+#
+# Example:
+#
+# -> { "execute": "getfd", "arguments": { "fdname": "fd1" } }
+# <- { "return": {} }
+#
##
{ 'command': 'getfd', 'data': {'fdname': 'str'} }