Re: [Qemu-devel] [PATCH v9 08/17] qapi: Plumb in 'boxed' to qapi generator lower levels

2016-07-14 Thread Markus Armbruster
Eric Blake writes: > The next patch will add support for passing a qapi union type > as the 'data' of a command. But to do that, the user function > for implementing the command, as called by the generated > marshal command, must take the corresponding C struct as a > single boxed pointer, rathe

[Qemu-devel] [PATCH v9 08/17] qapi: Plumb in 'boxed' to qapi generator lower levels

2016-07-13 Thread Eric Blake
The next patch will add support for passing a qapi union type as the 'data' of a command. But to do that, the user function for implementing the command, as called by the generated marshal command, must take the corresponding C struct as a single boxed pointer, rather than a breakdown into one par