KVM: MMU: introduce for_each_rmap_spte()
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 13 May 2015 06:42:20 +0000 (14:42 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 May 2015 18:52:38 +0000 (20:52 +0200)
commit0d5367900a319ab8971817b0ca15a8b9f7c47e6f
treeb2f9aa87f6f8f6733ccee43dd787bdd29a07511c
parentc35ebbeade127e7bca1f21ef5bf1a39deffba9de
KVM: MMU: introduce for_each_rmap_spte()

It's used to walk all the sptes on the rmap to clean up 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
arch/x86/kvm/mmu_audit.c