On 06/22/2017 08:30 AM, Michal Privoznik wrote:
If one these four functions fail (virStreamRecvAll,
virStreamSendAll, virStreamSparseRecvAll, virStreamSparseSendAll)
the stream is aborted by calling virStreamAbort(). This is,
however, an public API - therefore the first thing it does is
This is a public API; therefore, the ...
error reset. At that point any error that caused us to abort
stream in the first place is gone.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/libvirt-stream.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
Reviewed-by: John Ferlan <jferlan(a)redhat.com>
John