Recentely patches have been posted for in-kernel emulation of PSCI v0.2 http://www.spinics.net/lists/arm-kernel/msg305467.html This patchset adds the QEMU side changes for providing PSCI v0.2 to VM.
ChangeLog: V2: - Rebase this patchset against v6 patchset for in-kernel PSCI v0.2 emulation (http://www.spinics.net/lists/arm-kernel/msg319037.html) - Handle KVM_EXIT_SYSTEM_EVENT in kvm-all.c:kvm_cpu_exec() - Drop change in kvm_arm_get_host_cpu_features() - Improve comments and description of kvm_arch_reset_vcpu() implementation V1: - Initial RFC patchset Pranavkumar Sawargaonkar (6): linux-headers: Update KVM headers from v3.14 kvm: Handle exit reason KVM_EXIT_SYSTEM_EVENT target-arm: Enable KVM_ARM_VCPU_PSCI_0_2 feature when possible target-arm: Implement kvm_arch_reset_vcpu() for KVM ARM64 target-arm: Provide PSCI v0.2 constants to generic QEMU code hw/arm/virt: Use PSCI v0.2 function IDs when kernel supports its hw/arm/virt.c | 28 ++++++++++++++---- kvm-all.c | 16 +++++++++++ linux-headers/asm-arm/kvm.h | 19 +++++++------ linux-headers/asm-arm64/kvm.h | 21 +++++++------- linux-headers/linux/kvm.h | 10 +++++++ linux-headers/linux/psci.h | 55 +++++++++++++++++++++++++++++++++++ target-arm/kvm-consts.h | 63 ++++++++++++++++++++++++++++++++++------- target-arm/kvm32.c | 5 +++- target-arm/kvm64.c | 9 +++++- 9 files changed, 189 insertions(+), 37 deletions(-) create mode 100644 linux-headers/linux/psci.h -- 1.7.9.5