x86: add support for second ioapic
commit94c5a606379ddd04beecdb11fb34b51b4b28c7f2
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 3 Dec 2020 10:54:14 +0000 (3 11:54 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 10 Dec 2020 07:47:44 +0000 (10 08:47 +0100)
tree8da6e8b5c7b6b24b7fe525643d3dab61cd3e1279
parentceea95cd88c8f90ad93a83bbad4a077590316342
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
hw/i386/acpi-common.c
hw/i386/x86.c
include/hw/i386/ioapic.h
include/hw/i386/ioapic_internal.h
include/hw/i386/x86.h