Re: [Qemu-devel] [PATCH v6 16/16] qapi: Share gen_visit_fields()

2015-09-30 Thread Markus Armbruster
Eric Blake writes: > Consolidate the code between visit, command marshalling, and > event generation that iterates over the members of a struct. > It reduces code duplication in the generator, so that a future > patch can reduce the size of generated code while touching only > one instead of thre

[Qemu-devel] [PATCH v6 16/16] qapi: Share gen_visit_fields()

2015-09-28 Thread Eric Blake
Consolidate the code between visit, command marshalling, and event generation that iterates over the members of a struct. It reduces code duplication in the generator, so that a future patch can reduce the size of generated code while touching only one instead of three locations. There are no chan