Skip to contentSkip to conversation

KVM is not seen under X86 config with latest git (32 bit compile)

PATCH Balbir Singh 2 participants 2 messages Feb 10, 2008 x86

lore
Share & tools
lore
#0 lore raw

The KVM configuration is no longer visible in the latest git tree. It looks like it is selected by HAVE_SETUP_PER_CPU_AREA. I've moved HAVE_KVM to under CONFIG_X86. Hopefully, this is the right fix.

Comments?

---

 arch/x86/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/Kconfig renamed from arch/x86/Kconfig~fix-kvm-build +2 -2
diff -puN arch/x86/Kconfig~fix-kvm-build arch/x86/Kconfig
@@ -20,6 +20,8 @@ config X86
 	def_bool y
 	select HAVE_OPROFILE
 	select HAVE_KPROBES
+	select HAVE_KVM
+
 
 config GENERIC_LOCKBREAK
 	def_bool n
@@ -108,8 +110,6 @@ config GENERIC_TIME_VSYSCALL
 config HAVE_SETUP_PER_CPU_AREA
 	def_bool X86_64
 
-select HAVE_KVM
-
 config ARCH_HIBERNATION_POSSIBLE
 	def_bool y
 	depends on !SMP || !X86_VOYAGER

_

Signature · 4 lines
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
Acked-by
#1 lore raw
Quoted 5 lines · Balbir Singh

The KVM configuration is no longer visible in the latest git tree. It looks like it is selected by HAVE_SETUP_PER_CPU_AREA. I've moved HAVE_KVM to under CONFIG_X86. Hopefully, this is the right fix.

Yes, this was caused by my misunderstanding of the Kconfig language.

Signature · 1 line
error compiling committee.c: too many arguments to function