From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbhed-0007V9-2l for qemu-devel@nongnu.org; Wed, 30 Oct 2013 22:06:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbheW-0006R9-Vp for qemu-devel@nongnu.org; Wed, 30 Oct 2013 22:06:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbheW-0006R2-Nl for qemu-devel@nongnu.org; Wed, 30 Oct 2013 22:06:28 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9V26Rip006486 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 30 Oct 2013 22:06:27 -0400 From: Fam Zheng Date: Thu, 31 Oct 2013 10:06:21 +0800 Message-Id: <1383185183-6552-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v5 0/2] vmdk: Implement bdrv_get_specific_info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com, mreitz@redhat.com The new information looks like: image: /tmp/foo.vmdk file format: vmdk virtual size: 100G (107374182400 bytes) disk size: 4.0K Format specific information: cid: 0 create_type: twoGbMaxExtentFlat parent cid: 0 extents: [0]: virtual size: 2147483648 filename: /tmp/foo-f001.vmdk format: FLAT [1]: virtual size: 2147483648 filename: /tmp/foo-f002.vmdk format: FLAT [2]: virtual size: 2147483648 filename: /tmp/foo-f003.vmdk format: FLAT [3]: ... v5: Fixed cid, parent_cid and create_type, see message in patch 02. v4: Rebase to master. Free create_type if open fails. (Stefan) Set create_type for monolithcSparse in no description file case. v3: Rebase to kevin's block branch. Fam Zheng (2): qapi: Add optional field 'compressed' to ImageInfo vmdk: Implment bdrv_get_specific_info block/vmdk.c | 66 +++++++++++++++++++++++++++++++++++++++++++++- qapi-schema.json | 28 ++++++++++++++++++-- tests/qemu-iotests/059 | 2 +- tests/qemu-iotests/059.out | 5 ++-- 4 files changed, 94 insertions(+), 7 deletions(-) -- 1.8.3.1