]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-arm: Implement kvm_arch_reset_vcpu() for KVM ARM64
authorPranavkumar Sawargaonkar <pranavkumar@linaro.org>
Thu, 19 Jun 2014 17:06:26 +0000 (18:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Jun 2014 17:33:03 +0000 (18:33 +0100)
commit73542cf6900146f4a203007388e224e5dc25c7da
tree49fee18c7f97707c9bcc4cddae521ef57e01c179
parent7cd62e53844603357152943f68960c8c5279160c
target-arm: Implement kvm_arch_reset_vcpu() for KVM ARM64

To implement kvm_arch_reset_vcpu(), we simply re-init the VCPU
using kvm_arm_vcpu_init() so that all registers of VCPU are set
to their reset values by in-kernel KVM code.

Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Signed-off-by: Anup Patel <anup.patel@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1402901605-24551-7-git-send-email-pranavkumar@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/kvm64.c