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

2019-07-25 Thread Stefan Berger
On 7/25/19 1:34 PM, Daniel P. Berrangé wrote: On Thu, Jul 25, 2019 at 10:30:24AM -0400, 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

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

2019-07-25 Thread Daniel P . Berrangé
On Thu, Jul 25, 2019 at 10:30:24AM -0400, 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

[libvirt] [PATCH v6 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