qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] ppc: drop useless register sync
@ 2015-10-01 16:56 Greg Kurz
  2015-10-02 14:03 ` Thomas Huth
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kurz @ 2015-10-01 16:56 UTC (permalink / raw)
  To: Alexander Graf; +Cc: qemu-ppc, qemu-devel

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

Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
---
 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;
 }
 #endif

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

end of thread, other threads:[~2015-10-02 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01 16:56 [Qemu-devel] [PATCH] ppc: drop useless register sync Greg Kurz
2015-10-02 14:03 ` Thomas Huth
2015-10-02 15:37   ` Greg Kurz

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).