KVM: MMU: introduce slot_handle_level_range() and its helpers
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 13 May 2015 06:42:23 +0000 (14:42 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 May 2015 18:52:40 +0000 (20:52 +0200)
commit1bad2b2a3b158fbb19fef6cd563301b94b5c28b2
tree945aedb233d3818b3b9c0f77d5f138626e99fa31
parent6ce1f4e295dd06b19443341b1684d361739ec117
KVM: MMU: introduce slot_handle_level_range() and its helpers

There are several places walking all rmaps for the memslot so that
introduce common functions to cleanup the code

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c