Xiao Guangrong 3f3f78b614 KVM: MTRR: improve kvm_mtrr_get_guest_memory_type
- kvm_mtrr_get_guest_memory_type() only checks one page in MTRRs so
   that it's unnecessary to check to see if the range is partially
   covered in MTRR

 - optimize the check of overlap memory type and add some comments
   to explain the precedence

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-06-19 17:16:28 +02:00
..
2015-05-28 10:43:37 +02:00
2015-04-07 18:09:20 +02:00
2015-05-07 11:29:47 +02:00
2015-04-07 18:09:20 +02:00
2015-06-04 16:01:11 +02:00
2015-05-19 20:52:42 +02:00
2015-06-19 17:16:27 +02:00