Lines Matching +full:closed +full:- +full:loop
1 # -*- Mode: Python -*-
18 # fail and the FD will be closed.
21 # "@dbus-display" or the name of a character device (e.g. from
22 # -chardev id=XXXX)
33 # .. qmp-example::
35 # -> { "execute": "add_client", "arguments": { "protocol": "vnc",
37 # <- { "return": {} }
55 # @query-name:
63 # .. qmp-example::
65 # -> { "execute": "query-name" }
66 # <- { "return": { "name": "qemu-name" } }
68 { 'command': 'query-name', 'returns': 'NameInfo', 'allow-preconfig': true }
77 # @thread-id: ID of the underlying host thread
79 # @poll-max-ns: maximum polling time in ns, 0 means polling is
82 # @poll-grow: how many ns will be added to polling time, 0 means that
85 # @poll-shrink: how many ns will be removed from polling time, 0 means
88 # @aio-max-batch: maximum number of requests in a batch for the AIO
95 'thread-id': 'int',
96 'poll-max-ns': 'int',
97 'poll-grow': 'int',
98 'poll-shrink': 'int',
99 'aio-max-batch': 'int' } }
102 # @query-iothreads:
106 # .. note:: This list excludes the QEMU main loop thread, which is not
107 # declared using the ``-object iothread`` command-line option. It
114 # .. qmp-example::
116 # -> { "execute": "query-iothreads" }
117 # <- { "return": [
120 # "thread-id":3134
124 # "thread-id":3135
129 { 'command': 'query-iothreads', 'returns': ['IOThreadInfo'],
130 'allow-preconfig': true }
141 # guest remains paused once migration finishes, as if the ``-S``
147 # .. qmp-example::
149 # -> { "execute": "stop" }
150 # <- { "return": {} }
165 # the ``-S`` command line option if it was passed.
171 # .. qmp-example::
173 # -> { "execute": "cont" }
174 # <- { "return": {} }
179 # @x-exit-preconfig:
186 # only available during the preconfig state (i.e. when the --preconfig
195 # .. qmp-example::
197 # -> { "execute": "x-exit-preconfig" }
198 # <- { "return": {} }
200 { 'command': 'x-exit-preconfig', 'allow-preconfig': true,
204 # @human-monitor-command:
208 # @command-line: the command to execute in the human monitor
210 # @cpu-index: The CPU to use for commands that require an implicit CPU
214 # @savevm-monitor-nodes: If present, HMP command savevm only snapshots
215 # monitor-owned nodes if they have no parents. This allows the
216 # use of 'savevm' with -blockdev. (since 4.2)
222 # .. note:: This command only exists as a stop-gap. Its use is highly
235 # .. qmp-example::
237 # -> { "execute": "human-monitor-command",
238 # "arguments": { "command-line": "info kvm" } }
239 # <- { "return": "kvm support: enabled\r\n" }
241 { 'command': 'human-monitor-command',
242 'data': {'command-line': 'str', '*cpu-index': 'int'},
244 'features': [ 'savevm-monitor-nodes' ] }
256 # it will be closed and replaced by the received file descriptor.
261 # .. qmp-example::
263 # -> { "execute": "getfd", "arguments": { "fdname": "fd1" } }
264 # <- { "return": {} }
269 # @get-win32-socket:
283 # it will be closed and replaced by the received file descriptor.
288 # .. qmp-example::
290 # -> { "execute": "get-win32-socket",
292 # <- { "return": {} }
294 { 'command': 'get-win32-socket', 'data': {'info': 'str', 'fdname': 'str'}, 'if': 'CONFIG_WIN32' }
305 # .. qmp-example::
307 # -> { "execute": "closefd", "arguments": { "fdname": "fd1" } }
308 # <- { "return": {} }
317 # @fdset-id: The ID of the fd set that @fd was added to.
324 { 'struct': 'AddfdInfo', 'data': {'fdset-id': 'int', 'fd': 'int'} }
327 # @add-fd:
331 # @fdset-id: The ID of the fd set to add the file descriptor to.
333 # @opaque: A free-form string that can be used to describe the fd.
339 # - If file descriptor was not received, GenericError
340 # - If @fdset-id is a negative value, GenericError
344 # .. note:: If @fdset-id is not specified, a new fd set will be
349 # .. qmp-example::
351 # -> { "execute": "add-fd", "arguments": { "fdset-id": 1 } }
352 # <- { "return": { "fdset-id": 1, "fd": 3 } }
354 { 'command': 'add-fd',
355 'data': { '*fdset-id': 'int',
360 # @remove-fd:
364 # @fdset-id: The ID of the fd set that the file descriptor belongs to.
369 # - If @fdset-id or @fd is not found, GenericError
375 # .. note:: If @fd is not specified, all file descriptors in @fdset-id
378 # .. qmp-example::
380 # -> { "execute": "remove-fd", "arguments": { "fdset-id": 1, "fd": 3 } }
381 # <- { "return": {} }
383 { 'command': 'remove-fd', 'data': {'fdset-id': 'int', '*fd': 'int'} }
392 # @opaque: A free-form string that can be used to describe the fd.
404 # @fdset-id: The ID of the fd set.
411 'data': {'fdset-id': 'int', 'fds': ['FdsetFdInfo']} }
414 # @query-fdsets:
424 # .. qmp-example::
426 # -> { "execute": "query-fdsets" }
427 # <- { "return": [
439 # "fdset-id": 1
450 # "fdset-id": 0
455 { 'command': 'query-fdsets', 'returns': ['FdsetInfo'] }
513 # @query-command-line-options:
523 # - if the given @option doesn't exist
527 # .. qmp-example::
529 # -> { "execute": "query-command-line-options",
530 # "arguments": { "option": "option-rom" } }
531 # <- { "return": [
543 # "option": "option-rom"
548 {'command': 'query-command-line-options',
551 'allow-preconfig': true}
559 # -rtc base), and new RTC clock value
561 # @qom-path: path to the RTC object in the QOM tree
563 # .. note:: This event is rate-limited. It is not guaranteed that the
569 # .. qmp-example::
571 # <- { "event": "RTC_CHANGE",
576 'data': { 'offset': 'int', 'qom-path': 'str' } }
584 # @vfu-id: ID of the TYPE_VFIO_USER_SERVER object. It is the last
585 # component of @vfu-qom-path referenced below
587 # @vfu-qom-path: path to the TYPE_VFIO_USER_SERVER object in the QOM
590 # @dev-id: ID of attached PCI device
592 # @dev-qom-path: path to attached PCI device in the QOM tree
596 # .. qmp-example::
598 # <- { "event": "VFU_CLIENT_HANGUP",
599 # "data": { "vfu-id": "vfu1",
600 # "vfu-qom-path": "/objects/vfu1",
601 # "dev-id": "sas1",
602 # "dev-qom-path": "/machine/peripheral/sas1" },
606 'data': { 'vfu-id': 'str', 'vfu-qom-path': 'str',
607 'dev-id': 'str', 'dev-qom-path': 'str' } }