KVM: limit the number of pages per memory slot
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Tue, 13 Apr 2010 13:47:24 +0000 (22:47 +0900)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:41 +0000 (12:17 +0300)
commit660c22c425cbe14badfb3b0a0206862577701ab7
tree272889023481c810eebe54ab5343e634f0cd50bc
parent020df0794f5764e742feaa718be88b8f1b4ce04f
KVM: limit the number of pages per memory slot

This patch limits the number of pages per memory slot to make
us free from extra care about type issues.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c