KVM: x86: MMU: Move mapping_level_dirty_bitmap() call in mapping_level()
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Fri, 16 Oct 2015 08:06:02 +0000 (17:06 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Oct 2015 08:34:00 +0000 (10:34 +0200)
commitfd136902187838bcae3a572f41cb703553dd63b8
treea3b6207dabee7d4bc8fe054e92cb5af8f8c59581
parent5ed5c5c8fdbab889837c9223fc6f4bdaa830879c
KVM: x86: MMU: Move mapping_level_dirty_bitmap() call in mapping_level()

This is necessary to eliminate an extra memory slot search later.

Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h