]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Rename vmx_*_supported() helpers to cpu_has_vmx_*()
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 23 Sep 2020 16:50:45 +0000 (09:50 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:29 +0000 (07:57 -0400)
commita8a3afd693f522eb3ffc7d286a91a1083e5add97
treeb7343cb27a754ba41be3c3504c7371f4b77ebe41
parent25738b5828fc31bfa2d07a0f571ada25f985ddd5
KVM: VMX: Rename vmx_*_supported() helpers to cpu_has_vmx_*()

Rename helpers for a few controls to conform to the more prevelant style
of cpu_has_vmx_<feature>().  Consistent names will allow adding macros
to consolidate the boilerplate code for adjusting secondary execution
controls.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200923165048.20486-2-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/capabilities.h
arch/x86/kvm/vmx/vmx.c