KVM: set_memory_region: Drop user_alloc from prepare/commit_memory_region()
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Wed, 27 Feb 2013 10:41:56 +0000 (19:41 +0900)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 4 Mar 2013 23:21:08 +0000 (20:21 -0300)
commit462fce46065ec4b200c08619c047b9e5a8fd154a
treec36cb39e0a8377da88b87ca5b99344357a6c31be
parentee2c25efdd46d7ed5605d6fe877bdf4b47a4ab2e
KVM: set_memory_region: Drop user_alloc from prepare/commit_memory_region()

X86 does not use this any more.  The remaining user, s390's !user_alloc
check, can be simply removed since KVM_SET_MEMORY_REGION ioctl is no
longer supported.

Note: fixed powerpc's indentations with spaces to suppress checkpatch
errors.

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