From: Kevin Wolf <kwolf@redhat.com>
To: Fam Zheng <famz@redhat.com>
Cc: qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH v4 2/2] vmdk: Implment bdrv_get_specific_info
Date: Wed, 30 Oct 2013 18:27:14 +0100 [thread overview]
Message-ID: <20131030172714.GP2807@dhcp-200-207.str.redhat.com> (raw)
In-Reply-To: <1382065965-30163-3-git-send-email-famz@redhat.com>
Am 18.10.2013 um 05:12 hat Fam Zheng geschrieben:
> Implement .bdrv_get_specific_info to return the extent information.
>
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
> block/vmdk.c | 64 +++++++++++++++++++++++++++++++++++++++++++++-
> qapi-schema.json | 24 ++++++++++++++++-
> tests/qemu-iotests/059 | 2 +-
> tests/qemu-iotests/059.out | 5 ++--
> 4 files changed, 89 insertions(+), 6 deletions(-)
>
> diff --git a/block/vmdk.c b/block/vmdk.c
> index 5a9f278..d7fe54a 100644
> --- a/block/vmdk.c
> +++ b/block/vmdk.c
> @@ -106,17 +106,20 @@ typedef struct VmdkExtent {
> uint32_t l2_cache_counts[L2_CACHE_SIZE];
>
> int64_t cluster_sectors;
> + char *type;
> } VmdkExtent;
>
> typedef struct BDRVVmdkState {
> CoMutex lock;
> uint64_t desc_offset;
> bool cid_updated;
> + uint32_t cid;
Is it intentional that this field is never written to, i.e. we always
return cid == 0?
Kevin
next prev parent reply other threads:[~2013-10-30 17:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 3:12 [Qemu-devel] [PATCH v4 0/2] vmdk: Implement bdrv_get_specific_info Fam Zheng
2013-10-18 3:12 ` [Qemu-devel] [PATCH v4 1/2] qapi: Add optional field 'compressed' to ImageInfo Fam Zheng
2013-10-18 3:12 ` [Qemu-devel] [PATCH v4 2/2] vmdk: Implment bdrv_get_specific_info Fam Zheng
2013-10-30 17:27 ` Kevin Wolf [this message]
2013-10-31 1:01 ` Fam Zheng
2013-10-18 12:34 ` [Qemu-devel] [PATCH v4 0/2] vmdk: Implement bdrv_get_specific_info Eric Blake
2013-10-29 18:25 ` Max Reitz
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=20131030172714.GP2807@dhcp-200-207.str.redhat.com \
--to=kwolf@redhat.com \
--cc=famz@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).