diff options
author | Sean Christopherson <[email protected]> | 2023-07-21 13:18:43 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-08-03 15:37:14 -0700 |
commit | 119b5cb4ffd0166f3e98e9ee042f5046f7744f28 (patch) | |
tree | 06589a358bee13b5b6bae25c3ce159f191f71ea0 /net/lapb/lapb_out.c | |
parent | 5e408396c60cd0f0b53a43713016b6d6af8d69e0 (diff) |
x86/reboot: KVM: Handle VMXOFF in KVM's reboot callback
Use KVM VMX's reboot/crash callback to do VMXOFF in an emergency instead
of manually and blindly doing VMXOFF. There's no need to attempt VMXOFF
if a hypervisor, i.e. KVM, isn't loaded/active, i.e. if the CPU can't
possibly be post-VMXON.
Reviewed-by: Kai Huang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions