qemu-ppc
[Top][All Lists]
Advanced

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

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


From: Thomas Huth
Subject: Re: [Qemu-ppc] [Qemu-devel] [PATCH] ppc: drop useless register sync
Date: Fri, 2 Oct 2015 16:03:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 01/10/15 18:56, Greg Kurz wrote:
> Since msr is always synced, no need to read it from KVM.

Out of curiosity: Where does that happen?

Thanks,
 Thomas


> 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;
>  }
>  #endif
> 
> 




reply via email to

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