diff options
author | Max Reitz <mreitz@redhat.com> | 2015-10-26 21:39:09 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-11-11 16:22:47 +0100 |
commit | abaaf59d245b6984644497b6745f88912c715c39 (patch) | |
tree | 203c4b635ec5ab0d27fe44f6d0767df2d5bcdddc /qapi | |
parent | 7d8a9f71b9ec9fa295265392218efaf0771d96e0 (diff) |
blockdev: Add blockdev-close-tray
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@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 b65ab81218..1cb719a4e1 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -1908,6 +1908,22 @@ 'data': { 'device': 'str', '*force': 'bool' } } +## +# @blockdev-close-tray: +# +# Closes a block device's tray. If there is a block driver state tree associated +# with the block device (which is currently ejected), that tree will be loaded +# as the medium. +# +# If the tray was already closed before, this will be a no-op. +# +# @device: block device name +# +# Since: 2.5 +## +{ 'command': 'blockdev-close-tray', + 'data': { 'device': 'str' } } + ## # @BlockErrorAction |