Skip to content

Commit

Permalink
virtio-iommu: depend on PCI
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
bonzini committed Apr 1, 2020
1 parent b822dfa commit 3b703fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/virtio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ config VIRTIO_RNG
config VIRTIO_IOMMU
bool
default y
depends on VIRTIO
depends on PCI && VIRTIO

config VIRTIO_PCI
bool
Expand Down

0 comments on commit 3b703fe

Please sign in to comment.