<div dir="ltr">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 have a workaround.<div><br></div><div>Jose V.</div><div><div class="gmail_quote"><div dir="ltr">Em ter, 16 de mai de 2017 às 05:28, Martin Kletzander <<a href="mailto:mkletzan@redhat.com" target="_blank">mkletzan@redhat.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Apr 28, 2017 at 11:01:18PM +0000, JosÉ Luis Valencia Gutierrez wrote:<br>
>Hello everyone,<br>
>I am opening a virChannel(unix) to a domain and receiving data with a<br>
>non-blocking virStream using events, when the connected domain gets<br>
>stopped(which deletes the channel unix socket) by calling destroy,<br>
>shutdown, pause or migrate on that domain, with the stream open the read<br>
>event is triggered repeatedly, and virStreamRecv returns 0 bytes indicating<br>
> EOF but neither  virStreamFinish nor virStreamFinish is working to stop<br>
>the stream to trigger the event . Each time the event is called I got this<br>
>errors.<br>
><br>
>libvirt: I/O Stream Utils error : this function is not supported by<br>
>the connection driver: virStreamRecv<br>
><br>
>libvirt: I/O Stream Utils error : this function is not supported by<br>
>the connection driver: virStreamFinish<br>
><br>
>libvirt: I/O Stream Utils error : this function is not supported by<br>
>the connection driver: virStreamEventRemoveCallback<br>
><br>
><br>
>Is there other way to stop getting this errors? or perhaps this is a bug.<br>
><br>
<br>
This sounds like a bug.  Do you get no other event than just _READABLE?<br>
No _HANGUP or _ERROR?  Does virStreamAbort() work, even though it's<br>
probably not what you are looking for?<br>
<br>
>Thanks in advance.<br>
><br>
>Jose Valencia<br>
<br>
>_______________________________________________<br>
>libvirt-users mailing list<br>
><a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br>
><a href="https://www.redhat.com/mailman/listinfo/libvirt-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
</blockquote></div></div></div>