configure: Let --without-default-features disable vhost-kernel and vhost-vdpa
authorThomas Huth <thuth@redhat.com>
Tue, 13 Jul 2021 09:31:55 +0000 (11:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Jul 2021 12:44:51 +0000 (14:44 +0200)
commit0848f8aca6f7b13f2a755c2593b0a1cbb39f658e
tree6ac60107f1a6e3725a361b6819adec0ac599f08c
parentbcf0a7dabd8fe01f948801c49b9a948560fa346d
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>
configure