Hi Paolo, On 12/5/25 11:52, Paolo Bonzini wrote:
Unlike other uses of .instance_post_init, accel_cpu_instance_init() *registers* properties, and therefore must be run before device_post_init() which sets them to their values from -global.
Does x86_cpu_post_initfn() suffer from the same problem?
In order to move all registration of properties to .instance_init, call accel_cpu_instance_init() at the end of riscv_cpu_init(). Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- target/riscv/cpu.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)