Lukas Straub <lukasstra...@web.de> wrote: > This makes the core compress code more independend from ram.c. > > Signed-off-by: Lukas Straub <lukasstra...@web.de>
Reviewed-by: Juan Quintela <quint...@redhat.com> I haven't looked all the series yet > @@ -1575,15 +1577,8 @@ static void flush_compressed_data(RAMState *rs) > qemu_mutex_lock(&comp_param[idx].mutex); > if (!comp_param[idx].quit) { > CompressParam *param = &comp_param[idx]; > - len = send_queued_data(param); > + send_queued_data(param); but it appears that send_queued_data don't need to return anything now.