aboutsummaryrefslogtreecommitdiff
path: root/qapi/block-core.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 14:13:07 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:45 +0100
commit1cf75113f8955e8d2b3aa07fc11fb3a193bafd51 (patch)
treed1e9763936e2d6fc21976ab70ea1c372f07c52f9 /qapi/block-core.json
parentb03364126c63d1565197850531f9ff8bfbb1cc1b (diff)
qmp-commands: move 'blockdev-backup' 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.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index e7c0dff8f3..d1f81551fb 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1368,6 +1368,14 @@
# If @device is not a valid block device, DeviceNotFound
#
# Since: 2.3
+#
+# Example:
+# -> { "execute": "blockdev-backup",
+# "arguments": { "device": "src-id",
+# "sync": "full",
+# "target": "tgt-id" } }
+# <- { "return": {} }
+#
##
{ 'command': 'blockdev-backup', 'boxed': true,
'data': 'BlockdevBackup' }