qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/2] vmdk: Implement bdrv_get_specific_info
@ 2013-10-31  2:06 Fam Zheng
  2013-10-31  2:06 ` [Qemu-devel] [PATCH v5 1/2] qapi: Add optional field 'compressed' to ImageInfo Fam Zheng
  2013-10-31  2:06 ` [Qemu-devel] [PATCH v5 2/2] vmdk: Implment bdrv_get_specific_info Fam Zheng
  0 siblings, 2 replies; 4+ messages in thread
From: Fam Zheng @ 2013-10-31  2:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha, mreitz

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-31 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31  2:06 [Qemu-devel] [PATCH v5 0/2] vmdk: Implement bdrv_get_specific_info Fam Zheng
2013-10-31  2:06 ` [Qemu-devel] [PATCH v5 1/2] qapi: Add optional field 'compressed' to ImageInfo Fam Zheng
2013-10-31  2:06 ` [Qemu-devel] [PATCH v5 2/2] vmdk: Implment bdrv_get_specific_info Fam Zheng
2013-10-31 16:12   ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).