On 06/22/2017 08:30 AM, Michal Privoznik wrote:
> Problem with our error reporting is that the error object is a
> thread local variable. That means if there's an error reported
> within the I/O thread it gets logged and everything, but later
> when the event loop aborts the stream it doesn't see the original
> error. So we are left with some generic error. We can do better
> if we copy the error message between the threads.
> 
> Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
> ---
>  daemon/stream.c        | 18 ++++++++++++------
>  src/util/virfdstream.c |  9 ++++++---
>  2 files changed, 18 insertions(+), 9 deletions(-)
> 

Reviewed-by: John Ferlan <jfer...@redhat.com>

John

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

Reply via email to