From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz1EF-0002hX-Hg for qemu-devel@nongnu.org; Wed, 18 Nov 2015 06:48:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zz1ED-00079d-5n for qemu-devel@nongnu.org; Wed, 18 Nov 2015 06:48:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz1EC-00079Z-WE for qemu-devel@nongnu.org; Wed, 18 Nov 2015 06:48:45 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id A971419F274 for ; Wed, 18 Nov 2015 11:48:44 +0000 (UTC) From: "Dr. David Alan Gilbert (git)" Date: Wed, 18 Nov 2015 11:48:39 +0000 Message-Id: <1447847321-20132-2-git-send-email-dgilbert@redhat.com> In-Reply-To: <1447847321-20132-1-git-send-email-dgilbert@redhat.com> References: <1447847321-20132-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH 1/3] Set last_sent_block List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, quintela@redhat.com, amit.shah@redhat.com Cc: pbonzini@redhat.com From: "Dr. David Alan Gilbert" In a82d593b61054b3dea43 I accidentally removed the setting of last_sent_block, put it back. Symptoms: Multithreaded compression only uses one thread. Migration is a bit less efficient since it won't use 'cont' flags. Signed-off-by: Dr. David Alan Gilbert Fixes: a82d593b61054b3dea43 --- migration/ram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/migration/ram.c b/migration/ram.c index 7f32696..1eb155a 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -1249,6 +1249,7 @@ static int ram_save_target_page(MigrationState *ms, QEMUFile *f, if (unsentmap) { clear_bit(dirty_ram_abs >> TARGET_PAGE_BITS, unsentmap); } + last_sent_block = block; } return res; -- 2.5.0