[libvirt] [PATCH v5 13/20] utils: Mark inpipe as non-blocking
Daniel P. Berrangé
berrange at redhat.com
Thu Jul 25 09:47:13 UTC 2019
On Fri, Jul 12, 2019 at 12:23:47PM -0400, Stefan Berger wrote:
> Mark a virCommand's inpipe (write-end of pipe) as non-blocking so that it
> will never block when we were to try to write too many bytes to it while
> it doesn't have the capacity to hold them.
>
> Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>
> ---
> src/util/vircommand.c | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list