]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - qapi/block-core.json
qapi: Add '@allow-write-only-overlay' feature for 'blockdev-snapshot'
[thirdparty/qemu.git] / qapi / block-core.json
index 9758fc48d230049b4cfc8d94f2d5d718570a3c38..91586fb1fb896430795abfab5518b2ae6d97a678 100644 (file)
 #
 # For the arguments, see the documentation of BlockdevSnapshot.
 #
+# Features:
+# @allow-write-only-overlay: If present, the check whether this operation is safe
+#                            was relaxed so that it can be used to change
+#                            backing file of a destination of a blockdev-mirror.
+#                            (since 5.0)
+#
 # Since: 2.5
 #
 # Example:
 #
 ##
 { 'command': 'blockdev-snapshot',
-  'data': 'BlockdevSnapshot' }
+  'data': 'BlockdevSnapshot',
+  'features': [ 'allow-write-only-overlay' ] }
 
 ##
 # @change-backing-file: