Re: [Qemu-devel] [PATCH v5 08/46] qapi: Reuse code for flat union base validation

2015-09-25 Thread Markus Armbruster
Eric Blake writes: > Rather than open-code the check for a valid base type, we > should reuse the common functionality. This allows for > consistent error messages, and also makes it easier for a > later patch to turn on support for inline anonymous base > structures. > > Test flat-union-inline i

[Qemu-devel] [PATCH v5 08/46] qapi: Reuse code for flat union base validation

2015-09-21 Thread Eric Blake
Rather than open-code the check for a valid base type, we should reuse the common functionality. This allows for consistent error messages, and also makes it easier for a later patch to turn on support for inline anonymous base structures. Test flat-union-inline is updated to test only one feature