Re: [Qemu-devel] [PATCH v2 05/54] qapi: generate a literal qobject for introspection

2017-08-22 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: adding #if > conditionals will be easier than in a json string. > > Signed-off-by: Marc-André Lureau > --- > scripts/qapi-introspect.py

[Qemu-devel] [PATCH v2 05/54] qapi: generate a literal qobject for introspection

2017-08-22 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: adding #if conditionals will be easier than in a json string. Signed-off-by: Marc-André Lureau --- scripts/qapi-introspect.py | 91 ++--