From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3Pc0-0007gw-R0 for qemu-devel@nongnu.org; Tue, 13 Sep 2011 05:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3Pbz-0004hM-Rd for qemu-devel@nongnu.org; Tue, 13 Sep 2011 05:49:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3Pbz-0004h8-H6 for qemu-devel@nongnu.org; Tue, 13 Sep 2011 05:49:03 -0400 Message-ID: <4E6F27BF.5040301@redhat.com> Date: Tue, 13 Sep 2011 11:51:59 +0200 From: Kevin Wolf MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qcow2: snapshot and resize possible? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Frediano Ziglio Cc: qemu-devel Am 13.09.2011 11:41, schrieb Frediano Ziglio: > Looking at block TODOs I saw qcow2 resize with snapshot. However I > would ask if this is technical possible with current format. The > reason is that snapshots have no size (only l1_size, QCowHeader have a > size field) however I think that size if part of machine state and is > not possible to compute exact size from l1_size. > Should this resize be posted to qcow3 update? Yes, I think it would require a format change. Maybe we should add a field for the image size to the qcow2 v3 proposal. Kevin