]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e9d9ed50430559af4a423403bc933cb2cbde2b2
tree1d5002e27ad0fd99a54f2cd3084724ffa37c2e44
parent1c4b0b3d6e89a8423e46bdf5a0fc25cc7f98065b
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