KVM: Stop checking rmap to see if slot is being created
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Wed, 1 Aug 2012 09:01:10 +0000 (18:01 +0900)
committerAvi Kivity <avi@redhat.com>
Mon, 6 Aug 2012 09:47:02 +0000 (12:47 +0300)
commitaab2eb7a38e0e510874acca01838f5badbca6c7e
treeb2a8b7850cb04169e0efbf9efdff1b3254d98396
parentfe56097b23b1303b894eefd91582e4a64247d03f
KVM: Stop checking rmap to see if slot is being created

Instead, check npages consistently.  This helps to make rmap
architecture specific in a later patch.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c