Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • arch
  • x86
  • kernel
  • reboot.c
Find file BlameHistoryPermalink
  • Paolo Bonzini's avatar
    x86/reboot: emergency callbacks are now registered by common KVM code · 2a5fe5a0
    Paolo Bonzini authored Oct 01, 2024
    
    
    Guard them with CONFIG_KVM_X86_COMMON rather than the two vendor modules.
    In practice this has no functional change, because CONFIG_KVM_X86_COMMON
    is set if and only if at least one vendor-specific module is being built.
    However, it is cleaner to specify CONFIG_KVM_X86_COMMON for functions that
    are used in kvm.ko.
    
    Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    Fixes: 590b09b1 ("KVM: x86: Register "emergency disable" callbacks when virt is enabled")
    Fixes: 6d55a942
    
     ("x86/reboot: Unconditionally define cpu_emergency_virt_cb typedef")
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    2a5fe5a0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7