On 3/22/21 2:54 PM, Claudio Fontana wrote: > On 3/22/21 2:42 PM, Philippe Mathieu-Daudé wrote: >> On 3/22/21 2:27 PM, Claudio Fontana wrote: >>> XXX >>> --- >>> accel/accel-common.c | 9 +++++++++ >>> hw/core/cpu.c | 3 ++- >>> include/hw/core/accel-cpu.h | 2 ++ >>> include/qemu/accel.h | 6 ++++++ >>> target/i386/cpu.c | 4 ---- >>> target/i386/kvm/kvm-cpu.c | 6 ++++++ >>> 6 files changed, 25 insertions(+), 5 deletions(-) >>> >>> >>> This surprisingly works without moving cpu_reset() to a >>> specific_ss module, even though >>> >>> accel-common.c is specific_ss, >>> hw/core/cpu.c is common_ss. >>> >>> How come the call to accel_reset_cpu works? >> >> Each CPU optionally calls cpu_reset() manually? > > Hi Philippe, are you concerned about these calls? > Or what are you highlighting here? > > They in turn call cpu_reset() so we should be good right?
I guess I simply misunderstood your question :)