Adrian Bunk wrote:On Tue, Oct 23, 2007 at 06:36:40PM -0400, Jeff Garzik wrote:KVM is currently completely broken for the !CONFIG_SMP case.
drivers/kvm/kvm_main.c: In function âkvm_flush_remote_tlbsâ:
drivers/kvm/kvm_main.c:220: error: implicit declaration of function âsmp_call_function_maskâ
Signed-off-by: Jeff Garzik <jgarzik@xxxxxxxxxx>
---
I hope the KVM maintainer can come up with a better solution...
diff --git a/drivers/kvm/Kconfig b/drivers/kvm/Kconfig
index 8749fa4..e35fbc6 100644
--- a/drivers/kvm/Kconfig
+++ b/drivers/kvm/Kconfig
@@ -16,7 +16,7 @@ if VIRTUALIZATION
config KVM
tristate "Kernel-based Virtual Machine (KVM) support"
- depends on X86 && EXPERIMENTAL
+ depends on X86 && EXPERIMENTAL && SMP
...
Assuming it won't get fixed soon, the pattern would be "(SMP || BROKEN)".
The effect is the same, but this makes it more obvious that KVM does not depend architecturally on SMP but just broken.
Of course, the preferred solution is to simply get KVM fixed...
In general I agree, but I specifically avoided CONFIG_BROKEN in case it was an intentional choice to require an SMP kernel.