Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe
  • Repository
Switch branch/tag
  • ipipe
  • arch
  • x86
  • kvm
  • vmx.c
Find file BlameHistoryPermalink
  • Xiao Guangrong's avatar
    KVM: VMX: fix invalid cpu passed to smp_call_function_single · e6c7d321
    Xiao Guangrong authored Nov 28, 2012
    
    
    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: default avatarXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
    Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
    e6c7d321

Imprint & Privacy Policy