Re: [Qemu-devel] [PATCH 04/26] qapi: generate a literal qobject for introspection

2017-08-22 Thread Marc-André Lureau
Hi On Wed, Aug 16, 2017 at 12:21 PM, Markus Armbruster wrote: > Marc-André Lureau writes: > >> Replace the generated json string with a literal qobject. The later is >> easier to deal with, at run time, as well as compile time: > > at run time as well as compile time > >>

Re: [Qemu-devel] [PATCH 04/26] qapi: generate a literal qobject for introspection

2017-08-17 Thread Markus Armbruster
Marc-André Lureau writes: > Replace the generated json string with a literal qobject. The later is > easier to deal with, at run time, as well as compile time: #if blocks > can be more easily added than in a json string. > > Signed-off-by: Marc-André Lureau [...] > diff --git a/tests/test-qobjec

Re: [Qemu-devel] [PATCH 04/26] qapi: generate a literal qobject for introspection

2017-08-16 Thread Markus Armbruster
Marc-André Lureau writes: > Replace the generated json string with a literal qobject. The later is > easier to deal with, at run time, as well as compile time: at run time as well as compile time >#if blocks > can be more easily added

[Qemu-devel] [PATCH 04/26] qapi: generate a literal qobject for introspection

2017-07-27 Thread Marc-André Lureau
Replace the generated json string with a literal qobject. The later is easier to deal with, at run time, as well as compile time: #if blocks can be more easily added than in a json string. Signed-off-by: Marc-André Lureau --- scripts/qapi-introspect.py | 83 +-