summary refs log tree commit diff stats
path: root/include/hw/i386/ioapic_internal.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-12-03 11:54:14 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-12-10 08:47:44 +0100
commit94c5a606379ddd04beecdb11fb34b51b4b28c7f2 (patch)
tree8da6e8b5c7b6b24b7fe525643d3dab61cd3e1279 /include/hw/i386/ioapic_internal.h
parentceea95cd88c8f90ad93a83bbad4a077590316342 (diff)
downloadfocaccia-qemu-94c5a606379ddd04beecdb11fb34b51b4b28c7f2.tar.gz
focaccia-qemu-94c5a606379ddd04beecdb11fb34b51b4b28c7f2.zip
x86: add support for second ioapic
Add ioapic_init_secondary to initialize it, wire up
in gsi handling and acpi apic table creation.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-id: 20201203105423.10431-4-kraxel@redhat.com
Diffstat (limited to 'include/hw/i386/ioapic_internal.h')
-rw-r--r--include/hw/i386/ioapic_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/i386/ioapic_internal.h b/include/hw/i386/ioapic_internal.h
index 0f9002a2c2..021e715f11 100644
--- a/include/hw/i386/ioapic_internal.h
+++ b/include/hw/i386/ioapic_internal.h
@@ -27,7 +27,7 @@
 #include "qemu/notify.h"
 #include "qom/object.h"
 
-#define MAX_IOAPICS                     1
+#define MAX_IOAPICS                     2
 
 #define IOAPIC_LVT_DEST_SHIFT           56
 #define IOAPIC_LVT_DEST_IDX_SHIFT       48