]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qapi-schema.json
Merge remote-tracking branch 'quintela/migration.next' into staging
[mirror_qemu.git] / qapi-schema.json
index 35095ff0b3d4a5d7c681de880890153ea594381e..7b9fef1bd198ff82fc2f5fb807de6fefd09760db 100644 (file)
 # @format: #optional the format of the new destination, default is to
 #          probe if @mode is 'existing', else the format of the source
 #
+# @sync: what parts of the disk image should be copied to the destination
+#        (all the disk, only the sectors allocated in the topmost image, or
+#        only new I/O).
+#
 # @mode: #optional whether and how QEMU should create a new image, default is
 #        'absolute-paths'.
 #
 ##
 { 'type': 'DriveBackup',
   'data': { 'device': 'str', 'target': 'str', '*format': 'str',
-            '*mode': 'NewImageMode', '*speed': 'int',
+            'sync': 'MirrorSyncMode', '*mode': 'NewImageMode',
+            '*speed': 'int',
             '*on-source-error': 'BlockdevOnError',
             '*on-target-error': 'BlockdevOnError' } }