From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFp8q-0000md-L1 for qemu-devel@nongnu.org; Tue, 18 Feb 2014 13:11:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFp8l-0002kn-LI for qemu-devel@nongnu.org; Tue, 18 Feb 2014 13:11:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFp8l-0002kh-Dd for qemu-devel@nongnu.org; Tue, 18 Feb 2014 13:11:31 -0500 Message-ID: <5303A270.3050606@redhat.com> Date: Tue, 18 Feb 2014 19:12:00 +0100 From: Max Reitz MIME-Version: 1.0 References: <1392725487-18330-1-git-send-email-benoit.canet@irqsave.net> <1392725487-18330-12-git-send-email-benoit.canet@irqsave.net> In-Reply-To: <1392725487-18330-12-git-send-email-benoit.canet@irqsave.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH V18 11/12] quorum: Add quorum_open() and quorum_close(). List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QmVub8OudCBDYW5ldA==?= , qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, =?UTF-8?B?QmVub8OudCBDYW5ldA==?= , stefanha@redhat.com On 18.02.2014 13:11, Beno=C3=AEt Canet wrote: > From: Beno=C3=AEt Canet > > Example of command line: > > -drive if=3Dvirtio,driver=3Dquorum,\ > children.0.file.filename=3D1.raw,\ > children.0.node-name=3D1.raw,\ > children.0.driver=3Draw,\ > children.1.file.filename=3D2.raw,\ > children.1.node-name=3D2.raw,\ > children.1.driver=3Draw,\ > children.2.file.filename=3D3.raw,\ > children.2.node-name=3D3.raw,\ > children.2.driver=3Draw,\ > vote-threshold=3D2 > > blkverify=3Don with vote-threshold=3D2 and two files can be passed to > emulate blkverify. > > Signed-off-by: Benoit Canet > --- > block/quorum.c | 161 ++++++++++++++++++++++++++++++++++++++++++++++= +++++++++ > monitor.c | 3 ++ > qapi-schema.json | 21 +++++++- > 3 files changed, 184 insertions(+), 1 deletion(-) Reviewed-by: Max Reitz