summaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 14:01:09 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:45 +0100
commit91f96b643c43cf8253d383f505f10737e3149ca2 (patch)
treee98885c0a4a7e95287fa4703d3d743d19f7dfaf3 /qapi
parentf2eaea1884c1e2abc226f8eae1d3cfc760de70f2 (diff)
downloadqemu-91f96b643c43cf8253d383f505f10737e3149ca2.tar.gz
qmp-commands: move 'block_passwd' 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.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 4a90df446c..439463dec5 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -971,6 +971,13 @@
# occur if an invalid password is specified.
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "block_passwd", "arguments": { "device": "ide0-hd0",
+# "password": "12345" } }
+# <- { "return": {} }
+#
##
{ 'command': 'block_passwd', 'data': {'*device': 'str',
'*node-name': 'str', 'password': 'str'} }