KVM: MTRR: do not split 64 bits MSR content
Variable MTRR MSRs are 64 bits which are directly accessed with full length, no reason to split them to two 32 bits Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:

committed by
Paolo Bonzini

parent
10fac2dc2b
commit
86fd52701c
@@ -342,8 +342,13 @@ enum {
|
||||
KVM_DEBUGREG_RELOAD = 4,
|
||||
};
|
||||
|
||||
struct kvm_mtrr_range {
|
||||
u64 base;
|
||||
u64 mask;
|
||||
};
|
||||
|
||||
struct kvm_mtrr {
|
||||
struct mtrr_var_range var_ranges[KVM_NR_VAR_MTRR];
|
||||
struct kvm_mtrr_range var_ranges[KVM_NR_VAR_MTRR];
|
||||
mtrr_type fixed_ranges[KVM_NR_FIXED_MTRR_REGION];
|
||||
u64 deftype;
|
||||
};
|
||||
|
Reference in New Issue
Block a user