diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-06-02 20:17:24 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-07-23 20:04:23 +0200 |
commit | dfa169bbee00671288df25f8ef8a2f6e13fe2581 (patch) | |
tree | 83b9161f5764953ab2a9d2de1c6b81411b460270 /arch/x86/kvm/cpuid.h | |
parent | nfit, tools/testing/nvdimm/: unify shutdown paths (diff) | |
download | linux-dfa169bbee00671288df25f8ef8a2f6e13fe2581.tar.xz linux-dfa169bbee00671288df25f8ef8a2f6e13fe2581.zip |
Revert "KVM: x86: add pcommit support"
This reverts commit 8b3e34e46aca9b6d349b331cd9cf71ccbdc91b2e.
Given the deprecation of the pcommit instruction, the relevant VMX
features and CPUID bits are not going to be rolled into the SDM. Remove
their usage from KVM.
Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/x86/kvm/cpuid.h')
-rw-r--r-- | arch/x86/kvm/cpuid.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h index e17a74b1d852..35058c2c0eea 100644 --- a/arch/x86/kvm/cpuid.h +++ b/arch/x86/kvm/cpuid.h @@ -144,14 +144,6 @@ static inline bool guest_cpuid_has_rtm(struct kvm_vcpu *vcpu) return best && (best->ebx & bit(X86_FEATURE_RTM)); } -static inline bool guest_cpuid_has_pcommit(struct kvm_vcpu *vcpu) -{ - struct kvm_cpuid_entry2 *best; - - best = kvm_find_cpuid_entry(vcpu, 7, 0); - return best && (best->ebx & bit(X86_FEATURE_PCOMMIT)); -} - static inline bool guest_cpuid_has_rdtscp(struct kvm_vcpu *vcpu) { struct kvm_cpuid_entry2 *best; |