[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 01/14] block: Add "file" output parameter to
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH v2 01/14] block: Add "file" output parameter to block status query functions |
Date: |
Wed, 25 Nov 2015 22:03:12 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 11/25/2015 12:39 AM, Fam Zheng wrote:
> The added parameter can be used to return the BDS pointer which the
> valid offset is referring to. It's value should be ignored unless
s/It's/Its/ (remember, "It's" is valid only if "It is" also works in
the same place)
> BDRV_BLOCK_OFFSET_VALID in ret is set.
>
> Until block drivers fill in the right value, let's clear it explicitly
> right before calling .bdrv_get_block_status.
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
With that fix,
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH v2 00/14] qemu-img map: Allow driver to return file of the allocated block, Fam Zheng, 2015/11/25
- [Qemu-block] [PATCH v2 01/14] block: Add "file" output parameter to block status query functions, Fam Zheng, 2015/11/25
- Re: [Qemu-block] [PATCH v2 01/14] block: Add "file" output parameter to block status query functions,
Eric Blake <=
- [Qemu-block] [PATCH v2 02/14] qcow: Assign bs->file->bs to file in qcow_co_get_block_status, Fam Zheng, 2015/11/25
- [Qemu-block] [PATCH v2 03/14] qcow2: Assign bs->file->bs to file in qcow2_co_get_block_status, Fam Zheng, 2015/11/25
- [Qemu-block] [PATCH v2 04/14] raw: Assign bs to file in raw_co_get_block_status, Fam Zheng, 2015/11/25
- [Qemu-block] [PATCH v2 05/14] iscsi: Assign bs to file in iscsi_co_get_block_status, Fam Zheng, 2015/11/25
- [Qemu-block] [PATCH v2 06/14] parallels: Assign bs->file->bs to file in parallels_co_get_block_status, Fam Zheng, 2015/11/25
- [Qemu-block] [PATCH v2 07/14] qed: Assign bs->file->bs to file in bdrv_qed_co_get_block_status, Fam Zheng, 2015/11/25
- [Qemu-block] [PATCH v2 08/14] sheepdog: Assign bs to file in sd_co_get_block_status, Fam Zheng, 2015/11/25