Received: from eggs.gnu.org ([2001:4830:134:3::10]:53667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtzTp-0003xi-K0 for qemu-devel@nongnu.org; Mon, 09 Jun 2014 09:19:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtzTe-0002th-Se for qemu-devel@nongnu.org; Mon, 09 Jun 2014 09:19:17 -0400 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:39402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtzTe-0002tP-Mz for qemu-devel@nongnu.org; Mon, 09 Jun 2014 09:19:06 -0400 Received: by mail-wg0-f51.google.com with SMTP id x12so3159004wgg.22 for ; Mon, 09 Jun 2014 06:19:05 -0700 (PDT) Date: Mon, 9 Jun 2014 15:19:02 +0200 From: Stefan Hajnoczi Message-ID: <20140609131902.GB19546@stefanha-thinkpad.redhat.com> References: <1402068028-18089-1-git-send-email-benoit.canet@irqsave.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kXdP64Ggrk/fb43R" Content-Disposition: inline In-Reply-To: <1402068028-18089-1-git-send-email-benoit.canet@irqsave.net> Subject: Re: [Qemu-devel] [PATCH v6 0/3] Quorum maintainance operations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Beno=EEt?= Canet Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, mreitz@redhat.com --kXdP64Ggrk/fb43R Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 06, 2014 at 05:20:25PM +0200, Beno=EEt Canet wrote: > in V6: > rebased on latest Stefanha's block branch >=20 > Beno=EEt Canet (3): > quorum: Add the rewrite-corrupted parameter to quorum. > block: Add drive-mirror-replace command > qemu-iotests: Add 096 new test for drive-mirror-replace. >=20 > block.c | 8 +- > block/mirror.c | 118 +++++++++++++++++++++- > block/quorum.c | 97 ++++++++++++++++-- > blockdev.c | 27 +++++ > include/block/block.h | 3 + > include/block/block_int.h | 15 +++ > qapi/block-core.json | 38 +++++++- > qmp-commands.hx | 5 + > tests/qemu-iotests/041 | 34 +------ > tests/qemu-iotests/081 | 15 ++- > tests/qemu-iotests/081.out | 10 ++ > tests/qemu-iotests/096 | 222 ++++++++++++++++++++++++++++++++++++= ++++++ > tests/qemu-iotests/096.out | 5 + > tests/qemu-iotests/group | 1 + > tests/qemu-iotests/iotests.py | 33 +++++++ > trace-events | 1 + > 16 files changed, 585 insertions(+), 47 deletions(-) > create mode 100755 tests/qemu-iotests/096 > create mode 100644 tests/qemu-iotests/096.out My comment on v5 still applies. There is no need for a new QAPI command. The "replace" operation just requires an extra argument to the drive-mirror command. Stefan --kXdP64Ggrk/fb43R Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTlbRGAAoJEJykq7OBq3PIQwUIAIRJ0r+RY7a80AWy9DtYz90/ PJ+8HmozioV4KLs2aRw5UgFSDwYJHEyf4Br6uhiJmrTzJaMuQB59Cotst8FOl68s hHNPjyD39T+iymCvr51egQUc6AWU0P8EEXim6cU4g/iPZEcnWeYATGnGVpLWR5bA ZTOVZSKaXnjg6bNmvopBM/4lxDn5jTLluIbJdKzN45uUWZv6KziC521OuucCe8K/ epCmek0L0Oo+alGZgfajijV3HOootvjKQ6d6LZrbH5Mh/qM0jb1rWnQX5kwo9kJw AmPdiWFpswIJn0a5LlDWmU91yCvMuxTdna2myrozUGOUB9plxZTkIkBxcuMbEvA= =JT6G -----END PGP SIGNATURE----- --kXdP64Ggrk/fb43R--