Re: [Qemu-devel] [PATCH v5 13/46] qapi: Track owner of each object member

2015-10-01 Thread Eric Blake
On 09/21/2015 03:57 PM, Eric Blake wrote: > > Where implicit types are involved, the code intentionally tries > to pick the name of the owner of that implicit type, rather than > the type name itself (a user reading the error message should be > able to grep for the problem in their original file

[Qemu-devel] [PATCH v5 13/46] qapi: Track owner of each object member

2015-09-21 Thread Eric Blake
Future commits will migrate semantic checking away from parsing and over to the various QAPISchema*.check() methods. But to report an error message about an incorrect semantic use of a member of an object type, we need to know which type, command, or event owns the member. Rather than making all