Received: from eggs.gnu.org ([2001:4830:134:3::10]:44491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTq13-00006k-4z for qemu-devel@nongnu.org; Wed, 09 Oct 2013 05:25:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTq0x-00046z-1O for qemu-devel@nongnu.org; Wed, 09 Oct 2013 05:25:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTq0w-0003zs-PL for qemu-devel@nongnu.org; Wed, 09 Oct 2013 05:25:06 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r999P2Ib022687 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 9 Oct 2013 05:25:03 -0400 Date: Wed, 9 Oct 2013 11:25:13 +0200 From: Kevin Wolf Message-ID: <20131009092513.GC8994@dhcp-200-207.str.redhat.com> References: <1381308380-23517-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1381308380-23517-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v8 0/6] Provide additional info through qemu-img info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Fam Zheng , qemu-devel@nongnu.org, Stefan Hajnoczi Am 09.10.2013 um 10:46 hat Max Reitz geschrieben: > qemu-img info provides only pretty general information about an image. > For any image format, there might be specific options which cannot be > represented in a universal way; for instance, qcow2 provides the > compatibility and lazy_refcount options whose values are certainly > interesting but currently cannot be output by qemu-img info. > > Therefore, this series adds a new ImageInfoSpecific union type to > ImageInfo which may be used by block drivers as a template for new types > dedicated to the specific information they can provide, as well as a > function bdrv_get_specific_info for retrieving this information. It also > adds support to qemu-img info and qemu-io -c info to print the content > of these specific structures. Thanks, applied to the block branch. Kevin