Re: [Qemu-devel] [PATCH v5 4/4] linux-user: MIPS set cpu to r6 CPU if binary is R6

2018-02-21 Thread Richard Henderson
On 02/20/2018 09:33 AM, Laurent Vivier wrote: > From: YunQiang Su > > So here we need to detect the version of binaries and set > cpu_model for it. > > Signed-off-by: YunQiang Su > [lv: original patch modified to move code into cpu_get_model()] > Signed-off-by: Laurent Vivier Reviewed-by: Ric

[Qemu-devel] [PATCH v5 4/4] linux-user: MIPS set cpu to r6 CPU if binary is R6

2018-02-20 Thread Laurent Vivier
From: YunQiang Su So here we need to detect the version of binaries and set cpu_model for it. Signed-off-by: YunQiang Su [lv: original patch modified to move code into cpu_get_model()] Signed-off-by: Laurent Vivier --- Notes: v5: Use EF_MIPS_ARCH mask to read MIPS architecture flags