From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Std2j-0002Ex-4F for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:12:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Std2d-0007hs-1O for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:12:45 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:51061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Std2c-0007hj-P8 for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:12:38 -0400 Date: Tue, 24 Jul 2012 07:12:25 -0400 (EDT) From: Paolo Bonzini Message-ID: <1349977101.1142289.1343128345560.JavaMail.root@redhat.com> In-Reply-To: <500E76C4.3060207@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V4 0/3] Block migration if any of the block device is busy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Stefan Hajnoczi , benoit canet , =?utf-8?Q?Beno=C3=AEt?= Canet , qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com > > Hmm...maybe this is a policy decision. I figure if you are running > > image streaming and try to migrate, chances are you're migration > > will break on the destination host because you were trying to do > > pre-copy storage migration and never finished. Streaming is post-copy, and can be interrupted every time you want. Mirroring is pre-copy. That's another story, but even then the way to "emulate" migrate -b/-i (and make it much more efficient, as you can see from the last few patches I just posted) is exactly to run mirroring in parallel to RAM migration. This is relatively difficult to do by hand (though I'd like to improve it in 1.3 if only to get rid of block-migration.c) and requires giving the user a considerable amount of rope, but it is doable. So, thinking about it a bit more, this patch looks like a good idea in principle, but actually it is counterproductive. Paolo