Am 28.09.2016 um 07:30 hat Wang WeiWei geschrieben: > Signed-off-by: Wen Congyang <we...@cn.fujitsu.com> > Signed-off-by: Changlong Xie <xiecl.f...@cn.fujitsu.com> > Signed-off-by: Wang WeiWei <wangww.f...@cn.fujitsu.com> > Signed-off-by: zhanghailiang <zhang.zhanghaili...@huawei.com> > Signed-off-by: Gonglei <arei.gong...@huawei.com> > Reviewed-by: Eric Blake <ebl...@redhat.com> > --- > qapi/block-core.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/qapi/block-core.json b/qapi/block-core.json > index ada3202..0935b81 100644 > --- a/qapi/block-core.json > +++ b/qapi/block-core.json > @@ -2184,7 +2184,7 @@ > # @mode: the replication mode > # > # @top-id: #optional In secondary mode, node name or device ID of the root > -# node who owns the replication node chain. Ignored in primary mode. > +# node who owns the replication node chain. Must not be given in > primary mode. > # > # Since: 2.8 > ##
The matching code in block/replication.c is missing to actually error out if the option is given in primary mode. Kevin