Re: [Qemu-devel] [PATCH v2 01/14] block: Add "file" output parameter to block status query functions

2015-11-25 Thread Fam Zheng
On Wed, 11/25 22:03, Eric Blake wrote: > 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

Re: [Qemu-devel] [PATCH v2 01/14] block: Add "file" output parameter to block status query functions

2015-11-25 Thread Eric Blake
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

[Qemu-devel] [PATCH v2 01/14] block: Add "file" output parameter to block status query functions

2015-11-24 Thread Fam Zheng
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 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-o