> On 14. Aug 2025, at 14:57, Mads Ynddal <m...@ynddal.dk> wrote: > > >> +static void hvf_gicv3_put(GICv3State *s) >> +{ >> + uint32_t reg; >> + uint64_t redist_typer; >> + int ncpu, i; >> + >> + hvf_gicv3_check(s); >> + >> + hv_vcpu_t vcpu0 = s->cpu[0].cpu->accel->fd; >> + hv_gic_get_redistributor_reg(vcpu0, HV_GIC_REDISTRIBUTOR_REG_GICR_TYPER >> + , &redist_typer); >> + > > I think you should go through all your "hv_" calls and do error handling > where it's possible, and if not, at least check it with assert_hvf_ok. > This call to hv_gic_get_redistributor_reg is failing on my setup. I > don't know if there could be others. > > I've configured my VM like this: > -machine virt,kernel-irqchip=on,its=off > -boot menu=on,splash-time=0 Will do this for my next revision. On which chip/macOS release did you see this failure? -m
- [PATCH v6 00/13] HVF: Add support for platform vGI... Mohamed Mediouni
- [PATCH v6 10/13] hvf: sync registers used at ... Mohamed Mediouni
- [PATCH v6 04/13] hw/intc: Add hvf vGIC interr... Mohamed Mediouni
- Re: [PATCH v6 04/13] hw/intc: Add hvf vGI... Philippe Mathieu-Daudé
- Re: [PATCH v6 04/13] hw/intc: Add hvf vGI... Mads Ynddal
- Re: [PATCH v6 04/13] hw/intc: Add hvf... Mohamed Mediouni
- [PATCH v6 12/13] target/arm: hvf: instantiate... Mohamed Mediouni
- Re: [PATCH v6 12/13] target/arm: hvf: ins... Mads Ynddal
- [PATCH v6 08/13] hw/arm: virt: cleanly fail o... Mohamed Mediouni
- [PATCH v6 11/13] hvf: gate ARM_FEATURE_PMU re... Mohamed Mediouni
- [PATCH v6 09/13] hvf: only call hvf_sync_vtim... Mohamed Mediouni
- [PATCH v6 02/13] hvf: switch hvf_arm_get_host... Mohamed Mediouni
- [PATCH v6 13/13] target/arm: hvf: add asserts... Mohamed Mediouni
- [PATCH v6 06/13] hvf: save/restore Apple GIC ... Mohamed Mediouni
- [PATCH v6 03/13] accel, hw/arm, include/syste... Mohamed Mediouni
- Re: [PATCH v6 03/13] accel, hw/arm, inclu... Philippe Mathieu-Daudé