qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, stefanha@redhat.com, mreitz@redhat.com
Subject: [Qemu-devel] [PATCH v5 0/2] vmdk: Implement bdrv_get_specific_info
Date: Thu, 31 Oct 2013 10:06:21 +0800	[thread overview]
Message-ID: <1383185183-6552-1-git-send-email-famz@redhat.com> (raw)

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	other threads:[~2013-10-31  2:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31  2:06 Fam Zheng [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383185183-6552-1-git-send-email-famz@redhat.com \
    --to=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).