From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBhLd-0000Ts-Ns for qemu-devel@nongnu.org; Thu, 15 Jan 2015 05:08:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBhLX-0008FG-3t for qemu-devel@nongnu.org; Thu, 15 Jan 2015 05:08:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBhLW-0008Em-LW for qemu-devel@nongnu.org; Thu, 15 Jan 2015 05:08:11 -0500 Message-ID: <54B79181.5070603@redhat.com> Date: Thu, 15 Jan 2015 11:08:01 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <201501130948157439113@sangfor.com.cn>, <201501131002532239699@sangfor.com.cn>, <201501141041046517018@sangfor.com.cn>, <201501141558472151450@sangfor.com.cn>, <201501151154417870577@sangfor.com.cn> <201501151756164579870@sangfor.com.cn> In-Reply-To: <201501151756164579870@sangfor.com.cn> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] question about live migration with storage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu , qemu-devel Cc: Gleb Natapov , Stefan Hajnoczi On 15/01/2015 10:56, Zhang Haoyu wrote: > I see, when waiting the completion of drive_mirror IO, the coroutine will be > switched back to main-thread to poll and process other events, like qmp request, > then after the IO completed, coroutine will be switched back in main-loop process, right? > > Another question: > while starting to migrate storage, will the unused sector be allocated and transferred? > regarding the thin-provisioning qcow2 disk, will extra large IO requests be > performed, and more data be transferred for the unallocated clusters? No. Paolo