From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXZHK-0001s5-98 for qemu-devel@nongnu.org; Fri, 17 Jun 2011 09:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXZHC-0001uU-HR for qemu-devel@nongnu.org; Fri, 17 Jun 2011 09:40:05 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:36433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXZHC-0001tr-40 for qemu-devel@nongnu.org; Fri, 17 Jun 2011 09:39:58 -0400 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by e38.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p5HCDZ3Z012953 for ; Fri, 17 Jun 2011 06:13:35 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p5HCLdIO052022 for ; Fri, 17 Jun 2011 06:21:47 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p5H6LB5m024796 for ; Fri, 17 Jun 2011 00:21:12 -0600 Message-ID: <4DFB46CB.2080706@us.ibm.com> Date: Fri, 17 Jun 2011 07:21:31 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1308075511-4745-1-git-send-email-stefanha@linux.vnet.ibm.com> <4DF9F899.5050301@redhat.com> <4DF9FBE4.9080300@redhat.com> <4DFA004E.9010001@redhat.com> <20110616145243.GB12173@amt.cnet> <4DFB1205.9040408@redhat.com> In-Reply-To: <4DFB1205.9040408@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Image streaming and live block copy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Marcelo Tosatti , agl@linux.vnet.ibm.com, Stefan Hajnoczi , jes sorensen , Dor Laor , qemu-devel@nongnu.org, Avi Kivity On 06/17/2011 03:36 AM, Kevin Wolf wrote: > Am 16.06.2011 16:52, schrieb Marcelo Tosatti: >> On Thu, Jun 16, 2011 at 03:08:30PM +0200, Kevin Wolf wrote: >> Over this scheme, you'd have: >> >> 1) Block copy. >> Reopen image to be copied with >> blkstream:/path/to/current-image:/path/to/destination-image, >> background read sectors 0...N. >> >> 2) Image stream: >> blkstream:remote-image:/path/to/local-image, >> background read sectors 0...N. >> >> Where remote-image is remote accessible image such as NBD. > > I think that should work. > > By the way, we'll get problems with the colon syntax. Without -blockdev > we'll have to invent a new syntax, maybe with brackets: > > blkstream:[nbd:localhost]:out.qcow2 So what's the main issue with -blockdev today? Just need someone to spend some time implementing it? Also, it would be a useful exercise to try and capture some of this in the wiki. That makes it a bit easier to reference as we move forward. Regards, Anthony Liguori > Kevin