diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 14:59:33 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:46 +0100 |
commit | b480abf3b8e77ff43179ea3e980da4254aa89c57 (patch) | |
tree | dbd64f3759c94a551f44ffd37b153d671251dcb6 /qapi/block-core.json | |
parent | 8e1c14295c88c33647baddeb49168c98158480dd (diff) | |
download | qemu-b480abf3b8e77ff43179ea3e980da4254aa89c57.zip |
qmp-commands: move 'x-blockdev-insert-medium' 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 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 7fb2f11bcd..94a170af91 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -3059,6 +3059,23 @@ # Stay away from it unless you want to help with its development. # # Since: 2.5 +# +# Example: +# +# -> { "execute": "blockdev-add", +# "arguments": { +# "options": { "node-name": "node0", +# "driver": "raw", +# "file": { "driver": "file", +# "filename": "fedora.iso" } } } } +# <- { "return": {} } +# +# -> { "execute": "x-blockdev-insert-medium", +# "arguments": { "id": "ide0-1-0", +# "node-name": "node0" } } +# +# <- { "return": {} } +# ## { 'command': 'x-blockdev-insert-medium', 'data': { '*device': 'str', |