Received: from eggs.gnu.org ([208.118.235.92]:60191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUG0g-0000NE-Oc for qemu-devel@nongnu.org; Mon, 22 Apr 2013 08:38:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUG0b-0001W1-W0 for qemu-devel@nongnu.org; Mon, 22 Apr 2013 08:38:18 -0400 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:38044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUG0b-0001Vq-Pb for qemu-devel@nongnu.org; Mon, 22 Apr 2013 08:38:13 -0400 Received: by mail-we0-f170.google.com with SMTP id z2so6239824wey.15 for ; Mon, 22 Apr 2013 05:38:12 -0700 (PDT) Date: Mon, 22 Apr 2013 14:38:09 +0200 From: Stefan Hajnoczi Message-ID: <20130422123809.GC21317@stefanha-thinkpad.redhat.com> References: <1366298249-11739-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366298249-11739-1-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH 0/5] qcow2.py: dump metadata List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On Thu, Apr 18, 2013 at 05:17:24PM +0200, Paolo Bonzini wrote: > This series includes several improvements to qcow2.py, mostly > the ability to dump the L1 and L2 tables for a full backing > chain. > > Doing this completely would require support for all image formats, > not just qcow2. To cover the common cases, I included support > for raw backing files. > > The right thing to do perhaps would be to add the read-metadata > patches from the in-place QED conversion summer of code project, > but I wanted to throw out these anyway if anyone has comments. The patches look sane by themselves but it would be nicer to integrate with qemu-img by extending the block layer C code rather than reimplementing part of the block layer in Python for this single command. Stefan