aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/psci.c
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2014-04-29 05:54:19 +0000
committerChristoffer Dall <[email protected]>2014-04-30 11:18:58 +0000
commit8ad6b634928a25971dc42dce101808b1491f87ec (patch)
tree0e8c905e1ab70406d5dd2cf4b2edd531eee97db6 /arch/arm/kvm/psci.c
parentARM/ARM64: KVM: Make kvm_psci_call() return convention more flexible (diff)
downloadkernel-8ad6b634928a25971dc42dce101808b1491f87ec.tar.gz
kernel-8ad6b634928a25971dc42dce101808b1491f87ec.zip
KVM: Add KVM_EXIT_SYSTEM_EVENT to user space API header
Currently, we don't have an exit reason to notify user space about a system-level event (for e.g. system reset or shutdown) triggered by the VCPU. This patch adds exit reason KVM_EXIT_SYSTEM_EVENT for this purpose. We can also inform user space about the 'type' and architecture specific 'flags' of a system-level event using the kvm_run structure. This newly added KVM_EXIT_SYSTEM_EVENT will be used by KVM ARM/ARM64 in-kernel PSCI v0.2 support to reset/shutdown VMs. Signed-off-by: Anup Patel <[email protected]> Signed-off-by: Pranavkumar Sawargaonkar <[email protected]> Reviewed-by: Christoffer Dall <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'arch/arm/kvm/psci.c')
0 files changed, 0 insertions, 0 deletions