diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-04-01 15:50:05 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-06 14:31:55 +0200 |
commit | 9d734b85ed8d89bb9ab8c456b4df23dedf8dbf76 (patch) | |
tree | 3ea874e82996ac71e2e620e0db31e3bcc0aeb648 /include/sysemu/runstate.h | |
parent | 3015321dc49a1e702a7fcc242ed7233d46d27209 (diff) | |
download | qemu-9d734b85ed8d89bb9ab8c456b4df23dedf8dbf76.zip qemu-9d734b85ed8d89bb9ab8c456b4df23dedf8dbf76.tar.gz qemu-9d734b85ed8d89bb9ab8c456b4df23dedf8dbf76.tar.bz2 |
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 <marcandre.lureau@redhat.com>
Message-Id: <20220401115005.2204000-1-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/runstate.h')
0 files changed, 0 insertions, 0 deletions