[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]