aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:32:39 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commitf6235a256f92da7be62af66e5ec49381a731a421 (patch)
tree900decaeb64e9129bb0e38b6359abaaa147db6a8 /qapi
parentbd77ea2e5ace7282ce2f1c523c60e5c4c6b44177 (diff)
qmp-commands: move 'blockdev-mirror' 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.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 2611b365b3..a0d52ec809 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1674,6 +1674,15 @@
# Returns: nothing on success.
#
# Since: 2.6
+#
+# Example:
+#
+# -> { "execute": "blockdev-mirror",
+# "arguments": { "device": "ide-hd0",
+# "target": "target0",
+# "sync": "full" } }
+# <- { "return": {} }
+#
##
{ 'command': 'blockdev-mirror',
'data': { '*job-id': 'str', 'device': 'str', 'target': 'str',