On 27/04/2022 12.33, Marc-André Lureau wrote:
Hi
On Wed, Apr 27, 2022 at 1:41 PM Thomas Huth <[email protected]> wrote:
On 26/04/2022 11.27, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The call is POSIX-specific. Use the dedicated GLib API.
g_unix_set_fd_nonblocking() is also available on Unix-like systems according
to its name, I suppose? So what's the advantage of this change?
This is a preliminary patch before the last patch
(https://patchew.org/QEMU/[email protected]/[email protected]/)
We should reserve qemu_socket_set_*block() usage to socket-like fd.
Ok, makes sense now, thanks.
Reviewed-by: Thomas Huth <[email protected]>
PS: In case you respin, it might make sense to add a sentence à la "We're
going to limit qemu_set_nonblock() to sockets only" to the commit description.