diff options
author | Sean Christopherson <seanjc@google.com> | 2023-07-21 13:18:43 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-08-03 15:37:14 -0700 |
commit | 119b5cb4ffd0166f3e98e9ee042f5046f7744f28 (patch) | |
tree | 06589a358bee13b5b6bae25c3ce159f191f71ea0 /tools/perf/scripts/python/export-to-postgresql.py | |
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 <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20230721201859.2307736-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions