KVM: introduce KVM_MEM_SLOTS_NUM macro
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Thu, 24 Nov 2011 09:37:48 +0000 (17:37 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:17:34 +0000 (11:17 +0200)
commit93a5cef07d686a0341d056b0f930a762c7174a13
tree8db1ec00bd74a7297b32abf4d7463d845c34fea8
parentff227392cd7b858b2b04732e02697122fd1b35b0
KVM: introduce KVM_MEM_SLOTS_NUM macro

Introduce KVM_MEM_SLOTS_NUM macro to instead of
KVM_MEMORY_SLOTS + KVM_PRIVATE_MEM_SLOTS

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