Re: [PATCH v2 10/17] virsh: Pass virshStreamCallbackDataPtr to virshStreamSink() and virshStreamSkip()

2020-08-20 Thread Peter Krempa
On Tue, Jul 07, 2020 at 21:46:28 +0200, Michal Privoznik wrote: > These callback will need to know more that the FD they are > working on. Pass the structure that is passed to other stream > callbacks (e.g. virshStreamSource() or virshStreamSourceSkip()) > instead of inventing a new one. > >

[PATCH v2 10/17] virsh: Pass virshStreamCallbackDataPtr to virshStreamSink() and virshStreamSkip()

2020-07-07 Thread Michal Privoznik
These callback will need to know more that the FD they are working on. Pass the structure that is passed to other stream callbacks (e.g. virshStreamSource() or virshStreamSourceSkip()) instead of inventing a new one. Signed-off-by: Michal Privoznik --- tools/virsh-util.c | 10 +-