qemu/contrib/ivshmem-server
Marc-André Lureau ff5927baa7 util: rename qemu_*block() socket functions
The qemu_*block() functions are meant to be be used with sockets (the
win32 implementation expects SOCKET)

Over time, those functions where used with Win32 SOCKET or
file-descriptors interchangeably. But for portability, they must only be
used with socket-like file-descriptors. FDs can use
g_unix_set_fd_nonblocking() instead.

Rename the functions with "socket" in the name to prevent bad usages.

This is effectively reverting commit f9e8cacc55 ("oslib-posix:
rename socket_set_nonblock() to qemu_set_nonblock()").

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2022-05-03 15:53:20 +04:00
..
ivshmem-server.c util: rename qemu_*block() socket functions 2022-05-03 15:53:20 +04:00
ivshmem-server.h qemu/queue.h: leave head structs anonymous unless necessary 2019-01-11 15:46:55 +01:00
main.c contrib: Add spaces around operator 2021-02-18 08:17:17 +00:00
meson.build meson: build contrib/ executables after generated headers 2022-01-12 14:09:06 +01:00