[PATCH 5/9] KVM: MMU: KVM: introduce for_each_slot_rmap

2015-04-30 Thread guangrong . xiao
From: Xiao Guangrong It is used to clean up the code between kvm_handle_hva_range and slot_handle_level, also it will be used by later patch Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 144 - 1 file changed, 99 insertions(+), 45 de

[PATCH 5/9] KVM: MMU: KVM: introduce for_each_slot_rmap

2015-04-30 Thread guangrong . xiao
From: Xiao Guangrong It is used to clean up the code between kvm_handle_hva_range and slot_handle_level, also it will be used by later patch Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 144 - 1 file changed, 99 insertions(+), 45 de