From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1K4J-0004uH-5i for qemu-devel@nongnu.org; Tue, 14 Aug 2012 12:34:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1K4H-00080C-0c for qemu-devel@nongnu.org; Tue, 14 Aug 2012 12:34:11 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:40433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1K4G-000800-Q9 for qemu-devel@nongnu.org; Tue, 14 Aug 2012 12:34:08 -0400 Received: by weyz53 with SMTP id z53so411956wey.4 for ; Tue, 14 Aug 2012 09:34:08 -0700 (PDT) From: "=?UTF-8?q?Beno=C3=AEt=20Canet?=" Date: Tue, 14 Aug 2012 18:34:02 +0200 Message-Id: <1344962043-22932-1-git-send-email-benoit@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [RFC] snapshot_tree.py a tool to help build graph of QEMU snapshots List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Beno=C3=AEt=20Canet?= This python script help to build a dot(1) or D3.js JSON output corresponding to a hierarchy of QEMU images snapshots in some given directories. qemu-img info output parsing is actually very hard to do cleanly and this script use it. Would an additional -json option to qemu-img info be welcome ? BenoƮt Canet (1): contribs: Add snapshot_tree.py a tool to build snapshot graphs. contribs/snapshot_tree.py | 406 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 406 insertions(+) create mode 100755 contribs/snapshot_tree.py -- 1.7.9.5