[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/4] linux-user: introduce functions to detec
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/4] linux-user: introduce functions to detect CPU type |
Date: |
Tue, 16 Jan 2018 12:11:34 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 01/16/2018 09:25 AM, Laurent Vivier wrote:
> From: YunQiang Su <address@hidden>
>
> Add a function to return ELF e_flags and use it
> to select the CPU model.
>
> [lv: split the patch and some cleanup in get_elf_eflags()]
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
>
> Notes:
> YunQiang Su, please add your Signed-off-by that was
> missing in your original patch.
>
> v2: call cpu_get_model() with the result of get_elf_eflags()
>
> linux-user/elfload.c | 35 +++++++++++++++++++++++++++++++++++
> linux-user/main.c | 20 ++++++++++----------
> linux-user/qemu.h | 1 +
> 3 files changed, 46 insertions(+), 10 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [Qemu-devel] [PATCH v2 0/4] linux-user: select CPU type according ELF header values, Laurent Vivier, 2018/01/16
- [Qemu-devel] [PATCH v2 3/4] linux-user, m68k: select CPU according to ELF header values, Laurent Vivier, 2018/01/16
- [Qemu-devel] [PATCH v2 4/4] linux-user: MIPS set cpu to r6 CPU if binary is R6, Laurent Vivier, 2018/01/16
- [Qemu-devel] [PATCH v2 2/4] linux-user: introduce functions to detect CPU type, Laurent Vivier, 2018/01/16
- Re: [Qemu-devel] [PATCH v2 2/4] linux-user: introduce functions to detect CPU type,
Richard Henderson <=
- [Qemu-devel] [PATCH v2 1/4] linux-user: Move CPU type name selection to a function, Laurent Vivier, 2018/01/16
- Re: [Qemu-devel] [PATCH v2 0/4] linux-user: select CPU type according ELF header values, no-reply, 2018/01/17