On Thu, May 08, 2025 at 03:35:37PM +0200, Philippe Mathieu-Daudé wrote: > Date: Thu, 8 May 2025 15:35:37 +0200 > From: Philippe Mathieu-Daudé <phi...@linaro.org> > Subject: [PATCH v4 14/27] hw/intc/apic: Remove > APICCommonState::legacy_instance_id field > X-Mailer: git-send-email 2.47.1 > > The APICCommonState::legacy_instance_id boolean was only set > in the pc_compat_2_6[] array, via the 'legacy-instance-id=on' > property. We removed all machines using that array, lets remove > that property, simplifying apic_common_realize(). > > Because instance_id is initialized as initial_apic_id, we can > not register vmstate_apic_common directly via dc->vmsd. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > Reviewed-by: Mark Cave-Ayland <mark.caveayl...@nutanix.com> > Reviewed-by: Thomas Huth <th...@redhat.com> > --- > include/hw/i386/apic_internal.h | 1 - > hw/intc/apic_common.c | 5 ----- > 2 files changed, 6 deletions(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>