summaryrefslogtreecommitdiffstats
path: root/target-ppc/mmu-hash32.h
diff options
context:
space:
mode:
authorChristoffer Dall2014-05-27 14:37:43 +0200
committerPeter Maydell2014-05-27 14:55:39 +0200
commit00d0f7cb6617f50be90e7dbb90a83d87b33f7695 (patch)
tree0e74f1eb3ef10dc25d77d4ba43b643a188f2017c /target-ppc/mmu-hash32.h
parentMerge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (diff)
downloadqemu-00d0f7cb6617f50be90e7dbb90a83d87b33f7695.tar.gz
qemu-00d0f7cb6617f50be90e7dbb90a83d87b33f7695.tar.xz
qemu-00d0f7cb6617f50be90e7dbb90a83d87b33f7695.zip
target-arm: Fix segfault on startup when KVM enabled
Commit 50a2c6e55fa 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>
Diffstat (limited to 'target-ppc/mmu-hash32.h')
0 files changed, 0 insertions, 0 deletions