[libvirt] [PATCH v2 08/38] util: Introduce virFileInData

2017-04-20 Thread Michal Privoznik
This function takes a FD and determines whether the current position is in data section or in a hole. In addition to that, it also determines how much bytes are there remaining till the current section ends. Signed-off-by: Michal Privoznik --- src/libvirt_private.syms | 1 + src/util/virfile.c

Re: [libvirt] [PATCH v2 08/38] util: Introduce virFileInData

2017-04-29 Thread John Ferlan
On 04/20/2017 06:01 AM, Michal Privoznik wrote: > This function takes a FD and determines whether the current > position is in data section or in a hole. In addition to that, > it also determines how much bytes are there remaining till the > current section ends. > > Signed-off-by: Michal Privoz

Re: [libvirt] [PATCH v2 08/38] util: Introduce virFileInData

2017-04-29 Thread Michal Privoznik
On 04/29/2017 06:46 PM, John Ferlan wrote: > > > On 04/20/2017 06:01 AM, Michal Privoznik wrote: >> This function takes a FD and determines whether the current >> position is in data section or in a hole. In addition to that, >> it also determines how much bytes are there remaining till the >> cu

Re: [libvirt] [PATCH v2 08/38] util: Introduce virFileInData

2017-05-03 Thread John Ferlan
On 04/30/2017 02:43 AM, Michal Privoznik wrote: > On 04/29/2017 06:46 PM, John Ferlan wrote: >> >> >> On 04/20/2017 06:01 AM, Michal Privoznik wrote: >>> This function takes a FD and determines whether the current >>> position is in data section or in a hole. In addition to that, >>> it also dete

Re: [libvirt] [PATCH v2 08/38] util: Introduce virFileInData

2017-05-04 Thread Michal Privoznik
On 05/03/2017 11:13 PM, John Ferlan wrote: > > > On 04/30/2017 02:43 AM, Michal Privoznik wrote: >> On 04/29/2017 06:46 PM, John Ferlan wrote: >>> >>> >>> On 04/20/2017 06:01 AM, Michal Privoznik wrote: This function takes a FD and determines whether the current position is in data sect