[Qemu-devel] [PATCH 11/12] migration: handle EAGAIN while reading QEMUFile

2012-11-02 Thread Paolo Bonzini
This will never happen right now (the assertion would fail). The next patch will set the socket or pipe in non-blocking mode, thus enabling this part of the code. Coroutines can just stop whenever they want with qemu_coroutine_yield. As soon as select tells the main loop that the migration stream

Re: [Qemu-devel] [PATCH 11/12] migration: handle EAGAIN while reading QEMUFile

2012-10-28 Thread Orit Wasserman
On 10/18/2012 12:22 PM, Paolo Bonzini wrote: > This will never happen right now (the assertion would fail). The > next patch will set the socket or pipe in non-blocking mode, thus > enabling this part of the code. > > Coroutines can just stop whenever they want with qemu_coroutine_yield. > As soo

[Qemu-devel] [PATCH 11/12] migration: handle EAGAIN while reading QEMUFile

2012-10-18 Thread Paolo Bonzini
This will never happen right now (the assertion would fail). The next patch will set the socket or pipe in non-blocking mode, thus enabling this part of the code. Coroutines can just stop whenever they want with qemu_coroutine_yield. As soon as select tells the main loop that the migration stream