From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43465 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMijN-0007ZM-J8 for qemu-devel@nongnu.org; Thu, 10 Jun 2010 10:27:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMijM-0008Ti-Gk for qemu-devel@nongnu.org; Thu, 10 Jun 2010 10:27:41 -0400 Received: from mail-iw0-f173.google.com ([209.85.214.173]:59928) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMijM-0008TU-BY for qemu-devel@nongnu.org; Thu, 10 Jun 2010 10:27:40 -0400 Received: by iwn10 with SMTP id 10so3004121iwn.4 for ; Thu, 10 Jun 2010 07:27:39 -0700 (PDT) Message-ID: <4C10F656.20305@codemonkey.ws> Date: Thu, 10 Jun 2010 09:27:34 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: KVM call minutes for June 8 References: <20100608150500.GA28492@x200.localdomain> <4C0E694F.8040607@codemonkey.ws> <20100608175952.5f43ea8f@redhat.com> <4C0EB281.80907@codemonkey.ws> <20100609121820.1f3bb47a@redhat.com> <20100609153107.GE28326@redhat.com> <4C0FBFDF.5050009@codemonkey.ws> <4C10B3AF.5000201@redhat.com> <4C10E064.5090106@codemonkey.ws> <4C10E3B2.9070905@redhat.com> In-Reply-To: <4C10E3B2.9070905@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Chris Wright , kvm-devel , qemu-devel@nongnu.org, armbru@redhat.com, Luiz Capitulino On 06/10/2010 08:08 AM, Kevin Wolf wrote: > Am 10.06.2010 14:53, schrieb Anthony Liguori: > >> On 06/10/2010 04:43 AM, Kevin Wolf wrote: >> >>> Huh, why this? Seems I still haven't understood all of qcow2 then... I >>> always thought that there's just a specific offset where VM state >>> starts, but no explicit end. >>> >>> >> A live snapshot can last for a very long time. What happens if you need >> to allocate a new block for disk I/O while saving a snapshot? >> > You allocate it, I guess? > > Note that VM state must be virtually contiguous, but not necessarily > physically (virtually = on the virtual hard disk as seen by the guest; > physically = in the image file). It's just not seen by the guest because > it's saved at a high offset that is after the end of the real disk > content, but otherwise it should behave the same as guest data. > I guess you could just start writing and then once your finished, you could update the snapshot information. So yeah, I think your right that it's doable with the current format. Regards, Anthony Liguori > Kevin >