On 1/12/25 13:58, Philippe Mathieu-Daudé wrote:
main_cpu_reset() is misleadingly named "main": it resets
all vCPUs, with a special case for the first vCPU.

Factor generic_cpu_reset() out of main_cpu_reset(),
allowing to remove one &first_cpu use.

Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  hw/mips/loongson3_virt.c | 26 +++++++++++++++++---------
  1 file changed, 17 insertions(+), 9 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to