commit | d135399a97cc3e27716a8e468a5fd1a209346831 | [log] [tgz] |
---|---|---|
author | Oliver Upton <oupton@google.com> | Wed May 04 03:24:44 2022 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Wed May 04 09:28:46 2022 +0100 |
tree | 9a63382077d244008645b8b6e460ce12479ab73e | |
parent | 694e3dcc47471b8b409a0ef647319b746eabcb3a [diff] |
selftests: KVM: Use KVM_SET_MP_STATE to power off vCPU in psci_test Setting a vCPU's MP state to KVM_MP_STATE_STOPPED has the effect of powering off the vCPU. Rather than using the vCPU init feature flag, use the KVM_SET_MP_STATE ioctl to power off the target vCPU. Signed-off-by: Oliver Upton <oupton@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220504032446.4133305-11-oupton@google.com