diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 13:37:08 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:29 +0100 |
commit | f5ad8e87c737996abe5e61124dc07adb2b610dac (patch) | |
tree | 2526da2e7d0c7a1a2689d6961a93550f2e014d55 | |
parent | 179bf59a3aeccf2350e054e24a232a1b69e9a27b (diff) | |
download | qemu-f5ad8e87c737996abe5e61124dc07adb2b610dac.zip qemu-f5ad8e87c737996abe5e61124dc07adb2b610dac.tar.gz qemu-f5ad8e87c737996abe5e61124dc07adb2b610dac.tar.bz2 |
qmp-commands: move 'closefd' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r-- | docs/qmp-commands.txt | 14 | ||||
-rw-r--r-- | qapi-schema.json | 6 |
2 files changed, 6 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 483769c..d727f36 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -688,20 +688,6 @@ Arguments: Returns: Nothing on success If "device" does not exist or cannot be determined, DeviceNotFound -closefd -------- - -Close a file descriptor previously passed via SCM rights. - -Arguments: - -- "fdname": file descriptor name (json-string) - -Example: - --> { "execute": "closefd", "arguments": { "fdname": "fd1" } } -<- { "return": {} } - add-fd ------- diff --git a/qapi-schema.json b/qapi-schema.json index b4dacd4..b5c0136 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -4015,6 +4015,12 @@ # Returns: Nothing on success # # Since: 0.14.0 +# +# Example: +# +# -> { "execute": "closefd", "arguments": { "fdname": "fd1" } } +# <- { "return": {} } +# ## { 'command': 'closefd', 'data': {'fdname': 'str'} } |