diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 14:56:09 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:46 +0100 |
commit | 1133b1d674469d8dd5e2e02e5cf8f288ca8bf500 (patch) | |
tree | 5ae3502103126eddaa68973d793273302d19311a /qapi/block-core.json | |
parent | 915a213f7a0fe5c7551df8ce54714baf3dd60929 (diff) |
qmp-commands: move 'blockdev-open-tray' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi/block-core.json')
-rw-r--r-- | qapi/block-core.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 72fa6e0839..64b5ce7e66 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -2939,6 +2939,21 @@ # it is locked # # Since: 2.5 +# +# Example: +# +# -> { "execute": "blockdev-open-tray", +# "arguments": { "id": "ide0-1-0" } } +# +# <- { "timestamp": { "seconds": 1418751016, +# "microseconds": 716996 }, +# "event": "DEVICE_TRAY_MOVED", +# "data": { "device": "ide1-cd0", +# "id": "ide0-1-0", +# "tray-open": true } } +# +# <- { "return": {} } +# ## { 'command': 'blockdev-open-tray', 'data': { '*device': 'str', |