On 07/05/2015 18:46, Juan Quintela wrote: > static CompressParam *comp_param; > static QemuThread *compress_threads; > +/* comp_done_cond is used to wake up the migration thread when > + * one of the compression threads has finished the compression. > + * comp_done_lock is used to co-work with comp_done_cond. > + */ > +static QemuMutex *comp_done_lock; > +static QemuCond *comp_done_cond;
Can you please putr these (and the corresponding globals for decompression) in a struct? Paolo