configure: introduce --enable-vhost-user-blk-server
commitbc15e44cb2191bbb2318878acdf5038134e56394
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 27 Oct 2020 17:35:18 +0000 (27 17:35 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 3 Nov 2020 21:39:05 +0000 (3 16:39 -0500)
tree04c5da05521a98cc3088c673d6e524e46ec36ae6
parentde65d4978571769eae98e4d757b23dcd03313ba2
configure: introduce --enable-vhost-user-blk-server

Make it possible to compile out the vhost-user-blk server. It is enabled
by default on Linux.

Note that vhost-user-server.c depends on libvhost-user, which requires
CONFIG_LINUX. The CONFIG_VHOST_USER dependency was erroneous since that
option controls vhost-user frontends (previously known as "master") and
not device backends (previously known as "slave").

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201027173528.213464-3-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
block/export/export.c
block/export/meson.build
configure
util/meson.build