mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
blockdev: Add blockdev-remove-medium
Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
abaaf59d24
commit
2814f67271
3 changed files with 112 additions and 0 deletions
|
@ -1924,6 +1924,22 @@
|
|||
{ 'command': 'blockdev-close-tray',
|
||||
'data': { 'device': 'str' } }
|
||||
|
||||
##
|
||||
# @blockdev-remove-medium:
|
||||
#
|
||||
# Removes a medium (a block driver state tree) from a block device. That block
|
||||
# device's tray must currently be open (unless there is no attached guest
|
||||
# device).
|
||||
#
|
||||
# If the tray is open and there is no medium inserted, this will be a no-op.
|
||||
#
|
||||
# @device: block device name
|
||||
#
|
||||
# Since: 2.5
|
||||
##
|
||||
{ 'command': 'blockdev-remove-medium',
|
||||
'data': { 'device': 'str' } }
|
||||
|
||||
|
||||
##
|
||||
# @BlockErrorAction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue