diff options
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | 2015-06-15 11:55:26 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-19 18:16:27 +0300 |
commit | 10fac2dc2b3b549d371d67f57193362b6bcc6dfd (patch) | |
tree | 46ff2ff06c87fb8affa835b655282fbcd8163972 /arch/x86/include | |
parent | 910a6aae4e2e45855efc4a268e43eed2d8445575 (diff) | |
download | linux-10fac2dc2b3b549d371d67f57193362b6bcc6dfd.tar.xz |
KVM: MTRR: clean up mtrr default type
Drop kvm_mtrr->enable, omit the decode/code workload and get rid of
all the hard code
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index fe9cbe49e272..8d43006a6df0 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -345,8 +345,7 @@ enum { struct kvm_mtrr { struct mtrr_var_range var_ranges[KVM_NR_VAR_MTRR]; mtrr_type fixed_ranges[KVM_NR_FIXED_MTRR_REGION]; - unsigned char enabled; - mtrr_type def_type; + u64 deftype; }; struct kvm_vcpu_arch { |