qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v5 0/2] vmdk: Implement bdrv_get_specific_info


From: Fam Zheng
Subject: [Qemu-devel] [PATCH v5 0/2] vmdk: Implement bdrv_get_specific_info
Date: Thu, 31 Oct 2013 10:06:21 +0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]