]> Git Repo - qemu.git/commit - meson.build
build-sys: simplify AF_VSOCK check
authorMarc-André Lureau <[email protected]>
Fri, 1 Apr 2022 11:50:05 +0000 (15:50 +0400)
committerPaolo Bonzini <[email protected]>
Wed, 6 Apr 2022 12:31:55 +0000 (14:31 +0200)
commit9d734b85ed8d89bb9ab8c456b4df23dedf8dbf76
tree3ea874e82996ac71e2e620e0db31e3bcc0aeb648
parent3015321dc49a1e702a7fcc242ed7233d46d27209
build-sys: simplify AF_VSOCK check

The current test checks more than AF_VSOCK availability, and doesn't
need to be that long.

Since its introduction in Linux in 2013, AF_VSOCK came with
linux/vm_sockets.h for sockaddr_vm, let's check that.

We could even go back to the initial configure-less approach
proposed by Stefan Hajnoczi, since Michael Roth added the configure-time
check back then to satisfy glibc in Ubuntu 14. See:
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg08208.html

Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <20220401115005.2204000[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
meson.build
This page took 0.022659 seconds and 4 git commands to generate.