> On 8 Aug 2025, at 09.01, Mohamed Mediouni <moha...@unpredictable.fr> wrote:
> 
> Creating a vCPU locks out APIs such as hv_gic_create().
> 
> As a result, switch to using the hv_vcpu_config_get_feature_reg interface.
> 
> Hardcode MIDR because Apple deliberately doesn't expose a divergent MIDR 
> across systems.
> 
> Signed-off-by: Mohamed Mediouni <moha...@unpredictable.fr>
> 
> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
> Tested-by: Philippe Mathieu-Daudé <phi...@linaro.org>
> ---
> target/arm/hvf/hvf.c | 36 +++++++++++++++---------------------
> 1 file changed, 15 insertions(+), 21 deletions(-)
> 

Good way to avoid the limitations of hv_gic_create.

Reviewed-by: Mads Ynddal <m...@ynddal.dk>

Reply via email to