microvm: add pcie support
commit24db877ab6e6dc999016f1f29e59c7eb1539f5d3
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 28 Sep 2020 10:42:49 +0000 (28 12:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 30 Sep 2020 09:29:56 +0000 (30 11:29 +0200)
tree28c49e12f78e90557f805c821daa7bbbb531c648
parentebf187757048e972eea1054cb1b5b54a3e47356b
microvm: add pcie support

Uses the existing gpex device which is also used as pcie host bridge on
arm/aarch64.  For now only a 32bit mmio window and no ioport support.

It is disabled by default, use "-machine microvm,pcie=on" to enable.
ACPI support must be enabled too because the bus is declared in the
DSDT table.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-6-kraxel@redhat.com
hw/i386/Kconfig
hw/i386/acpi-microvm.c
hw/i386/microvm.c
include/hw/i386/microvm.h