aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 14:52:13 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:46 +0100
commit49b37c23c70ddfed6c39a105ee59d8f140dee8e4 (patch)
treece9745d4a4d8dace3bf3d0fa8c83faf59906dd8e /qapi
parentb4a0ac14e8944ca36a7e77033086b3fe5b751659 (diff)
qmp-commands: move 'block-stream' 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.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index f6e6667361..fba32219e3 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1883,7 +1883,17 @@
# 'stop' and 'enospc' can only be used if the block device
# supports io-status (see BlockInfo). Since 1.3.
#
+# Returns: Nothing on success. If @device does not exist, DeviceNotFound.
+#
# Since: 1.1
+#
+# Example:
+#
+# -> { "execute": "block-stream",
+# "arguments": { "device": "virtio0",
+# "base": "/tmp/master.qcow2" } }
+# <- { "return": {} }
+#
##
{ 'command': 'block-stream',
'data': { '*job-id': 'str', 'device': 'str', '*base': 'str',