On Thu, May 09, 2024 at 07:00:43PM +0200, Paolo Bonzini wrote: > Date: Thu, 9 May 2024 19:00:43 +0200 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 12/13] i386: select correct components for no-board build > X-Mailer: git-send-email 2.45.0 > > The local APIC is a part of the CPU and has callbacks that are invoked > from multiple accelerators. > > The IOAPIC on the other hand is optional, but ioapic_eoi_broadcast is > used by common x86 code to implement the IOAPIC's implicit EOI mode. > Add a stub in case the IOAPIC device is not included but the APIC is. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > hw/intc/ioapic-stub.c | 29 +++++++++++++++++++++++++++++ > .gitlab-ci.d/buildtest.yml | 2 +- > hw/intc/meson.build | 2 +- > target/i386/Kconfig | 1 + > 4 files changed, 32 insertions(+), 2 deletions(-) > create mode 100644 hw/intc/ioapic-stub.c
Reviewed-by: Zhao Liu <zhao1....@intel.com>