qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v16 21/23] accel: introduce new accessor functions


From: Richard Henderson
Subject: Re: [PATCH v16 21/23] accel: introduce new accessor functions
Date: Fri, 5 Feb 2021 10:14:39 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 2/4/21 6:39 AM, Claudio Fontana wrote:
> @@ -6725,10 +6722,8 @@ static void x86_cpu_initfn(Object *obj)
>          x86_cpu_load_model(cpu, xcc->model);
>      }
>  
> -    /* if required, do the accelerator-specific cpu initialization */
> -    if (cc->accel_cpu) {
> -        cc->accel_cpu->cpu_instance_init(CPU(obj));
> -    }
> +    /* if required, do accelerator-specific cpu initializations */
> +    accel_cpu_instance_init(CPU(obj));
>  }

Why is this only done for x86?


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]