aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu/hw/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ioemu/hw/pc.c')
-rw-r--r--tools/ioemu/hw/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/ioemu/hw/pc.c b/tools/ioemu/hw/pc.c
index 70cafc55f1..3c7e62722e 100644
--- a/tools/ioemu/hw/pc.c
+++ b/tools/ioemu/hw/pc.c
@@ -543,6 +543,9 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
pci_ne2000_init(pci_bus, &nd_table[i]);
}
pci_piix3_ide_init(pci_bus, bs_table);
+#ifdef APIC_SUPPORT
+ IOAPICInit();
+#endif
} else {
nb_nics1 = nb_nics;
if (nb_nics1 > NE2000_NB_MAX)