Skip to contentSkip to conversation

kvm tools: Fix 'make kvmconfig'

PATCH In review Sasha Levin 2 participants 2 messages Dec 16, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm tools: Fix 'make kvmconfig'

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

---
 arch/x86/Kconfig         |    1 +
 scripts/kconfig/Makefile |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
arch/x86/Kconfig +1 -0
index 8f74dc0..d553840 100644
@@ -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
scripts/kconfig/Makefile +1 -0
index 65580c2..58a4259 100644
@@ -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
Signature · 1 line
1.7.8