x86/virt: KVM: Move VMXOFF helpers into KVM VMX
authorSean Christopherson <seanjc@google.com>
Fri, 21 Jul 2023 20:18:50 +0000 (13:18 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 3 Aug 2023 22:37:15 +0000 (15:37 -0700)
commit22e420e127399f2e75c8efddff763e92247f3da7
tree698c937852366728ccb6c3fce1bcb4a72b97ecb6
parentb6a6af0d19cea17a3c1e34f81f0d521775f94ab5
x86/virt: KVM: Move VMXOFF helpers into KVM VMX

Now that VMX is disabled in emergencies via the virt callbacks, move the
VMXOFF helpers into KVM, the only remaining user.

No functional change intended.

Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20230721201859.2307736-11-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/virtext.h
arch/x86/kvm/vmx/vmx.c