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
|
@ -167,15 +167,21 @@
|
|||
#
|
||||
# @id: #optional The name or QOM path of the guest device (since: 2.8)
|
||||
#
|
||||
# @force: @optional If true, eject regardless of whether the drive is locked.
|
||||
# @force: #optional If true, eject regardless of whether the drive is locked.
|
||||
# If not specified, the default value is false.
|
||||
#
|
||||
# Returns: Nothing on success
|
||||
#
|
||||
# If @device is not a valid block device, DeviceNotFound
|
||||
#
|
||||
# Notes: Ejecting a device will no media results in success
|
||||
# Notes: Ejecting a device with no media results in success
|
||||
#
|
||||
# Since: 0.14.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "eject", "arguments": { "device": "ide1-0-1" } }
|
||||
# <- { "return": {} }
|
||||
##
|
||||
{ 'command': 'eject',
|
||||
'data': { '*device': 'str',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue