Hi, On Thu, Feb 28, 2019 at 11:45 AM llyzs <[email protected]> wrote: > > Hi, > > I am having a guest freeze issue (win10), and through debugging I found out > that sometimes sorecvfrom() is called from slirp.c because revents == > G_IO_IN, however inside sorecvfrom() function, ioctlsocket() returns 0 > bytes available and recvfrom could be blocking indefinitely. I am not sure > the root cause of the situation, but I added a non-blocking check to > recvfrom and it fixed my issue. My patch is as attached. Please check if > this is a right fix.
Thank you for the patch. Could you resend it inline, with the comment in the commit message? Also add the subsystem maintainers in CC: $ scripts/get_maintainer.pl -f slirp Samuel Thibault <[email protected]> (maintainer:SLIRP) Jan Kiszka <[email protected]> (maintainer:SLIRP) [email protected] (open list:All patches CC here) (see also https://wiki.qemu.org/Contribute/SubmitAPatch) -- Marc-André Lureau
