]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
arm/arm64: KVM: Turn off vcpus on PSCI shutdown/reboot
authorChristoffer Dall <christoffer.dall@linaro.org>
Thu, 16 Oct 2014 15:00:18 +0000 (17:00 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sat, 13 Dec 2014 13:15:27 +0000 (14:15 +0100)
commitcf5d318865e25f887d49a0c6083bbc6dcd1905b1
treeb7576479421357172188c4a2bedf9a80af55de5d
parentf7fa034dc8559c7d7326bfc8bd1a26175abd931a
arm/arm64: KVM: Turn off vcpus on PSCI shutdown/reboot

When a vcpu calls SYSTEM_OFF or SYSTEM_RESET with PSCI v0.2, the vcpus
should really be turned off for the VM adhering to the suggestions in
the PSCI spec, and it's the sane thing to do.

Also, clarify the behavior and expectations for exits to user space with
the KVM_EXIT_SYSTEM_EVENT case.

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/psci.c
arch/arm64/include/asm/kvm_host.h