[Qemu-devel] [PATCH v8 40/40] qapi: Check for member name conflicts with a base class

2015-05-04 Thread Eric Blake
Our type inheritance for both 'struct' and for flat 'union' merges key/value pairs from the base class with those from the type in question. Although the C code currently boxes things so that there is a distinction between which member is referred to, the QMP wire format does not allow passing a

Re: [Qemu-devel] [PATCH v8 40/40] qapi: Check for member name conflicts with a base class

2015-05-04 Thread Markus Armbruster
Eric Blake ebl...@redhat.com writes: Our type inheritance for both 'struct' and for flat 'union' merges key/value pairs from the base class with those from the type in question. Although the C code currently boxes things so that there is a distinction between which member is referred to, the