KVM: introduce kvm_for_each_memslot macro
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Thu, 24 Nov 2011 09:39:18 +0000 (17:39 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:17:37 +0000 (11:17 +0200)
commitbe6ba0f0962a39091c52eb9167ddea201fe80716
tree52e46aad8cce4857def4dc03fc75955677027054
parentbe593d6286075801bba6d60fa466a39c24cc7616
KVM: introduce kvm_for_each_memslot macro

Introduce kvm_for_each_memslot to walk all valid memslot

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c
arch/x86/kvm/mmu.c
include/linux/kvm_host.h
virt/kvm/iommu.c
virt/kvm/kvm_main.c