From: Paolo Bonzini Date: Fri, 20 Mar 2020 10:41:24 +0000 (+0100) Subject: virtio-iommu: depend on PCI X-Git-Tag: v5.0.0-rc2~14^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b703feaf8a27451d756b5db6aeaa8276928b595;p=thirdparty%2Fqemu.git virtio-iommu: depend on PCI The virtio-iommu device attaches itself to a PCI bus, so it makes no sense to include it unless PCI is supported---and in fact compilation fails without this change. Reported-by: Gerd Hoffmann Signed-off-by: Paolo Bonzini --- diff --git a/hw/virtio/Kconfig b/hw/virtio/Kconfig index d29525b36fa..83122424fab 100644 --- a/hw/virtio/Kconfig +++ b/hw/virtio/Kconfig @@ -12,7 +12,7 @@ config VIRTIO_RNG config VIRTIO_IOMMU bool default y - depends on VIRTIO + depends on PCI && VIRTIO config VIRTIO_PCI bool