KVM: introduce id_to_memslot function
authorXiao Guangrong <xiaoguangrong.eric@gmail.com>
Thu, 24 Nov 2011 11:04:35 +0000 (19:04 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:17:39 +0000 (11:17 +0200)
commit28a37544fb0223eb9805d2567b88f7360edec52a
tree83afb64f8448303f9486eb6c87980695611275ab
parentbe6ba0f0962a39091c52eb9167ddea201fe80716
KVM: introduce id_to_memslot function

Introduce id_to_memslot to get memslot by slot id

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/powerpc/kvm/book3s.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c