On 6/20/25 10:27, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> accel/split/split-accel-ops.c | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/accel/split/split-accel-ops.c b/accel/split/split-accel-ops.c
> index 63b6217f3fa..3278e01f18a 100644
> --- a/accel/split/split-accel-ops.c
> +++ b/accel/split/split-accel-ops.c
> @@ -15,6 +15,7 @@
> #include "system/cpus.h"
> #include "split-accel.h"
>
> +#include "accel/accel-internal.h"
> #include "accel/tcg/tcg-accel-ops-mttcg.h"
>
> static void *split_cpu_thread_routine(void *arg)
> @@ -112,7 +113,14 @@ static void split_ops_init(AccelClass *ac)
>
> static bool split_cpu_common_realize(CPUState *cpu, Error **errp)
> {
> - g_assert_not_reached();
> + AccelState *as = current_accel();
> + SplitAccelState *sas = SPLIT_ACCEL(as);
> + bool success = false;
> +
> + success |= accel_cpu_realize(sas->sw, cpu, errp);
> + success |= accel_cpu_realize(sas->hw, cpu, errp);
&&
r~