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

2017-06-02 Thread Martin Kletzander
On Wed, May 24, 2017 at 03:10:41PM +, JosÉ Luis Valencia Gutierrez wrote: That is great, calling Abort also should remove the callbacks. This didn't go through, I'll at least try documenting it, although that brings in a lot of other changes that should be in the documentation. On Wed, 2

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

2017-05-24 Thread JosÉ Luis Valencia Gutierrez
That is great, calling Abort also should remove the callbacks. On Wed, 24 May 2017 11:11 Martin Kletzander, wrote: > On Wed, May 17, 2017 at 07:53:35PM +, JosÉ Luis Valencia Gutierrez > wrote: > >I just tried removing the callback before calling virStreamFinish and it > >worked right, I thou

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

2017-05-24 Thread Martin Kletzander
On Wed, May 17, 2017 at 07:53:35PM +, 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 E

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

2017-05-17 Thread JosÉ Luis Valencia Gutierrez
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. Em qua, 17 de mai de 2017 às 12:49, Martin Kletzander escreveu: >

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

2017-05-17 Thread Martin Kletzander
On Wed, May 17, 2017 at 09:08:14AM +0200, Martin Kletzander wrote: On Wed, May 17, 2017 at 01:01:39AM +, JosÉ Luis Valencia Gutierrez wrote: I get just _READABLE events repeatedly, virStreamAbort() doesn't work, it gets out of control after the target domain stops and the unix scocket is del

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

2017-05-17 Thread Martin Kletzander
On Wed, May 17, 2017 at 01:01:39AM +, JosÉ Luis Valencia Gutierrez wrote: I get just _READABLE events repeatedly, virStreamAbort() doesn't work, it gets out of control after the target domain stops and the unix scocket is deleted. I ended connecting directly to the unix socket. I just wanted

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

2017-05-16 Thread JosÉ Luis Valencia Gutierrez
I get just _READABLE events repeatedly, virStreamAbort() doesn't work, it gets out of control after the target domain stops and the unix scocket is deleted. I ended connecting directly to the unix socket. I just wanted to ask if it certainly is a bug or perhaps someone went through this before and

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

2017-05-16 Thread Martin Kletzander
On Fri, Apr 28, 2017 at 11:01:18PM +, JosÉ Luis Valencia Gutierrez wrote: Hello everyone, I am opening a virChannel(unix) to a domain and receiving data with a non-blocking virStream using events, when the connected domain gets stopped(which deletes the channel unix socket) by calling destroy

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

2017-04-29 Thread JosÉ Luis Valencia Gutierrez
Hello everyone, I am opening a virChannel(unix) to a domain and receiving data with a non-blocking virStream using events, when the connected domain gets stopped(which deletes the channel unix socket) by calling destroy, shutdown, pause or migrate on that domain, with the stream open the read event