aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-06-18 14:33:39 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-10 18:02:21 -0400
commit06e89e13be25ef48196cb8ff40e9aeb3bf72f86b (patch)
tree5d5fb6c5097d57881b45e52234a310b290fb355d
parent1e0ef873d9b271d373ce6d3aac6c99552b0d4a00 (diff)
accel/Kconfig: Extract accel selectors into their own config
Move the accel selectors from the global Kconfig.host to their own Kconfig file. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--Kconfig.host7
-rw-r--r--Makefile1
-rw-r--r--accel/Kconfig6
3 files changed, 7 insertions, 7 deletions
diff --git a/Kconfig.host b/Kconfig.host
index 55136e037d..a6d871c399 100644
--- a/Kconfig.host
+++ b/Kconfig.host
@@ -2,9 +2,6 @@
# down to Kconfig. See also MINIKCONF_ARGS in the Makefile:
# these two need to be kept in sync.
-config KVM
- bool
-
config LINUX
bool
@@ -31,10 +28,6 @@ config VHOST_KERNEL
bool
select VHOST
-config XEN
- bool
- select FSDEV_9P if VIRTFS
-
config VIRTFS
bool
diff --git a/Makefile b/Makefile
index b96a2d8790..ae025d41ea 100644
--- a/Makefile
+++ b/Makefile
@@ -420,6 +420,7 @@ MINIKCONF_ARGS = \
MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host \
$(SRC_PATH)/backends/Kconfig \
+ $(SRC_PATH)/accel/Kconfig \
$(SRC_PATH)/hw/Kconfig
MINIKCONF_DEPS = $(MINIKCONF_INPUTS) \
$(wildcard $(SRC_PATH)/hw/*/Kconfig)
diff --git a/accel/Kconfig b/accel/Kconfig
new file mode 100644
index 0000000000..c21802bb49
--- /dev/null
+++ b/accel/Kconfig
@@ -0,0 +1,6 @@
+config KVM
+ bool
+
+config XEN
+ bool
+ select FSDEV_9P if VIRTFS