From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdzHV-0003Uz-51 for qemu-devel@nongnu.org; Fri, 03 Apr 2015 06:56:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdzHQ-0006j7-2P for qemu-devel@nongnu.org; Fri, 03 Apr 2015 06:56:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdzHP-0006cl-R3 for qemu-devel@nongnu.org; Fri, 03 Apr 2015 06:56:51 -0400 Message-ID: <551E71D5.8000606@redhat.com> Date: Fri, 03 Apr 2015 12:56:21 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <55128084.2040304@huawei.com> <87a8z12yot.fsf@neno.neno> <5513793B.6020909@cn.fujitsu.com> <874mp8xd9k.fsf@neno.neno> <551D0888.3000705@cn.fujitsu.com> <551D4157.4070108@redhat.com> <551DED07.5090101@cn.fujitsu.com> In-Reply-To: <551DED07.5090101@cn.fujitsu.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Migration Bug? ] Occasionally, the content of VM's memory is inconsistent between Source and Destination of migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wen Congyang , quintela@redhat.com, Kevin Wolf , Stefan Hajnoczi , Michael Tsirkin Cc: hangaohuai@huawei.com, zhanghailiang , Li Zhijian , qemu-devel@nongnu.org, "Dr. David Alan Gilbert (git)" , "Gonglei (Arei)" , Amit Shah , peter.huangpeng@huawei.com, david@gibson.dropbear.id.au On 03/04/2015 03:29, Wen Congyang wrote: >> > At this point the iovec has been destroyed. >> > >> > It's clearer, I think, to just use req->size in >> > virtio_blk_complete_request (as you suggest in the comment below!). For >> > dataplane you'll need to do the same in complete_request_vring. > Dataplane will be disabled before migration. But it should be also > fixed if it has the same problem. Yes, it does. Paolo