Re: [RFC v18 02/15] cpu: call AccelCPUClass::cpu_realizefn in cpu_exec_realizefn

2021-02-15 Thread Alex Bennée
Claudio Fontana writes: > move the call to accel_cpu->cpu_realizefn to the general > cpu_exec_realizefn from target/i386, so it does not need to be > called for every target explicitly as we enable more targets. > > Signed-off-by: Claudio Fontana Reviewed-by: Alex Bennée -- Alex Bennée

[RFC v18 02/15] cpu: call AccelCPUClass::cpu_realizefn in cpu_exec_realizefn

2021-02-12 Thread Claudio Fontana
move the call to accel_cpu->cpu_realizefn to the general cpu_exec_realizefn from target/i386, so it does not need to be called for every target explicitly as we enable more targets. Signed-off-by: Claudio Fontana --- cpu.c | 6 ++ target/i386/cpu.c | 20 +++- 2 f