diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2012-11-28 12:53:15 (GMT) |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-11-29 00:04:58 (GMT) |
commit | e6c7d32172f10b68fa9a3be05aa1231352a52171 (patch) | |
tree | 112c643ad9c04f31f654c31f218ad38cb31e08d1 /crypto/crypto_null.c | |
parent | 859f8450d8a334a7f7cb994e4676cf918deff832 (diff) | |
download | linux-fsl-qoriq-e6c7d32172f10b68fa9a3be05aa1231352a52171.tar.xz |
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>
Diffstat (limited to 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions