[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH] ppc: drop useless register sync

From: Greg Kurz
Subject: [Qemu-ppc] [PATCH] ppc: drop useless register sync
Date: Thu, 01 Oct 2015 18:56:21 +0200
User-agent: StGit/0.17.1-dirty

Since msr is always synced, no need to read it from KVM.

Signed-off-by: Greg Kurz <address@hidden>
 target-ppc/translate_init.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index b54147350d88..49611e8e41fe 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -9624,8 +9624,6 @@ static bool ppc_cpu_is_big_endian(CPUState *cs)
     PowerPCCPU *cpu = POWERPC_CPU(cs);
     CPUPPCState *env = &cpu->env;
-    cpu_synchronize_state(cs);
     return !msr_le;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]