From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBgSq-0000tL-QW for qemu-devel@nongnu.org; Thu, 15 Jan 2015 04:11:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBgSn-00059F-KY for qemu-devel@nongnu.org; Thu, 15 Jan 2015 04:11:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBgSn-00058R-D1 for qemu-devel@nongnu.org; Thu, 15 Jan 2015 04:11:37 -0500 Message-ID: <54B78440.9030706@redhat.com> Date: Thu, 15 Jan 2015 10:11:28 +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> In-Reply-To: <201501151154417870577@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 04:54, Zhang Haoyu wrote: >>>> > >> 2) Finer-grain control the parameters of block migration (dirty bitmap >>>> > >> granularity). >>>> > >> >>>> > >> 3) Block and RAM migration do not share the same socket and thus can >>>> > >> more easily be parallelized. >>>> > >> > drive_mirror job is done in main-thread, > then how to accept the qmp_migrate request while drive_mirror is performing? > If need to wait for the completion of drive_mirror, > how to implement the parallelization between block and ram migration? drive_mirror runs in the background, using coroutines. Paolo