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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux