Re: [Qemu-devel] [PATCH v5 07/28] qapi: Simplify tests of simple unions

2015-03-26 Thread Markus Armbruster
Eric Blake writes: > None of the existing QMP or QGA interfaces uses a union with a > base type but no discriminator; it is easier to avoid this in > the generator to save room for other future extensions more likely > to be useful (the previous commit added the test > union-base-no-discriminator

[Qemu-devel] [PATCH v5 07/28] qapi: Simplify tests of simple unions

2015-03-24 Thread Eric Blake
None of the existing QMP or QGA interfaces uses a union with a base type but no discriminator; it is easier to avoid this in the generator to save room for other future extensions more likely to be useful (the previous commit added the test union-base-no-discriminator to ensure that we eventually g