From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mqr3s-0000Sn-Sk for qemu-devel@nongnu.org; Thu, 24 Sep 2009 12:20:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mqr3o-0000NX-6A for qemu-devel@nongnu.org; Thu, 24 Sep 2009 12:20:52 -0400 Received: from [199.232.76.173] (port=50730 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mqr3o-0000NM-0m for qemu-devel@nongnu.org; Thu, 24 Sep 2009 12:20:48 -0400 Received: from mail-qy0-f173.google.com ([209.85.221.173]:60301) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mqr3n-0000Am-Q2 for qemu-devel@nongnu.org; Thu, 24 Sep 2009 12:20:47 -0400 Received: by qyk3 with SMTP id 3so1460764qyk.4 for ; Thu, 24 Sep 2009 09:20:46 -0700 (PDT) Message-ID: <4ABB9C57.60107@codemonkey.ws> Date: Thu, 24 Sep 2009 11:20:39 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Qemu savevm and CPU soft lockup References: <1253267801.9686.159.camel@bcm-portable> <1253721904.16114.101.camel@bcm-portable> <20090923181945.GB23822@shareable.org> <4ABAA107.1010803@codemonkey.ws> <4ABB71C4.3070007@redhat.com> In-Reply-To: <4ABB71C4.3070007@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: Benjamin Cleyet-Marrel , qemu-devel@nongnu.org Kevin Wolf wrote: > Am 24.09.2009 00:28, schrieb Anthony Liguori: > >> Jamie Lokier wrote: >> >>> This is normal savevm behaviour, and it is exactly the reason why >>> migrate-to-file is useful. I would not be surprised if savevm is >>> changed to use migrate-to-file internally at some point, but it does >>> not look like happening soon. >>> >>> >> It's the same infrastructure. The reason savevm isn't live is that >> savevm stores it's data in a qcow2 file. Right now the way qcow2 is >> structured, the snapshot has to be a fixed size and allocated at once. >> In order to make savevm live, we need a method to stream savevm data to >> a qcow2 file while still allowing other IO operations to that qcow2 file. >> >> I'm fairly sure this will require a change to the qcow2 format in order >> to support this. >> > > Hm, snapshots are nothing complicated from qcow2 perspective. Why do you > think data needs to be fixed size? What happens if you're in the middle of writing snapshot data and another cluster has to be allocated? You'll need a way to store the snapshot data discontinuously. Regards, Anthony Liguori