[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] sorecvfrom freezes guest
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] sorecvfrom freezes guest |
Date: |
Thu, 28 Feb 2019 12:14:45 +0100 |
Hi,
On Thu, Feb 28, 2019 at 11:45 AM llyzs <address@hidden> 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 <address@hidden> (maintainer:SLIRP)
Jan Kiszka <address@hidden> (maintainer:SLIRP)
address@hidden (open list:All patches CC here)
(see also https://wiki.qemu.org/Contribute/SubmitAPatch)
--
Marc-André Lureau