This patch set fixed a bug which will block live migration and another potential issue when using multi-thread (de)compression.
The last patches try to refine the code and make the using of lock more clear. Some of the code snippets are from Juan's multiple-fd patches, with very small change. Thanks for Juan's work. Liang Li (9): migration: Fix multi-thread compression bug migration: Fix a potential issue migration: remove useless code qemu-file: Fix qemu_put_compression_data flaw migration: refine ram_save_compressed_page migration: protect the quit flag by lock migration: refine the compression code migration: refine the decompression code migration: code clean up migration/qemu-file.c | 23 ++++- migration/ram.c | 251 ++++++++++++++++++++++++++++---------------------- 2 files changed, 162 insertions(+), 112 deletions(-) -- 1.9.1
