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>
This commit is contained in:
parent
4503e4b3b9
commit
d71ca35dfc
@ -688,46 +688,6 @@ Arguments:
|
||||
Returns: Nothing on success
|
||||
If "device" does not exist or cannot be determined, DeviceNotFound
|
||||
|
||||
query-fdsets
|
||||
-------------
|
||||
|
||||
Return information describing all fd sets.
|
||||
|
||||
Arguments: None
|
||||
|
||||
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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Note: The list of fd sets is shared by all monitor connections.
|
||||
|
||||
block_passwd
|
||||
------------
|
||||
|
||||
|
@ -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'] }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user