Skip to content
Commit 261cd5ed authored by Sean Christopherson's avatar Sean Christopherson
Browse files

x86/reboot: Expose VMCS crash hooks if and only if KVM_{INTEL,AMD} is enabled



Expose the crash/reboot hooks used by KVM to disable virtualization in
hardware and unblock INIT only if there's a potential in-tree user,
i.e. either KVM_INTEL or KVM_AMD is enabled.

Reviewed-by: default avatarKai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20230721201859.2307736-9-seanjc@google.com
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 59765db5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment