On 4/12/21 12:44 PM, Peter Maydell wrote: > On Mon, 12 Apr 2021 at 11:31, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: >> TIL MachineClass::reset(). >> >> - hw/hppa/machine.c >> - hw/i386/pc.c >> >> Used to reset CPUs manually because CPUs aren't sysbus-reset. > > pc_machine_reset() is not resetting the CPUs -- it is > re-resetting the APIC devices, which looks like it is a > workaround for a reset-ordering or other problem. I'm not > sure where the CPUs are being reset...
Ah, I got confused by the CPU_FOREACH(cs) macro.