From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2mmO-0002Yw-Qh for qemu-devel@nongnu.org; Tue, 27 Oct 2009 10:12:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2mmJ-0002Xa-Uw for qemu-devel@nongnu.org; Tue, 27 Oct 2009 10:12:08 -0400 Received: from [199.232.76.173] (port=56731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2mmJ-0002XW-NJ for qemu-devel@nongnu.org; Tue, 27 Oct 2009 10:12:03 -0400 Received: from qw-out-1920.google.com ([74.125.92.146]:3456) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2mmI-0004yU-QG for qemu-devel@nongnu.org; Tue, 27 Oct 2009 10:12:03 -0400 Received: by qw-out-1920.google.com with SMTP id 5so63891qwc.4 for ; Tue, 27 Oct 2009 07:12:01 -0700 (PDT) Message-ID: <4AE6FFAF.6010405@codemonkey.ws> Date: Tue, 27 Oct 2009 09:11:59 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] qcow2: Allow qcow2 disk images with size zero References: <1256569876-13038-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <1256569876-13038-1-git-send-email-weil@mail.berlios.de> 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: Stefan Weil Cc: Kevin Wolf , QEMU Developers Stefan Weil wrote: > Images with disk size 0 may be used for > VM snapshots, but not to save normal block data. > > It is possible to create such images using > qemu-img, but opening them later fails. > > So even "qemu-img info image.qcow2" is not > possible for an image created with > "qemu-img create -f qcow2 image.qcow2 0". > > This is fixed here. > > Signed-off-by: Stefan Weil > What do you think Kevin? Regards, Anthony Liguori