ARM64: KVM: Implement kvm_vcpu_preferred_target() function
authorAnup Patel <anup.patel@linaro.org>
Mon, 30 Sep 2013 08:50:06 +0000 (14:20 +0530)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:08 +0000 (17:18 +0200)
commit9778336fe11f088c3ddbd12714ab88f5760a1de4
tree3116e99eef6e3d121c8fc3b4d50ac9337eca11f0
parentf166457e087b577af2ee72ec843d43ef6653e0f8
ARM64: KVM: Implement kvm_vcpu_preferred_target() function

This patch implements kvm_vcpu_preferred_target() function for
KVM ARM64 which will help us implement KVM_ARM_PREFERRED_TARGET
ioctl for user space.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 473bdc0e6565ebb22455657a40daa21b6b4ee16b)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/guest.c