arm/arm64: KVM: Correct KVM_ARM_VCPU_INIT power off option
authorChristoffer Dall <christoffer.dall@linaro.org>
Thu, 16 Oct 2014 14:14:43 +0000 (16:14 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sat, 13 Dec 2014 13:15:25 +0000 (14:15 +0100)
commit3ad8b3de526a76fbe9466b366059e4958957b88f
tree8fc888631918c186df6ed6cca144560f3ee3afe8
parent03f1d4c17edb31b41b14ca3a749ae38d2dd6639d
arm/arm64: KVM: Correct KVM_ARM_VCPU_INIT power off option

The implementation of KVM_ARM_VCPU_INIT is currently not doing what
userspace expects, namely making sure that a vcpu which may have been
turned off using PSCI is returned to its initial state, which would be
powered on if userspace does not set the KVM_ARM_VCPU_POWER_OFF flag.

Implement the expected functionality and clarify the ABI.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Documentation/virtual/kvm/api.txt
arch/arm/kvm/arm.c
This page took 0.02721 seconds and 5 git commands to generate.