Re: [Qemu-devel] [PATCH V6 03/10] qapi script: check correctness of discriminator values in union

2014-02-17 Thread Luiz Capitulino
On Mon, 17 Feb 2014 09:50:10 +0800 Wenchao Xia wrote: > 于 2014/2/14 17:23, Markus Armbruster 写道: > > Wenchao Xia writes: > > > >> 于 2014/2/13 23:14, Markus Armbruster 写道: > >>> Wenchao Xia writes: > >>> > It will check whether the values specified are written correctly, > and whether

Re: [Qemu-devel] [PATCH V6 03/10] qapi script: check correctness of discriminator values in union

2014-02-17 Thread Markus Armbruster
Wenchao Xia writes: > 于 2014/2/14 17:23, Markus Armbruster 写道: >> Wenchao Xia writes: >> >>> 于 2014/2/13 23:14, Markus Armbruster 写道: Wenchao Xia writes: > It will check whether the values specified are written correctly, > and whether all enum values are covered, when discrim

Re: [Qemu-devel] [PATCH V6 03/10] qapi script: check correctness of discriminator values in union

2014-02-16 Thread Wenchao Xia
于 2014/2/14 17:23, Markus Armbruster 写道: Wenchao Xia writes: 于 2014/2/13 23:14, Markus Armbruster 写道: Wenchao Xia writes: It will check whether the values specified are written correctly, and whether all enum values are covered, when discriminator is a pre-defined enum type Signed-off-by:

Re: [Qemu-devel] [PATCH V6 03/10] qapi script: check correctness of discriminator values in union

2014-02-14 Thread Markus Armbruster
Wenchao Xia writes: > 于 2014/2/13 23:14, Markus Armbruster 写道: >> Wenchao Xia writes: >> >>> It will check whether the values specified are written correctly, >>> and whether all enum values are covered, when discriminator is a >>> pre-defined enum type >>> >>> Signed-off-by: Wenchao Xia >>> R

Re: [Qemu-devel] [PATCH V6 03/10] qapi script: check correctness of discriminator values in union

2014-02-13 Thread Wenchao Xia
于 2014/2/13 23:14, Markus Armbruster 写道: > Wenchao Xia writes: > >> It will check whether the values specified are written correctly, >> and whether all enum values are covered, when discriminator is a >> pre-defined enum type >> >> Signed-off-by: Wenchao Xia >> Reviewed-by: Eric Blake >> --- >

Re: [Qemu-devel] [PATCH V6 03/10] qapi script: check correctness of discriminator values in union

2014-02-13 Thread Markus Armbruster
Wenchao Xia writes: > It will check whether the values specified are written correctly, > and whether all enum values are covered, when discriminator is a > pre-defined enum type > > Signed-off-by: Wenchao Xia > Reviewed-by: Eric Blake > --- > scripts/qapi-visit.py | 17 + >

[Qemu-devel] [PATCH V6 03/10] qapi script: check correctness of discriminator values in union

2014-02-10 Thread Wenchao Xia
It will check whether the values specified are written correctly, and whether all enum values are covered, when discriminator is a pre-defined enum type Signed-off-by: Wenchao Xia Reviewed-by: Eric Blake --- scripts/qapi-visit.py | 17 + scripts/qapi.py | 31 ++