diff options
author | Max Reitz <mreitz@redhat.com> | 2015-10-26 21:39:10 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-11-11 16:22:47 +0100 |
commit | 2814f67271bce537f29c6a7832f89fd4f1cdaa1a (patch) | |
tree | d94904f6f9dbe9f8a4a3f6941cb076977f6b35ab /qapi | |
parent | abaaf59d245b6984644497b6745f88912c715c39 (diff) |
blockdev: Add blockdev-remove-medium
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 1cb719a4e1..e19e82cbaf 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -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 |