Xiao Guangrong 3e5d2fdced KVM: MTRR: simplify kvm_mtrr_get_guest_memory_type
kvm_mtrr_get_guest_memory_type never returns -1 which is implied
in the current code since if @type = -1 (means no MTRR contains the
range), iter.partial_map must be true

Simplify the code to indicate this fact

Signed-off-by: Xiao Guangrong <guangrong.xiao@intel.com>
Tested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-07-23 08:21:48 +02:00
..
2015-07-10 13:25:25 +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-07-10 13:25:26 +02:00
2015-07-10 13:25:24 +02:00
2015-05-19 20:52:42 +02:00
2015-07-10 13:26:45 +02:00