Current git for me (b1d0e4f535e10775cffde922208b49629169aeaa) doesn't
let me build KVM. In fact, I don't seem to have *ANY* kvm-related
symbols in my .config at all.
I've verified that arch/x86/kvm/Kconfig was getting run by putting some
comments in it. It seems to me like just putting:
isn't letting anything come into my .config at all. I'm not sure why we
do that, and then have:
This patch just defines HAVE_KVM in the x86 Kconfig and is done with it.
Seems to work for me.
Was there some reason that it was done this way? Was it ever tested?
Signed-off-by: Dave Hansen <firstname.lastname@example.org>
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 65a70b7..cbbf35d 100644
@@ -115,7 +115,8 @@ config ARCH_HAS_CPU_RELAX
+ def_bool y
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index 41962e7..f2177ec 100644
@@ -1,8 +1,6 @@
# KVM configuration
i think it might be better to just move the select to after the "config
X86" option. (this is a legitimate use of select) Sam, do you concur?
(but, your current fix should go in ASAP, so no objections from me.)