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

Michal Privoznik mprivozn at redhat.com
Mon Jun 5 08:22:55 UTC 2017


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(-)

-- 
2.13.0




More information about the libvir-list mailing list