qemu-e2k/target-arm
Christoffer Dall 00d0f7cb66 target-arm: Fix segfault on startup when KVM enabled
Commit 50a2c6e55f introduced a bug where QEMU would segfault on startup
when using KVM on ARM hosts, because kvm_arm_reset_cpu() accesses
cpu->cpreg_reset_values, which is not allocated before
kvm_arch_init_vcpu(). Fix this by not calling cpu_reset() until after
qemu_init_vcpu().

Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Faerber <afaerber@suse.de>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1401194263-13010-1-git-send-email-christoffer.dall@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-05-27 13:55:39 +01:00
..
arm-semi.c cpu: Move opaque field from CPU_COMMON to CPUState 2014-03-13 19:20:47 +01:00
cpu64.c target-arm: Dump 32-bit CPU state if 64 bit CPU is in AArch32 2014-04-17 21:34:06 +01:00
cpu-qom.h target-arm: Dump 32-bit CPU state if 64 bit CPU is in AArch32 2014-04-17 21:34:06 +01:00
cpu.c target-arm: Fix segfault on startup when KVM enabled 2014-05-27 13:55:39 +01:00
cpu.h target-arm: Implement CBAR for Cortex-A57 2014-04-17 21:34:06 +01:00
crypto_helper.c
gdbstub64.c target-arm/gdbstub64.c: remove useless 'break' statement. 2014-04-17 21:34:06 +01:00
gdbstub.c
helper-a64.c target-arm: Implement AArch64 EL1 exception handling 2014-04-17 21:34:04 +01:00
helper-a64.h target-arm: A64: Implement FCVTXN 2014-03-17 16:31:53 +00:00
helper.c target-arm/helper.c: Don't flush the TLB if SCTLR is rewritten unchanged 2014-05-13 16:09:38 +01:00
helper.h target-arm: Implement AArch64 EL1 exception handling 2014-04-17 21:34:04 +01:00
internals.h target-arm: Move arm_log_exception() into internals.h 2014-04-17 21:34:04 +01:00
iwmmxt_helper.c
kvm32.c kvm: reset state from the CPU's reset method 2014-05-13 13:12:40 +02:00
kvm64.c kvm: reset state from the CPU's reset method 2014-05-13 13:12:40 +02:00
kvm_arm.h kvm: reset state from the CPU's reset method 2014-05-13 13:12:40 +02:00
kvm-consts.h
kvm-stub.c
kvm.c
machine.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
Makefile.objs
neon_helper.c target-arm: A64: Add saturating accumulate ops (USQADD/SUQADD) 2014-03-18 23:10:06 +00:00
op_addsub.h
op_helper.c target-arm: Correct a comment refering to EL0 2014-05-01 15:24:46 +01:00
translate-a64.c target-arm: A64: Handle blr lr 2014-05-01 15:24:45 +01:00
translate.c arm: translate.c: Fix smlald Instruction 2014-04-17 21:34:07 +01:00
translate.h target-arm: Dump 32-bit CPU state if 64 bit CPU is in AArch32 2014-04-17 21:34:06 +01:00