<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 14, 2014 at 10:59 AM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":ka2" class="" style="overflow:hidden">Hmm I only partially understood what your log meant, and tried to<br>
improve it, but it's very partial. I think it's better to be explicit<br>
about main context/coroutine context here, maybe something like<br>
<span class=""><br>
"During migration, the main channel initiating the process is waiting<br>
</span>in the main context for connection completion.<br>
It's migrate_channel_event_cb() which is expected to yield back to the<br>
main context once all channels have completed connection"</div></blockquote></div><br></div><div class="gmail_extra">Not quite exact, migrate_channel_event_cb() is a signal handler, it<br>is in the main coroutine, and it yields back to the<br></div><div class="gmail_extra">coroutine which initiated the migration (the waiting main channel).<br></div><div class="gmail_extra"><br>What about?<br><br>"During migration, the main channel coroutine initiating the process is waiting<br></div><span class="">
</span>for connection completion of all channels. migrate_channel_event_cb() yields<br>back to the main channel coroutine once all channels have completed connection,<br>or it will abort migration for unexpected channel events, such as<br>SPICE_CHANNEL_CLOSED"<div class="gmail_extra"><br><br>-- <br><div class="gmail_signature">Marc-André Lureau</div>
</div></div>