Re: [libvirt] [PATCH v7 10/19] utils: Implement function to pass a buffer to send via a fd to virCommand

2019-07-26 Thread John Ferlan
On 7/25/19 2:22 PM, Stefan Berger wrote: > Implement virCommandSetSendBuffer() that allows the caller to pass a > file descriptor and buffer to virCommand. virCommand will write the > buffer into the file descriptor. That file descriptor could be the > write end of a pipe or one of the file

[libvirt] [PATCH v7 10/19] utils: Implement function to pass a buffer to send via a fd to virCommand

2019-07-25 Thread Stefan Berger
Implement virCommandSetSendBuffer() that allows the caller to pass a file descriptor and buffer to virCommand. virCommand will write the buffer into the file descriptor. That file descriptor could be the write end of a pipe or one of the file descriptors of a socketpair. The other file descriptor