From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHYJr-0000WM-PJ for qemu-devel@nongnu.org; Thu, 05 Sep 2013 08:05:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHYJl-0002Ko-Q7 for qemu-devel@nongnu.org; Thu, 05 Sep 2013 08:05:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHYJl-0002Kf-HD for qemu-devel@nongnu.org; Thu, 05 Sep 2013 08:05:45 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r85C5inL021865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 5 Sep 2013 08:05:44 -0400 From: Max Reitz Date: Thu, 5 Sep 2013 14:05:12 +0200 Message-Id: <1378382715-28132-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] Provide additional info through qemu-img info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Max Reitz 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 an info-string field to ImageInfo resp. info_string to BlockDriverInfo which may be used by block drivers to hand an uninterpreted string to the user. It also adds support to qemu-img info and qemu-io -c info to dump that field's value. Max Reitz (3): block: Additional info string in ImageInfo and BDI qemu-iotests: info-string filter in _img_info qemu-iotests: Additional info from qemu-img info block.c | 3 +- block/mirror.c | 6 ++-- block/qapi.c | 10 +++++- block/qcow2.c | 6 ++++ include/block/block.h | 2 ++ qapi-schema.json | 5 ++- qemu-img.c | 3 +- qemu-io-cmds.c | 7 ++++- tests/qemu-iotests/064 | 72 ++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/064.out | 17 +++++++++++ tests/qemu-iotests/common.rc | 4 ++- tests/qemu-iotests/group | 1 + 12 files changed, 128 insertions(+), 8 deletions(-) create mode 100755 tests/qemu-iotests/064 create mode 100644 tests/qemu-iotests/064.out -- 1.8.3.1