summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThomas Huth2021-07-13 11:31:55 +0200
committerPaolo Bonzini2021-07-22 14:44:51 +0200
commit0848f8aca6f7b13f2a755c2593b0a1cbb39f658e (patch)
tree6ac60107f1a6e3725a361b6819adec0ac599f08c /configure
parentconfigure: Fix the default setting of the "xen" feature (diff)
downloadqemu-0848f8aca6f7b13f2a755c2593b0a1cbb39f658e.tar.gz
qemu-0848f8aca6f7b13f2a755c2593b0a1cbb39f658e.tar.xz
qemu-0848f8aca6f7b13f2a755c2593b0a1cbb39f658e.zip
configure: Let --without-default-features disable vhost-kernel and vhost-vdpa
The vhost_kernel and vhost_vdpa variables should be pre-initialized with the $default_feature setting so that these features get disabled when the user runs the configure scripts with --without-default-features. Reported-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210713093155.677589-5-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 40fa8cc26e..2a6d23a844 100755
--- a/configure
+++ b/configure
@@ -321,6 +321,7 @@ attr="auto"
xfs="$default_feature"
tcg="enabled"
membarrier="$default_feature"
+vhost_kernel="$default_feature"
vhost_net="$default_feature"
vhost_crypto="$default_feature"
vhost_scsi="$default_feature"
@@ -328,6 +329,7 @@ vhost_vsock="$default_feature"
vhost_user="no"
vhost_user_blk_server="auto"
vhost_user_fs="$default_feature"
+vhost_vdpa="$default_feature"
bpf="auto"
kvm="auto"
hax="auto"