diff options
author | BenoƮt Canet <benoit.canet@irqsave.net> | 2014-06-16 12:00:55 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-06-27 14:18:18 +0200 |
commit | 4c828dc61a0d729ae9bfa6fdee55558314135737 (patch) | |
tree | 96846720549c13f20e3c2d63123d39072aa4e764 /qapi | |
parent | cf29a570a7aa7abab66bf256fdf9540873590811 (diff) | |
download | qemu-4c828dc61a0d729ae9bfa6fdee55558314135737.zip qemu-4c828dc61a0d729ae9bfa6fdee55558314135737.tar.gz qemu-4c828dc61a0d729ae9bfa6fdee55558314135737.tar.bz2 |
block: Add node-name argument to drive-mirror
This new argument can be used to specify the node-name of the new mirrored BDS.
Signed-off-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index de31f9f..a46cdbe 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -765,6 +765,9 @@ # @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'. # @@ -797,6 +800,7 @@ ## { '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', |