Re: [RFC v18 03/15] accel: introduce new accessor functions

2021-02-15 Thread Alex Bennée
Claudio Fontana writes: > avoid open coding the accesses to cpu->accel_cpu interfaces, > and instead introduce: > > accel_cpu_instance_init, > accel_cpu_realizefn > > to be used by the targets/ initfn code, > and by cpu_exec_realizefn respectively. > > Signed-off-by: Claudio Fontana Reviewed-

[RFC v18 03/15] accel: introduce new accessor functions

2021-02-12 Thread Claudio Fontana
avoid open coding the accesses to cpu->accel_cpu interfaces, and instead introduce: accel_cpu_instance_init, accel_cpu_realizefn to be used by the targets/ initfn code, and by cpu_exec_realizefn respectively. Signed-off-by: Claudio Fontana --- include/qemu/accel.h | 13 + accel/acc