kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kvm tools: Fix 'make kvmconfig'
@ 2011-12-16  8:58 Sasha Levin
  2011-12-16  8:58 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2011-12-16  8:58 UTC (permalink / raw)
  To: penberg; +Cc: mingo, gorcunov, asias.hejun, kvm, Sasha Levin

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

Signed-off-by: Sasha Levin <levinsasha928@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kvm tools: Fix 'make kvmconfig'
  2011-12-16  8:58 [PATCH] kvm tools: Fix 'make kvmconfig' Sasha Levin
@ 2011-12-16  8:58 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2011-12-16  8:58 UTC (permalink / raw)
  To: Sasha Levin; +Cc: penberg, gorcunov, asias.hejun, kvm


* Sasha Levin <levinsasha928@gmail.com> wrote:

> Set features which depend on the config we select to make 'make kvmconfig'
> non-interactive.
> 
> Signed-off-by: Sasha Levin <levinsasha928@gmail.com>

Acked-by: Ingo Molnar <mingo@elte.hu>

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-16  9:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16  8:58 [PATCH] kvm tools: Fix 'make kvmconfig' Sasha Levin
2011-12-16  8:58 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).