Xiao Guangrong e6c7d32172 KVM: VMX: fix invalid cpu passed to smp_call_function_single
In loaded_vmcs_clear, loaded_vmcs->cpu is the fist parameter passed to
smp_call_function_single, if the target cpu is downing (doing cpu hot remove),
loaded_vmcs->cpu can become -1 then -1 is passed to smp_call_function_single

It can be triggered when vcpu is being destroyed, loaded_vmcs_clear is called
in the preemptionable context

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2012-11-28 22:04:58 -02:00
..
2012-09-05 12:41:09 +03:00
2010-10-24 10:53:14 +02:00
2012-09-10 11:10:03 +03:00
2012-11-27 23:29:11 -02:00
2012-09-20 15:05:26 +03:00
2012-08-06 16:04:57 +03:00
2012-09-20 13:00:09 +03:00
2012-07-26 11:54:21 +03:00