ARM/ARM64: KVM: Implement KVM_ARM_PREFERRED_TARGET ioctl
authorAnup Patel <anup.patel@linaro.org>
Mon, 30 Sep 2013 08:50:07 +0000 (14:20 +0530)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 2 Oct 2013 18:29:48 +0000 (11:29 -0700)
commit42c4e0c77ac91505ab94284b14025e3a0865c0a5
tree1d5002e27ad0fd99a54f2cd3084724ffa37c2e44
parent473bdc0e6565ebb22455657a40daa21b6b4ee16b
ARM/ARM64: KVM: Implement KVM_ARM_PREFERRED_TARGET ioctl

For implementing CPU=host, we need a mechanism for querying
preferred VCPU target type on underlying Host.

This patch implements KVM_ARM_PREFERRED_TARGET vm ioctl which
returns struct kvm_vcpu_init instance containing information
about preferred VCPU target type and target specific features
available for it.

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>
arch/arm/kvm/arm.c
include/uapi/linux/kvm.h