configure, meson: allow enabling vhost-user on all POSIX systems
authorSergio Lopez <slp@redhat.com>
Fri, 4 Mar 2022 10:08:53 +0000 (11:08 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 6 Mar 2022 11:19:47 +0000 (06:19 -0500)
commiteb9baecdb3aef37ef4952bd4014f14c9d057fa18
tree6154132184859bb80d3039acbc4698751579f6f2
parentff5eb77b8af2710acaf5041b117490dd6bedcebd
configure, meson: allow enabling vhost-user on all POSIX systems

With the possibility of using a pipe pair via qemu_pipe() as a
replacement on operating systems that doesn't support eventfd,
vhost-user can also work on all POSIX systems.

This change allows enabling vhost-user on all non-Windows platforms
and makes libvhost_user (which still depends on eventfd) a linux-only
feature.

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220304100854.14829-4-slp@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
configure
meson.build