[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/4] configure: Fix the default setting of the "xen" feature
From: |
Thomas Huth |
Subject: |
[PATCH 3/4] configure: Fix the default setting of the "xen" feature |
Date: |
Tue, 13 Jul 2021 11:31:54 +0200 |
The "xen" variable should either contain "enabled", "disabled" or
nothing (for auto detection). But when the user currently runs the
configure script with --without-default-features, it gets set to
"no" instead. This does not work as expected, the feature will still
be enabled if the Xen headers are present. Thus set the variable
to "disabled" instead if default_feature switch has been set.
Reported-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 1974c46f6e..6c7336b763 100755
--- a/configure
+++ b/configure
@@ -311,7 +311,7 @@ vnc_sasl="auto"
vnc_jpeg="auto"
vnc_png="auto"
xkbcommon="auto"
-xen="$default_feature"
+xen=${default_feature:+disabled}
xen_ctrl_version="$default_feature"
xen_pci_passthrough="auto"
linux_aio="$default_feature"
--
2.27.0
- [PATCH 0/4] Fixes for the --without-default-features configure switch, Thomas Huth, 2021/07/13
- [PATCH 2/4] configure: Allow vnc to get disabled with --without-default-features, Thomas Huth, 2021/07/13
- [PATCH 3/4] configure: Fix the default setting of the "xen" feature,
Thomas Huth <=
- [PATCH 4/4] configure: Let --without-default-features disable vhost-kernel and vhost-vdpa, Thomas Huth, 2021/07/13
- Re: [PATCH 0/4] Fixes for the --without-default-features configure switch, Cole Robinson, 2021/07/13
- Re: [PATCH 0/4] Fixes for the --without-default-features configure switch, Paolo Bonzini, 2021/07/14