On Fri, 2023-07-21 at 13:18 -0700, Sean Christopherson wrote: > 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. > > Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx> > Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>