linux-user/main: Use list_cpus() instead of cpu_list()
commitb67e5cb43b64cd511785aa1b35876b5e5bf55f69
authorThomas Huth <thuth@redhat.com>
Mon, 24 Apr 2023 12:21:26 +0000 (24 14:21 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 17 May 2023 05:20:29 +0000 (17 07:20 +0200)
tree1abe4724ebfd1800aba8139f9355aa92fc1f2d16
parent7f696cddd9d7bbde0ecc489eb9a29c7196b29727
linux-user/main: Use list_cpus() instead of cpu_list()

This way we can get rid of the if'deffery and the XXX comment
here (it's repeated in the list_cpus() function anyway).

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230424122126.236586-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/main.c