Set features which depend on the config we select to make 'make kvmconfig'
non-interactive.

Signed-off-by: Sasha Levin <levinsasha...@gmail.com>
---
 arch/x86/Kconfig         |    1 +
 scripts/kconfig/Makefile |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 8f74dc0..d553840 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -522,6 +522,7 @@ config KVMTOOL_TEST_ENABLE
        select DEBUG_KERNEL
        select KGDB
        select KGDB_SERIAL_CONSOLE
+       select VIRTUALIZATION
        select VIRTIO
        select VIRTIO_RING
        select VIRTIO_PCI
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 65580c2..58a4259 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -35,6 +35,7 @@ silentoldconfig: $(obj)/conf
 
 kvmconfig:
        $(Q)$(CONFIG_SHELL) $(srctree)/scripts/config -e KVMTOOL_TEST_ENABLE
+       $(Q)yes "" | make oldconfig > /dev/null
        @echo 'Kernel configuration modified to run as KVM guest.'
 
 # if no path is given, then use src directory to find file
-- 
1.7.8

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to