From: "Mian M. Hamayun" <m.hamayun@xxxxxxxxxxxxxxxxxxxxxx> This commit disables the co-processor registers reset code for KVM, when compiling for AArch64 cpus. Signed-off-by: Mian M. Hamayun <m.hamayun@xxxxxxxxxxxxxxxxxxxxxx> --- target-arm/kvm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-arm/kvm.c b/target-arm/kvm.c index c96b871..5909d75 100644 --- a/target-arm/kvm.c +++ b/target-arm/kvm.c @@ -700,6 +700,7 @@ int kvm_arch_handle_exit(CPUState *cs, struct kvm_run *run) void kvm_arch_reset_vcpu(CPUState *cs) { +#ifndef TARGET_AARCH64 /* Feed the kernel back its initial register state */ ARMCPU *cpu = ARM_CPU(cs); @@ -709,6 +710,7 @@ void kvm_arch_reset_vcpu(CPUState *cs) if (!write_list_to_kvmstate(cpu)) { abort(); } +#endif } bool kvm_arch_stop_on_emulation_error(CPUState *cs) -- 1.7.9.5 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm