mirror of https://github.com/xemu-project/xemu.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 <kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b822dfaecd
commit
3b703feaf8
|
@ -12,7 +12,7 @@ config VIRTIO_RNG
|
||||||
config VIRTIO_IOMMU
|
config VIRTIO_IOMMU
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
depends on VIRTIO
|
depends on PCI && VIRTIO
|
||||||
|
|
||||||
config VIRTIO_PCI
|
config VIRTIO_PCI
|
||||||
bool
|
bool
|
||||||
|
|
Loading…
Reference in New Issue