mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qmp-commands: move 'add-fd' 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
f5ad8e87c7
commit
43fef34a29
2 changed files with 8 additions and 28 deletions
|
@ -688,34 +688,6 @@ Arguments:
|
|||
Returns: Nothing on success
|
||||
If "device" does not exist or cannot be determined, DeviceNotFound
|
||||
|
||||
add-fd
|
||||
-------
|
||||
|
||||
Add a file descriptor, that was passed via SCM rights, to an fd set.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "fdset-id": The ID of the fd set to add the file descriptor to.
|
||||
(json-int, optional)
|
||||
- "opaque": A free-form string that can be used to describe the fd.
|
||||
(json-string, optional)
|
||||
|
||||
Return a json-object with the following information:
|
||||
|
||||
- "fdset-id": The ID of the fd set that the fd was added to. (json-int)
|
||||
- "fd": The file descriptor that was received via SCM rights and added to the
|
||||
fd set. (json-int)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "add-fd", "arguments": { "fdset-id": 1 } }
|
||||
<- { "return": { "fdset-id": 1, "fd": 3 } }
|
||||
|
||||
Notes:
|
||||
|
||||
(1) The list of fd sets is shared by all monitor connections.
|
||||
(2) If "fdset-id" is not specified, a new fd set will be created.
|
||||
|
||||
remove-fd
|
||||
---------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue