mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
qmp-commands: move 'block-set-write-threshold' 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
be3e83cb8a
commit
e817862b17
2 changed files with 14 additions and 21 deletions
|
@ -438,25 +438,6 @@ Example:
|
|||
-> { "execute": "trace-event-set-state", "arguments": { "name": "qemu_memalign", "enable": "true" } }
|
||||
<- { "return": {} }
|
||||
|
||||
block-set-write-threshold
|
||||
------------
|
||||
|
||||
Change the write threshold for a block drive. The threshold is an offset,
|
||||
thus must be non-negative. Default is no write threshold.
|
||||
Setting the threshold to zero disables it.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "node-name": the node name in the block driver state graph (json-string)
|
||||
- "write-threshold": the write threshold in bytes (json-int)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "block-set-write-threshold",
|
||||
"arguments": { "node-name": "mydev",
|
||||
"write-threshold": 17179869184 } }
|
||||
<- { "return": {} }
|
||||
|
||||
Show rocker switch
|
||||
------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue