Received: from eggs.gnu.org ([140.186.70.92]:45753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qz9ct-0007Ld-3g for qemu-devel@nongnu.org; Thu, 01 Sep 2011 11:56:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qz9cr-0001pX-LJ for qemu-devel@nongnu.org; Thu, 01 Sep 2011 11:56:22 -0400 Received: from verein.lst.de ([213.95.11.211]:42497 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qz9cr-0001pQ-F4 for qemu-devel@nongnu.org; Thu, 01 Sep 2011 11:56:21 -0400 Date: Thu, 1 Sep 2011 17:56:20 +0200 From: Christoph Hellwig Message-ID: <20110901155620.GB11219@lst.de> References: <20110901132755.GG14462@redhat.com> <20110901142735.GI14462@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110901142735.GI14462@redhat.com> Subject: Re: [Qemu-devel] QEMU online guest disk resize wrt host block devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: qemu-devel@nongnu.org, hch@lst.de On Thu, Sep 01, 2011 at 03:27:35PM +0100, Daniel P. Berrange wrote: > One other question too, when creating a qcow2 image via 'qemu-img create' > you can specify a 'prealloc' option to require metadata to be allocated > at time of creation. > > Should we have the same control at time of resize too. If the app had > originally created the qcow2 image with preallocated metadata, then > I'd expect they want to pre-allocate metadata when extending it too, > or is there no additional metadata allocation required when extending > an image ? Sounds reasonable. Keving, is there a sane way to implement this? > > > Daniel > -- > |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| > |: http://libvirt.org -o- http://virt-manager.org :| > |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| > |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ---end quoted text---