On Tue, 13 Oct 2026 at 09:41, Peter Maydell <[email protected]> wrote: > > The IRS_SAVE_VMR register allows software to force the IRS to write > out any cached virtual interrupt state and configuration to the guest > memory data structures. (A hypervisor will use this as part of > saving the configuration of a VM for migration.)
> diff --git a/hw/intc/arm_gicv5_common.c b/hw/intc/arm_gicv5_common.c > index 50365c4dfe6..667f4501ef1 100644 > --- a/hw/intc/arm_gicv5_common.c > +++ b/hw/intc/arm_gicv5_common.c > @@ -116,6 +116,7 @@ static void gicv5_common_reset_hold(Object *obj, > ResetType type) > memset(cs->irs_vmap_vper, 0, sizeof(cs->irs_vmap_vper)); > memset(cs->irs_vpe_selr, 0, sizeof(cs->irs_vpe_selr)); > memset(cs->irs_vpe_dbr, 0, sizeof(cs->irs_vpe_dbr)); > + memset(cs->irs_save_vmr, 0, sizeof(cs->irs_vpe_dbr)); Cut and paste error again -- should be sizeof(cs->irs_save_vmr)). (Currently a harmless error since they're the same size.) -- PMM
