• A
    qemu: Require PCIe Root Port for PCI by default on ARM virt · 20011d01
    Andrea Bolognani 提交于
    Our PCIe topology depends on the availability of PCIe Root Ports,
    so if none of the suitable devices (pcie-root-port, ioh3420) is
    compiled into QEMU we should fall back to virtio-mmio rather than
    trying to use PCI addresses only to fail immediately afterwards
    when we realize we can't use the necessary controllers.
    
    Note that this additional check is basically moot for ARM virt
    guests, because PCIe Root Ports were enabled in QEMU builds for
    the architecture well before guest OS support had been widely
    available; however, the opposite is true for RISC-V, and tweaking
    the code this way will allow us to share it between architectures.
    Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
    Reviewed-by: NCole Robinson <crobinso@redhat.com>
    20011d01
qemu_domain_address.c 115.9 KB