On Wednesday 07 November 2007 10:55:55 Matthias Kaehlcke wrote:
This patch should fix this error.
Signed-off-by: Miguel Boton <mboton@gmail.com>
Index: linux-2.6.24-rc2/drivers/kvm/kvm_main.c
===================================================================
--- linux-2.6.24-rc2.orig/drivers/kvm/kvm_main.c
+++ linux-2.6.24-rc2/drivers/kvm/kvm_main.c
@@ -217,7 +217,10 @@
if (cpu != -1 && cpu != raw_smp_processor_id())
cpu_set(cpu, cpus);
}
+
+#ifdef CONFIG_SMP
smp_call_function_mask(cpus, ack_flush, NULL, 1);
+#endif
}
int kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id)
--
Miguel Botón
-