[libvirt] [PATCH v3 0/6] Fix error reporting in streams

Michal Privoznik mprivozn at redhat.com
Mon Jun 12 11:41:08 UTC 2017


On 06/05/2017 10:22 AM, Michal Privoznik wrote:
> diff to v3:
> 
> -In the last patch, instead of reporting errors from callbacks, report system
>  error based on errno set by the callbacks.
> 
> Michal Privoznik (6):
>   virfdstream: Check for thread error more frequently
>   fdstream: Report error from the I/O thread
>   virStream*All: Call virStreamAbort() more frequently
>   virStream*All: Preserve reported error
>   virFileInData: preserve errno in cleanup path
>   virStream*All: Report error if a callback fails
> 
>  daemon/stream.c                  | 18 ++++++---
>  include/libvirt/libvirt-stream.h | 17 +++++++-
>  src/libvirt-stream.c             | 83 +++++++++++++++++++++++++++++++---------
>  src/util/virfdstream.c           | 22 ++++++++---
>  src/util/virfile.c               |  5 ++-
>  5 files changed, 113 insertions(+), 32 deletions(-)
> 


Ping? I'd like to backport these and couple of other stream fixes that
I've pushed earlier onto a stable branch since current release has
broken streams.

Michal




More information about the libvir-list mailing list