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

Re: [libvirt] [PATCH] docs: Add callback-related info to virStream{Abort, Finish}




On 06/20/2017 10:15 AM, Martin Kletzander wrote:
> When one has a non-blocking stream and aborts or finishes it without
> removing the callback, any event loop invocation will trigger that
> callback, but it cannot be removed any more.  We cannot remove the
> callback automatically from virStream{Abort,Finish} functions due to
> forward-compatibility.  So let's at least document this behaviour,
> because it is not easy to find out the reason for.
> 
> Signed-off-by: Martin Kletzander <mkletzan redhat com>
> ---
> 
> Notes:
>     The discussion about the reasons:
>     https://www.redhat.com/archives/libvir-list/2017-June/msg00038.html
> 
>  src/libvirt-stream.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: John Ferlan <jferlan redhat com>

John


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