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>
This commit is contained in:
parent
179bf59a3a
commit
f5ad8e87c7
@ -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
|
||||
-------
|
||||
|
||||
|
@ -4015,6 +4015,12 @@
|
||||
# Returns: Nothing on success
|
||||
#
|
||||
# Since: 0.14.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "closefd", "arguments": { "fdname": "fd1" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'closefd', 'data': {'fdname': 'str'} }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user