KVM: set_memory_region: Drop user_alloc from set_memory_region()
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Wed, 27 Feb 2013 10:43:00 +0000 (19:43 +0900)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 4 Mar 2013 23:21:08 +0000 (20:21 -0300)
commit47ae31e257c548abdb199e0d26723139a9a967ba
treee2888e7839935423a3afc64c0296eb9e4eed23c4
parent462fce46065ec4b200c08619c047b9e5a8fd154a
KVM: set_memory_region: Drop user_alloc from set_memory_region()

Except ia64's stale code, KVM_SET_MEMORY_REGION support, this is only
used for sanity checks in __kvm_set_memory_region() which can easily
be changed to use slot id instead.

Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/ia64/kvm/kvm-ia64.c
arch/x86/kvm/vmx.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c