On 03/05/2012 04:33 PM, Anthony Liguori wrote: > > > async in QEMU doesn't mean "generate a QMP event when you're done". > It should mean execute this closure when you finish (function pointer > + opaque). > > The QMP event should be dispatched from the closure such that the > screendump code doesn't have to have a direct dependency on QMP. >
What about using the parallel execution facility of qmp? It's silly to duplicate every command X with X-async and X-COMPLETED. -- error compiling committee.c: too many arguments to function