cpus: Cache CPUClass early in instance_init() handler
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 21 Jan 2025 11:38:45 +0000 (12:38 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:17 +0000 (15:46 +0100)
commit0e86d7a71e8b5af201f2066a56071d3e23f4693c
treec6942b0796e3759653f67ff31523038e4d8a3a60
parent270dbee10cd31b86f0a3a8a2691026bdb0b9a071
cpus: Cache CPUClass early in instance_init() handler

Cache CPUClass as early as possible, when the instance
is initialized.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250123234415.59850-5-philmd@linaro.org>
cpu-target.c
hw/core/cpu-common.c