From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjrfD-0005Fx-I3 for qemu-devel@nongnu.org; Tue, 04 Jun 2013 09:52:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjrfA-0006lY-9m for qemu-devel@nongnu.org; Tue, 04 Jun 2013 09:52:39 -0400 Received: from mx.ipv6.kamp.de ([2a02:248:0:51::16]:44993 helo=mx01.kamp.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Ujrf9-0006kH-Ue for qemu-devel@nongnu.org; Tue, 04 Jun 2013 09:52:36 -0400 Message-ID: <51ADF122.70307@kamp.de> Date: Tue, 04 Jun 2013 15:52:34 +0200 From: Peter Lieven MIME-Version: 1.0 References: <51A7036A.3050407@ozlabs.ru> <51A7049F.6040207@redhat.com> <51A70B3D.90609@ozlabs.ru> <51A71705.6060009@kamp.de> <51A74D79.7040204@redhat.com> <2765FDFA-8050-4AA3-8621-7E9EA2C89F9C@kamp.de> <51A764FC.7080705@redhat.com> In-Reply-To: <51A764FC.7080705@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] broken incoming migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Alexey Kardashevskiy , "qemu-ppc@nongnu.org" , "qemu-devel@nongnu.org" , David Gibson On 30.05.2013 16:41, Paolo Bonzini wrote: > Il 30/05/2013 16:38, Peter Lieven ha scritto: >>>> You could also scan the page for nonzero values before writing it. >> i had this in mind, but then choosed the other approach.... turned out to be a bad idea. >> >> alexey: i will prepare a patch later today, could you then please verify it fixes your problem. >> >> paolo: would we still need the madvise or is it enough to not write the zeroes? > It should be enough to not write them. Problem: checking the pages for zero allocates them. even at the source. Peter