[libvirt] [PATCH 0/9] stream error reporting fixes

Cole Robinson crobinso at redhat.com
Mon Apr 25 18:46:26 UTC 2016


This series attempts to address various stream finish/abort error
reporting issues:

* Unclear error messages
* virStreamAbort always returns an error
* Spurious errors logged on the daemon side
* Various issues in stream error cleanup (found through code inspection)

Cole Robinson (9):
  fdstream: separate out virCommandPtr cleanup
  fdstream: Report error with virProcessTranslateStatus
  fdstream: Raise explicit error when iohelper gets SIGPIPE
  daemon: stream: Close stream on send failure
  daemon: stream: don't update events if stream->closed
  daemon: stream: set stream->closed on removal
  rpc: protocol: Clarify VIR_NET_ERROR usage with streams
  daemon: stream: Don't force error when client aborts
  fdstream: don't raise error on SIGPIPE if abort requested

 daemon/stream.c          | 42 +++++++++++++++++-------
 src/fdstream.c           | 84 ++++++++++++++++++++++++++++++------------------
 src/rpc/virnetprotocol.x |  7 ++--
 3 files changed, 88 insertions(+), 45 deletions(-)

-- 
2.7.3




More information about the libvir-list mailing list