On 07/10/2014 09:01 PM, Liu Yuan wrote: > This patch adds single read pattern to quorum driver and quorum vote is default > pattern. > > For now we do a quorum vote on all the reads, it is designed for unreliable > underlying storage such as non-redundant NFS to make sure data integrity at the > cost of the read performance. > > E.g, Enable single read pattern on 2 children, > > -drive driver=quorum,children.0.file.filename=0.qcow2,\ > children.1.file.filename=1.qcow2,read-pattern=single,vote-threshold=1 > > [1] http://en.wikipedia.org/wiki/Distributed_Replicated_Block_Device > > Cc: Benoit Canet > Cc: Kevin Wolf > Cc: Stefan Hajnoczi > Signed-off-by: Liu Yuan > --- > block/quorum.c | 174 +++++++++++++++++++++++++++++++++++++++++---------------- > 1 file changed, 125 insertions(+), 49 deletions(-) That covers the command line, but what about the *.json changes to allow QMP to select this mode when hot-plugging? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org