summary refs log tree commit diff stats
path: root/hw/hyperv/hyperv.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-04-01 15:50:05 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-06 14:31:55 +0200
commit9d734b85ed8d89bb9ab8c456b4df23dedf8dbf76 (patch)
tree3ea874e82996ac71e2e620e0db31e3bcc0aeb648 /hw/hyperv/hyperv.c
parent3015321dc49a1e702a7fcc242ed7233d46d27209 (diff)
downloadfocaccia-qemu-9d734b85ed8d89bb9ab8c456b4df23dedf8dbf76.tar.gz
focaccia-qemu-9d734b85ed8d89bb9ab8c456b4df23dedf8dbf76.zip
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 'hw/hyperv/hyperv.c')
0 files changed, 0 insertions, 0 deletions