KVM: MMU: introduce a common function to get no-dirty-logged slot
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 9 Mar 2011 07:43:00 +0000 (15:43 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:34 +0000 (13:08 -0300)
commit5d163b1c9d6e5562dcdfd6cd471f237f1502bb35
tree84a2a5de608b00f22e3b79c86cef700019f6e9d9
parent40dcaa9f69fa303ddcb5ea65baf4efefed3aec4b
KVM: MMU: introduce a common function to get no-dirty-logged slot

Cleanup the code of pte_prefetch_gfn_to_memslot and mapping_level_dirty_bitmap

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c