Received: from eggs.gnu.org ([2001:4830:134:3::10]:58094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayDqX-00009t-VH for qemu-devel@nongnu.org; Thu, 05 May 2016 03:37:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayDqM-0001A7-Ee for qemu-devel@nongnu.org; Thu, 05 May 2016 03:37:12 -0400 Received: from mga02.intel.com ([134.134.136.20]:38070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayDqM-00012b-8I for qemu-devel@nongnu.org; Thu, 05 May 2016 03:37:06 -0400 From: Liang Li Date: Thu, 5 May 2016 15:32:50 +0800 Message-Id: <1462433579-13691-1-git-send-email-liang.z.li@intel.com> Subject: [Qemu-devel] [PATCH v2 0/9] live migration bug fix and refine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: quintela@redhat.com, amit.shah@redhat.com, dgilbert@redhat.com, berrange@redhat.com, Liang Li 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