qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] [PATCH v3 15/16] block/mirror: Add copy mo


From: Eric Blake
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH v3 15/16] block/mirror: Add copy mode QAPI interface
Date: Tue, 20 Mar 2018 12:35:23 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 02/28/2018 12:05 PM, Max Reitz wrote:
This patch allows the user to specify whether to use active or only
background mode for mirror block jobs.  Currently, this setting will
remain constant for the duration of the entire block job.

Signed-off-by: Max Reitz <address@hidden>
---
  qapi/block-core.json      | 11 +++++++++--
  include/block/block_int.h |  4 +++-
  block/mirror.c            | 12 +++++++-----
  blockdev.c                |  9 ++++++++-
  4 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/qapi/block-core.json b/qapi/block-core.json
index c73b769c27..1186c007ae 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1573,6 +1573,9 @@
  #         written. Both will result in identical contents.
  #         Default is true. (Since 2.4)
  #
+# @copy-mode: when to copy data to the destination; defaults to 'background'
+#             (Since: 2.12)
+#

Are we still aiming for 2.12, or is this a feature which missed softfreeze and should therefore be 2.13?

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]