summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@linux.intel.com>2015-06-15 16:55:24 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-19 17:16:27 +0200
commit70109e7d9d4ac7182786ddf7cd53bc651a157896 (patch)
tree39917118b57b0cdd0125b298bac4d39f077018cd /arch/x86/kvm/x86.c
parenteb839917a75207b89799e3500211163cb6de0dea (diff)
downloadlwn-70109e7d9d4ac7182786ddf7cd53bc651a157896.tar.gz
lwn-70109e7d9d4ac7182786ddf7cd53bc651a157896.zip
KVM: MTRR: remove mtrr_state.have_fixed
vMTRR does not depend on any host MTRR feature and fixed MTRRs have always been implemented, so drop this field Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index fb6c9a11b5c1..2ffad7f2a28e 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -7379,7 +7379,6 @@ int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu)
{
int r;
- vcpu->arch.mtrr_state.have_fixed = 1;
r = vcpu_load(vcpu);
if (r)
return r;