* Paolo Bonzini (pbonz...@redhat.com) wrote: > > > On 29/03/2015 06:07, David Gibson wrote: > > On Sat, Mar 28, 2015 at 04:30:06PM +0100, Paolo Bonzini wrote: > >> > >> > >> On 25/02/2015 17:51, Dr. David Alan Gilbert (git) wrote: > >>> + if (err != EAGAIN) { > >> > >> if (err != EAGAIN && err != EWOULDBLOCK) > > > > I assume that's for the benefit of non-Linux hosts? On Linux > > EAGAIN == EWOULDBLOCK. > > Yes, that's just the standard idiom in QEMU. This is generic code, so > assumption based on the host platform are not wise. :)
Done; I didn't know of EWOULDBLOCK - and indeed as far as I can tell most places we only test for EAGAIN. > > Paolo -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK