[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-7.0] softmmu: List CPU types again
From: |
Max Filippov |
Subject: |
Re: [PATCH-for-7.0] softmmu: List CPU types again |
Date: |
Thu, 10 Mar 2022 12:53:44 -0800 |
On Thu, Mar 10, 2022 at 3:55 AM Philippe Mathieu-Daudé
<philippe.mathieu.daude@gmail.com> wrote:
>
> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
>
> Commit e0220bb5b2 made cpus.c target-agnostic but didn't notice
> the cpu_list() function is only defined in target-specific code
> in "cpu.h". Extract list_cpus() from the generic cpus.c into a
> new target-specific unit.
>
> Fixes: e0220bb5b2 ("softmmu: Build target-agnostic objects once")
> Reported-by: Max Filippov <jcmvbkbc@gmail.com>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> softmmu/cpus.c | 8 --------
> softmmu/cpus_list.c | 36 ++++++++++++++++++++++++++++++++++++
> softmmu/meson.build | 1 +
> 3 files changed, 37 insertions(+), 8 deletions(-)
> create mode 100644 softmmu/cpus_list.c
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
--
Thanks.
-- Max