aboutsummaryrefslogtreecommitdiff
path: root/qapi/block-core.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 14:11:47 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:45 +0100
commitb03364126c63d1565197850531f9ff8bfbb1cc1b (patch)
tree949141573e025439b5d4a27ce2153c4c942a49fd /qapi/block-core.json
parentf44fb58f354724d7fca84ff829fbebfb53468b96 (diff)
qmp-commands: move 'drive-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.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 7730cef125..e7c0dff8f3 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1340,6 +1340,15 @@
# If @device is not a valid block device, GenericError
#
# Since: 1.6
+#
+# Example:
+#
+# -> { "execute": "drive-backup",
+# "arguments": { "device": "drive0",
+# "sync": "full",
+# "target": "backup.img" } }
+# <- { "return": {} }
+#
##
{ 'command': 'drive-backup', 'boxed': true,
'data': 'DriveBackup' }