]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qapi/block-core.json
block: Add node-name argument to drive-mirror
[mirror_qemu.git] / qapi / block-core.json
index de31f9fd542d1c8964b223620f23cb979033d848..a46cdbe6aa7979626e9c9ed4cd2cadd0ccabd191 100644 (file)
 # @format: #optional the format of the new destination, default is to
 #          probe if @mode is 'existing', else the format of the source
 #
+# @node-name: #optional the new block driver state node name in the graph
+#             (Since 2.1)
+#
 # @mode: #optional whether and how QEMU should create a new image, default is
 #        'absolute-paths'.
 #
 ##
 { 'command': 'drive-mirror',
   'data': { 'device': 'str', 'target': 'str', '*format': 'str',
+            '*node-name': 'str',
             'sync': 'MirrorSyncMode', '*mode': 'NewImageMode',
             '*speed': 'int', '*granularity': 'uint32',
             '*buf-size': 'int', '*on-source-error': 'BlockdevOnError',