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

2023-10-18 Thread Markus Armbruster
Daniel P. Berrangé writes: > On Wed, Oct 18, 2023 at 12:54:28PM +0200, Markus Armbruster wrote: >> 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 chang

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

2023-10-18 Thread Daniel P . Berrangé
On Wed, Oct 18, 2023 at 12:54:28PM +0200, Markus Armbruster wrote: > 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 hu

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

2023-10-18 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: > > > > This gains the QAPI na

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

2023-09-22 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é --- v1 was two & half years ago: ht