util/qemu-sockets: Enable unix socket support on Windows
commitd409373b9d0482bbce312539d02a648cbb1c790a
authorBin Meng <bin.meng@windriver.com>
Tue, 2 Aug 2022 07:51:58 +0000 (2 15:51 +0800)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 2 Sep 2022 11:54:46 +0000 (2 15:54 +0400)
treecb47b4d4406aae190c2e9a932f40f52fb414fe3f
parent93fac696d241dccb04ebb9d23da55fc1e9d8ee36
util/qemu-sockets: Enable unix socket support on Windows

Support for the unix socket has existed both in BSD and Linux for the
longest time, but not on Windows. Since Windows 10 build 17063 [1],
the native support for the unix socket has come to Windows. Starting
this build, two Win32 processes can use the AF_UNIX address family
over Winsock API to communicate with each other.

[1] https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/

Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220802075200.907360-3-bmeng.cn@gmail.com>
include/sysemu/os-win32.h
meson.build
util/qemu-sockets.c