qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] ppc64: set MSR_SF bit
@ 2016-03-16  9:43 Laurent Vivier
  2016-03-16  9:48 ` Alexander Graf
  2016-03-21  1:28 ` [Qemu-devel] [Qemu-ppc] " David Gibson
  0 siblings, 2 replies; 8+ messages in thread
From: Laurent Vivier @ 2016-03-16  9:43 UTC (permalink / raw)
  To: Alexander Graf; +Cc: Laurent Vivier, dgibson, thuth, qemu-ppc, qemu-devel

When a qemu-system-ppc64 is started, the 64-bit mode bit
is not set in MSR.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
 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 bd0cffc..d7a1aeb 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -9663,7 +9663,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.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-03-21  1:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16  9:43 [Qemu-devel] [PATCH] ppc64: set MSR_SF bit Laurent Vivier
2016-03-16  9:48 ` Alexander Graf
2016-03-16 10:05   ` Laurent Vivier
2016-03-16 10:06     ` Alexander Graf
2016-03-16 10:30       ` Laurent Vivier
2016-03-16 10:32       ` Thomas Huth
2016-03-16 10:42         ` Alexander Graf
2016-03-21  1:28 ` [Qemu-devel] [Qemu-ppc] " David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).