Re: [Qemu-devel] [PATCH 12/21] qapi: Improve qobject input visitor error reporting

2017-02-26 Thread Markus Armbruster
Eric Blake writes: > On 02/23/2017 03:45 PM, Markus Armbruster wrote: >> Error messages refer to nodes of the QObject being visited by name. >> Trouble is the names are sometimes less than helpful: >> > >> Improve error messages by referring to nodes by path instead, as >>

Re: [Qemu-devel] [PATCH 12/21] qapi: Improve qobject input visitor error reporting

2017-02-25 Thread Eric Blake
On 02/23/2017 03:45 PM, Markus Armbruster wrote: > Error messages refer to nodes of the QObject being visited by name. > Trouble is the names are sometimes less than helpful: > > Improve error messages by referring to nodes by path instead, as > follows: > > * The path of the root QObject is

[Qemu-devel] [PATCH 12/21] qapi: Improve qobject input visitor error reporting

2017-02-23 Thread Markus Armbruster
Error messages refer to nodes of the QObject being visited by name. Trouble is the names are sometimes less than helpful: * The name of the root QObject is whatever @name argument got passed to the visitor, except NULL gets mapped to "null". We commonly pass NULL. Not good. Avoiding