Re: [Qemu-devel] [PATCH v5 11/46] qapi: Don't use info as witness of implicit object type

2015-09-29 Thread Markus Armbruster
Eric Blake writes: > On 09/28/2015 06:43 AM, Markus Armbruster wrote: >> Eric Blake writes: >> >>> A future patch will enable error reporting from the various >>> check() methods. But to report an error on an implicit type, >>> we'll need to associate a

Re: [Qemu-devel] [PATCH v5 11/46] qapi: Don't use info as witness of implicit object type

2015-09-28 Thread Eric Blake
On 09/28/2015 06:43 AM, Markus Armbruster wrote: > Eric Blake writes: > >> A future patch will enable error reporting from the various >> check() methods. But to report an error on an implicit type, >> we'll need to associate a location with the type (the same >> location as

Re: [Qemu-devel] [PATCH v5 11/46] qapi: Don't use info as witness of implicit object type

2015-09-28 Thread Markus Armbruster
Eric Blake writes: > A future patch will enable error reporting from the various > check() methods. But to report an error on an implicit type, > we'll need to associate a location with the type (the same > location as the top-level entity that is causing the creation > of

[Qemu-devel] [PATCH v5 11/46] qapi: Don't use info as witness of implicit object type

2015-09-21 Thread Eric Blake
A future patch will enable error reporting from the various check() methods. But to report an error on an implicit type, we'll need to associate a location with the type (the same location as the top-level entity that is causing the creation of the implicit type), and once we do that, keying off