Re: [Qemu-devel] [PATCH v12 19/21] migration: Wait for blocking IO

2018-05-03 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > We have three conditions here: > - channel fails -> error > - we have to quit: we close the channel and reads fails > - normal read that success, we are in bussiness > > So forget the complications of waiting in a semaphore. > > Signed-off-by: Juan

[Qemu-devel] [PATCH v12 19/21] migration: Wait for blocking IO

2018-04-25 Thread Juan Quintela
We have three conditions here: - channel fails -> error - we have to quit: we close the channel and reads fails - normal read that success, we are in bussiness So forget the complications of waiting in a semaphore. Signed-off-by: Juan Quintela --- migration/ram.c | 81