From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50361 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxceQ-000788-Nn for qemu-devel@nongnu.org; Thu, 10 Mar 2011 04:59:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxceP-0005fv-PN for qemu-devel@nongnu.org; Thu, 10 Mar 2011 04:59:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxceP-0005fb-Fn for qemu-devel@nongnu.org; Thu, 10 Mar 2011 04:59:21 -0500 Message-ID: <4D78A0E8.7000606@redhat.com> Date: Thu, 10 Mar 2011 10:59:04 +0100 From: Jes Sorensen MIME-Version: 1.0 Subject: Re: [Qemu-devel] Issue with snapshot outside qcow2 disk - qemu 0.14.0 References: <9678.79494.qm@web161620.mail.bf1.yahoo.com> <4D789AB4.4010202@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: SAURAV LAHIRI , qemu-devel@nongnu.org On 03/10/11 10:58, Stefan Hajnoczi wrote: > On Thu, Mar 10, 2011 at 9:32 AM, Jes Sorensen wrote: >> On 03/10/11 10:27, Stefan Hajnoczi wrote: >>> I have CCed Jes who has been working on a live snapshot mechanism. He >>> recently added the snapshot_blkdev monitor command that takes a >>> snapshot of a block device while the VM is running. A new image file >>> is created based off the original image file (which will no longer be >>> modified), all new disk writes go to the new image file. It is safe >>> to perform read-only access to the original image file. There >>> currently is no support to merge the snapshot changes back into the >>> original image while the VM is running, but I think that is the next >>> planned step. >> >> Yes, keep in mind that the live snapshot is only for external snapshot >> files, it doesn't deal with internal snapshots. > > Yep, that's why I'm interested in Saurav's use case. Many use cases > work with either internal or external snapshot but it depends on the > details. Actually I think there's very little reason to keep internal snapshot support. It doesn't buy us much, but it adds unnecessary complexity. Cheers, Jes