Re: [PATCH 09/15] KVM: MTRR: introduce var_mtrr_range

2015-06-08 Thread Xiao Guangrong
Thanks for your review, David! On 06/09/2015 08:36 AM, David Matlack wrote: static void update_mtrr(struct kvm_vcpu *vcpu, u32 msr) { struct kvm_mtrr *mtrr_state = >arch.mtrr_state; - gfn_t start, end, mask; + gfn_t start, end; int index; if (msr

Re: [PATCH 09/15] KVM: MTRR: introduce var_mtrr_range

2015-06-08 Thread David Matlack
On Sat, May 30, 2015 at 3:59 AM, Xiao Guangrong wrote: > It gets the range for the specified variable MTRR > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mtrr.c | 19 +-- > 1 file changed, 13 insertions(+), 6 deletions(-) > > diff --git a/arch/x86/kvm/mtrr.c

Re: [PATCH 09/15] KVM: MTRR: introduce var_mtrr_range

2015-06-08 Thread Xiao Guangrong
Thanks for your review, David! On 06/09/2015 08:36 AM, David Matlack wrote: static void update_mtrr(struct kvm_vcpu *vcpu, u32 msr) { struct kvm_mtrr *mtrr_state = vcpu-arch.mtrr_state; - gfn_t start, end, mask; + gfn_t start, end; int index; if

Re: [PATCH 09/15] KVM: MTRR: introduce var_mtrr_range

2015-06-08 Thread David Matlack
On Sat, May 30, 2015 at 3:59 AM, Xiao Guangrong guangrong.x...@linux.intel.com wrote: It gets the range for the specified variable MTRR Signed-off-by: Xiao Guangrong guangrong.x...@linux.intel.com --- arch/x86/kvm/mtrr.c | 19 +-- 1 file changed, 13 insertions(+), 6

[PATCH 09/15] KVM: MTRR: introduce var_mtrr_range

2015-05-30 Thread Xiao Guangrong
It gets the range for the specified variable MTRR Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mtrr.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/arch/x86/kvm/mtrr.c b/arch/x86/kvm/mtrr.c index 888441e..aeb9767 100644 --- a/arch/x86/kvm/mtrr.c +++

[PATCH 09/15] KVM: MTRR: introduce var_mtrr_range

2015-05-30 Thread Xiao Guangrong
It gets the range for the specified variable MTRR Signed-off-by: Xiao Guangrong guangrong.x...@linux.intel.com --- arch/x86/kvm/mtrr.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/arch/x86/kvm/mtrr.c b/arch/x86/kvm/mtrr.c index 888441e..aeb9767 100644