Skip to content
Commit 5f9b016e authored by Anup Patel's avatar Anup Patel Committed by Will Deacon
Browse files

kvmtool: Handle exit reason KVM_EXIT_SYSTEM_EVENT



The KVM_EXIT_SYSTEM_EVENT exit reason was added to define
architecture independent system-wide events for a Guest.

Currently, it is used by in-kernel PSCI-0.2 emulation of
KVM ARM/ARM64 to inform user space about PSCI SYSTEM_OFF
or PSCI SYSTEM_RESET request.

For now, we simply treat all system-wide guest events as
shutdown request in KVMTOOL.

Signed-off-by: default avatarPranavkumar Sawargaonkar <pranavkumar@linaro.org>
Signed-off-by: default avatarAnup Patel <anup.patel@linaro.org>
Reviewed-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
[will: removed useless prints]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 1640753a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment