1
0

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>
Este cometimento está contido em:
Xiao Guangrong
2015-06-15 16:55:24 +08:00
cometido por Paolo Bonzini
ascendente eb839917a7
cometimento 70109e7d9d
3 ficheiros modificados com 11 adições e 6 eliminações

Ver ficheiro

@@ -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;