Received: from eggs.gnu.org ([2001:4830:134:3::10]:37279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu6SN-0001Oa-Rb for qemu-devel@nongnu.org; Mon, 09 Jun 2014 16:46:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu6SH-0005PQ-J4 for qemu-devel@nongnu.org; Mon, 09 Jun 2014 16:46:15 -0400 Received: from lputeaux-656-01-25-125.w80-12.abo.wanadoo.fr ([80.12.84.125]:46473 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu6SH-0005OR-DJ for qemu-devel@nongnu.org; Mon, 09 Jun 2014 16:46:09 -0400 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Mon, 9 Jun 2014 22:45:58 +0200 Message-Id: <1402346762-21333-1-git-send-email-benoit.canet@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v7 0/3] Quorum maintainance operations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , stefanha@redhat.com, mreitz@redhat.com in v7: rebase on latest Stefan's block branch Revert to extending drive-mirror by adding two parameters [Stefan= ] Beno=C3=AEt Canet (3): quorum: Add the rewrite-corrupted parameter to quorum. block: Add node-name and to-replace-node-name arguments to drive-mirror qemu-iotests: Add TestRepairQuorum to 041 to test drive-mirror node-name mode. block.c | 27 +++++++ block/mirror.c | 62 +++++++++++--- block/quorum.c | 97 ++++++++++++++++++++-- blockdev.c | 51 +++++++++++- hmp.c | 1 + include/block/block.h | 5 ++ include/block/block_int.h | 4 +- qapi/block-core.json | 14 +++- qmp-commands.hx | 5 ++ tests/qemu-iotests/041 | 196 +++++++++++++++++++++++++++++++++++++++= +++++- tests/qemu-iotests/041.out | 4 +- tests/qemu-iotests/081 | 15 +++- tests/qemu-iotests/081.out | 10 +++ 13 files changed, 460 insertions(+), 31 deletions(-) --=20 1.9.1