Re: [Qemu-devel] [PATCH v5 13/14] qapi: Allow anonymous base for flat union

2016-03-19 Thread Markus Armbruster
Eric Blake writes: > On 03/10/2016 01:22 PM, Markus Armbruster wrote: >> Eric Blake writes: >> >>> Rather than requiring all flat unions to explicitly create >>> a separate base struct, we can allow the qapi schema to specify >>> the common members via an inline dictionary. This is similar to >

Re: [Qemu-devel] [PATCH v5 13/14] qapi: Allow anonymous base for flat union

2016-03-10 Thread Eric Blake
On 03/10/2016 01:22 PM, Markus Armbruster wrote: > Eric Blake writes: > >> Rather than requiring all flat unions to explicitly create >> a separate base struct, we can allow the qapi schema to specify >> the common members via an inline dictionary. This is similar to >> how commands can specify a

Re: [Qemu-devel] [PATCH v5 13/14] qapi: Allow anonymous base for flat union

2016-03-10 Thread Markus Armbruster
Eric Blake writes: > Rather than requiring all flat unions to explicitly create > a separate base struct, we can allow the qapi schema to specify > the common members via an inline dictionary. This is similar to > how commands can specify an inline anonymous type for its 'data'. > We already have