commit | 5ed5c5c8fdbab889837c9223fc6f4bdaa830879c | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> | Fri Oct 16 17:05:13 2015 +0900 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Oct 16 10:34:00 2015 +0200 |
tree | ef7494fb2803fb26097d8fd5d7f28029bb2c86e2 | |
parent | cd1872f028556dc0e8424e58413c0268c159383b [diff] |
KVM: x86: MMU: Simplify force_pt_level calculation code in FNAME(page_fault)() As a bonus, an extra memory slot search can be eliminated when is_self_change_mapping is true. Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>