Re: [libvirt] [PATCH v3 26/31] daemonStreamHandleRead: Wire up seekable stream

2017-05-17 Thread John Ferlan
On 05/16/2017 10:04 AM, Michal Privoznik wrote: > Whenever client is able to receive some data from stream > daemonStreamHandleRead is called. But now the behaviour of this > function needs to be changed a bit. Previously it just read data > from underlying file (of chardev or whatever) and sent

[libvirt] [PATCH v3 26/31] daemonStreamHandleRead: Wire up seekable stream

2017-05-16 Thread Michal Privoznik
Whenever client is able to receive some data from stream daemonStreamHandleRead is called. But now the behaviour of this function needs to be changed a bit. Previously it just read data from underlying file (of chardev or whatever) and sent those through the stream to client. This model will not wo