Re: [libvirt] [PATCH v3 05/31] Introduce virStreamSendHole

2017-05-17 Thread Michal Privoznik
On 05/16/2017 11:13 PM, John Ferlan wrote: > > > On 05/16/2017 10:03 AM, Michal Privoznik wrote: >> This API is used to tell the other side of the stream to skip >> some bytes in the stream. This can be used to create a sparse >> file on the receiving side of a stream. >> >> It takes @length argu

Re: [libvirt] [PATCH v3 05/31] Introduce virStreamSendHole

2017-05-16 Thread John Ferlan
On 05/16/2017 10:03 AM, Michal Privoznik wrote: > This API is used to tell the other side of the stream to skip > some bytes in the stream. This can be used to create a sparse > file on the receiving side of a stream. > > It takes @length argument, which says how big the hole is. This > skipping

[libvirt] [PATCH v3 05/31] Introduce virStreamSendHole

2017-05-16 Thread Michal Privoznik
This API is used to tell the other side of the stream to skip some bytes in the stream. This can be used to create a sparse file on the receiving side of a stream. It takes @length argument, which says how big the hole is. This skipping is done from the current point of stream. Since our streams a