microvm: add second ioapic
commit4d01b8994ca5ce7f48e85e48fb1d31e73699108b
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 3 Dec 2020 10:54:18 +0000 (3 11:54 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 10 Dec 2020 07:47:44 +0000 (10 08:47 +0100)
treeda72f76a97eba3dce08a93373efa4b6f87a09e64
parente57e9ae7992bde44d7938ca9a2ec0aa9c5f0bbb6
microvm: add second ioapic

Create second ioapic, route virtio-mmio IRQs to it,
allow more virtio-mmio devices (24 instead of 8).

Needs ACPI, enabled by default, can be turned off
using -machine ioapic2=off

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-8-kraxel@redhat.com
hw/i386/microvm.c
include/hw/i386/microvm.h
tests/qtest/bios-tables-test.c