mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
qmp-commands: move 'eject' 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
b31177b028
commit
5fba0a72ec
2 changed files with 8 additions and 21 deletions
|
@ -53,25 +53,6 @@ If you're planning to adopt QMP, please observe the following:
|
|||
Server's responses in the examples below are always a success response, please
|
||||
refer to the QMP specification for more details on error responses.
|
||||
|
||||
eject
|
||||
-----
|
||||
|
||||
Eject a removable medium.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "force": force ejection (json-bool, optional)
|
||||
- "device": block device name (deprecated, use @id instead)
|
||||
(json-string, optional)
|
||||
- "id": the name or QOM path of the guest device (json-string, optional)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "eject", "arguments": { "id": "ide0-1-0" } }
|
||||
<- { "return": {} }
|
||||
|
||||
Note: The "force" argument defaults to false.
|
||||
|
||||
device_add
|
||||
----------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue