summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau2016-06-23 13:40:29 +0200
committerMarkus Armbruster2017-01-16 09:15:29 +0100
commitd71ca35dfc3da867fc25d2db4beb923b81669e35 (patch)
tree68085034e66290dd95c38400454070c9dad4b35c /qapi-schema.json
parentqmp-commands: move 'remove-fd' doc to schema (diff)
downloadqemu-d71ca35dfc3da867fc25d2db4beb923b81669e35.tar.gz
qemu-d71ca35dfc3da867fc25d2db4beb923b81669e35.tar.xz
qemu-d71ca35dfc3da867fc25d2db4beb923b81669e35.zip
qmp-commands: move 'query-fdsets' 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.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index b57f4dde56..cf3b9411ac 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4459,6 +4459,37 @@
#
# Note: The list of fd sets is shared by all monitor connections.
#
+# Example:
+#
+# -> { "execute": "query-fdsets" }
+# <- { "return": [
+# {
+# "fds": [
+# {
+# "fd": 30,
+# "opaque": "rdonly:/path/to/file"
+# },
+# {
+# "fd": 24,
+# "opaque": "rdwr:/path/to/file"
+# }
+# ],
+# "fdset-id": 1
+# },
+# {
+# "fds": [
+# {
+# "fd": 28
+# },
+# {
+# "fd": 29
+# }
+# ],
+# "fdset-id": 0
+# }
+# ]
+# }
+#
##
{ 'command': 'query-fdsets', 'returns': ['FdsetInfo'] }