commit | 19efffa244071ccd0385b240d03adb38feaab04e | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | Mon Jun 15 16:55:31 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jun 19 17:16:28 2015 +0200 |
tree | d6fce4bc6222d5ae0be4d42099b516e9ce70a96e | |
parent | a13842dc668b40daef4327294a6d3bdc8bd30276 [diff] |
KVM: MTRR: sort variable MTRRs Sort all valid variable MTRRs based on its base address, it will help us to check a range to see if it's fully contained in variable MTRRs Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> [Fix list insertion sort, simplify var_mtrr_range_is_valid to just test the V bit. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>