diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 14:01:52 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:45 +0100 |
commit | 0dc869cf709368265bb5b7a5fe35b7e3b53a776e (patch) | |
tree | cf91cf08109b7dc7b4a9d35dc95414484de928f4 /qapi | |
parent | 91f96b643c43cf8253d383f505f10737e3149ca2 (diff) | |
download | qemu-0dc869cf709368265bb5b7a5fe35b7e3b53a776e.zip qemu-0dc869cf709368265bb5b7a5fe35b7e3b53a776e.tar.gz qemu-0dc869cf709368265bb5b7a5fe35b7e3b53a776e.tar.bz2 |
qmp-commands: move 'block_resize' 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')
-rw-r--r-- | qapi/block-core.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 439463d..d1bc2e5 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -999,6 +999,13 @@ # If @device is not a valid block device, DeviceNotFound # # Since: 0.14.0 +# +# Example: +# +# -> { "execute": "block_resize", +# "arguments": { "device": "scratch", "size": 1073741824 } } +# <- { "return": {} } +# ## { 'command': 'block_resize', 'data': { '*device': 'str', '*node-name': 'str', |