From: Anup Patel Date: Tue, 29 Apr 2014 05:54:19 +0000 (+0530) Subject: KVM: Add KVM_EXIT_SYSTEM_EVENT to user space API header X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~28^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ad6b634928a25971dc42dce101808b1491f87ec;p=pandora-kernel.git 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 Signed-off-by: Pranavkumar Sawargaonkar Reviewed-by: Christoffer Dall Reviewed-by: Marc Zyngier Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed