Re: [PATCH 3/3] qapi: provide a friendly string representation of QAPI classes

2021-03-05 Thread Markus Armbruster
Daniel P. Berrangé writes: > If printing a QAPI schema object for debugging we get the classname and > a hex value for the instance. With this change we instead get the > classname and the human friendly name of the QAPI type instance. > > Signed-off-by: Daniel P. Berrangé > --- > scripts/qapi/

Re: [PATCH 3/3] qapi: provide a friendly string representation of QAPI classes

2021-03-02 Thread Philippe Mathieu-Daudé
On 3/2/21 6:55 PM, Daniel P. Berrangé wrote: > If printing a QAPI schema object for debugging we get the classname and > a hex value for the instance. With this change we instead get the > classname and the human friendly name of the QAPI type instance. > > Signed-off-by: Daniel P. Berrangé > ---

Re: [PATCH 3/3] qapi: provide a friendly string representation of QAPI classes

2021-03-02 Thread Eric Blake
On 3/2/21 11:55 AM, Daniel P. Berrangé wrote: > If printing a QAPI schema object for debugging we get the classname and > a hex value for the instance. With this change we instead get the > classname and the human friendly name of the QAPI type instance. > > Signed-off-by: Daniel P. Berrangé > --

[PATCH 3/3] qapi: provide a friendly string representation of QAPI classes

2021-03-02 Thread Daniel P . Berrangé
If printing a QAPI schema object for debugging we get the classname and a hex value for the instance. With this change we instead get the classname and the human friendly name of the QAPI type instance. Signed-off-by: Daniel P. Berrangé --- scripts/qapi/schema.py | 3 +++ 1 file changed, 3 inser