Re: [Qemu-devel] [PATCH v6 10/36] qapi: Forbid base without discriminator in unions

2015-04-27 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. A previous commit added a union-base-no-discriminator > test to

[Qemu-devel] [PATCH v6 10/36] qapi: Forbid base without discriminator in unions

2015-04-04 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. A previous commit added a union-base-no-discriminator test to ensure that we eventually give