Re: [Qemu-devel] [PATCH v4 27/28] qapi: Add 'any' support to JSON output

2016-06-03 Thread Markus Armbruster
Eric Blake writes: > Now that we can visit any QObject, it's easy to add support > for visit_type_any() in the JSON output visitor. > > Signed-off-by: Eric Blake Unlike in v3, this actually clones the QObject behind the any type. Much cleaner, and very little code due to your elegant use of vis

[Qemu-devel] [PATCH v4 27/28] qapi: Add 'any' support to JSON output

2016-05-18 Thread Eric Blake
Now that we can visit any QObject, it's easy to add support for visit_type_any() in the JSON output visitor. Signed-off-by: Eric Blake --- v4: new patch, split out of v3 7/18, but made simpler by not requiring v3 12/18 --- include/qapi/json-output-visitor.h | 2 -- qapi/json-output-visitor.c