summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Bonzini2020-03-20 11:41:24 +0100
committerPaolo Bonzini2020-04-01 19:00:16 +0200
commit3b703feaf8a27451d756b5db6aeaa8276928b595 (patch)
treeeae03882f5ac2d6d0134dc4b8dc4ce3072280eb8
parenthw/isa/superio: Correct the license text (diff)
downloadqemu-3b703feaf8a27451d756b5db6aeaa8276928b595.tar.gz
qemu-3b703feaf8a27451d756b5db6aeaa8276928b595.tar.xz
qemu-3b703feaf8a27451d756b5db6aeaa8276928b595.zip
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 <kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--hw/virtio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/Kconfig b/hw/virtio/Kconfig
index d29525b36f..83122424fa 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