Re: [libvirt] [PATCH v3 10/31] Introduce virStreamInData

2017-05-17 Thread Michal Privoznik
On 05/17/2017 12:00 AM, John Ferlan wrote: > > > On 05/16/2017 10:03 AM, Michal Privoznik wrote: >> This is just an internal API, that calls corresponding function >> in stream driver. This function will set @data=1 if the >> underlying file is in data section, or @data=0 if it is in a >> hole. A

Re: [libvirt] [PATCH v3 10/31] Introduce virStreamInData

2017-05-16 Thread John Ferlan
On 05/16/2017 10:03 AM, Michal Privoznik wrote: > This is just an internal API, that calls corresponding function > in stream driver. This function will set @data=1 if the > underlying file is in data section, or @data=0 if it is in a > hole. At any rate, @length is set to number of bytes remaini

[libvirt] [PATCH v3 10/31] Introduce virStreamInData

2017-05-16 Thread Michal Privoznik
This is just an internal API, that calls corresponding function in stream driver. This function will set @data=1 if the underlying file is in data section, or @data=0 if it is in a hole. At any rate, @length is set to number of bytes remaining in the section the file currently is. Signed-off-by: M