From: Laurent Vivier <lviv...@redhat.com> When a qemu-system-ppc64 is started, the 64-bit mode bit is not set in MSR.
Signed-off-by: Laurent Vivier <lviv...@redhat.com> Reviewed-by: Alexander Graf <ag...@suse.de> Signed-off-by: David Gibson <da...@gibson.dropbear.id.au> --- target-ppc/translate_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index fb206af..11d5fd3 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -9703,7 +9703,7 @@ static void ppc_cpu_reset(CPUState *s) #if defined(TARGET_PPC64) if (env->mmu_model & POWERPC_MMU_64) { - env->msr |= (1ULL << MSR_SF); + msr |= (1ULL << MSR_SF); } #endif -- 2.5.5