aboutsummaryrefslogtreecommitdiff
path: root/target/i386
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-05-09 19:00:43 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-10 15:45:15 +0200
commit1b1badf3c523105d4cf5e6ccf8413d1be1dbadc4 (patch)
tree2f25ecd8e6c2ff97ed82fd73ffc3eb6f471afb62 /target/i386
parentd0be0ac2c37eb978ed51c822b4a8a7dc9015e1e0 (diff)
downloadqemu-1b1badf3c523105d4cf5e6ccf8413d1be1dbadc4.zip
qemu-1b1badf3c523105d4cf5e6ccf8413d1be1dbadc4.tar.gz
qemu-1b1badf3c523105d4cf5e6ccf8413d1be1dbadc4.tar.bz2
i386: select correct components for no-board build
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 <pbonzini@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Message-ID: <20240509170044.190795-13-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r--target/i386/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/Kconfig b/target/i386/Kconfig
index ad9291d..6b0feef 100644
--- a/target/i386/Kconfig
+++ b/target/i386/Kconfig
@@ -1,5 +1,6 @@
config I386
bool
+ select APIC
# kvm_arch_fixup_msi_route() needs to access PCIDevice
select PCI if KVM