]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: MTRR: introduce mtrr_for_each_mem_type
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Mon, 15 Jun 2015 08:55:33 +0000 (16:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Jun 2015 15:16:29 +0000 (17:16 +0200)
commitf571c0973e4b8c888e049b6842e4b4f93b5c609c
tree8675c45ba51256fbbc78c65d39d8bff78acf8263
parentf7bfb57b3e89ff89c0da9f93dedab89f68d6ca27
KVM: MTRR: introduce mtrr_for_each_mem_type

It walks all MTRRs and gets all the memory cache type setting for the
specified range also it checks if the range is fully covered by MTRRs

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
[Adjust for range_size->range_shift change. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mtrr.c