[libvirt-users] No way to stop virStream error after guest stop

JosÉ Luis Valencia Gutierrez jvalencia at id.uff.br
Wed May 24 15:10:41 UTC 2017


That is great, calling Abort also should remove the callbacks.

On Wed, 24 May 2017 11:11 Martin Kletzander, <mkletzan at redhat.com> wrote:

> On Wed, May 17, 2017 at 07:53:35PM +0000, JosÉ Luis Valencia Gutierrez
> wrote:
> >I just tried removing the callback before calling virStreamFinish and it
> >worked right, I thought by simply finish the stream would stop the events
> >and close it, the example I was based on only calls virStreamFinish on EOF
> >event.
> >
>
> I'm working on a patch that removes the callbacks after calling Finish.
> Our docs don't really say it's needed and I don't (yet) see the point in
> requiring that.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170524/0039530a/attachment.htm>


More information about the libvirt-users mailing list