aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio/Kconfig')
-rw-r--r--hw/virtio/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/virtio/Kconfig b/hw/virtio/Kconfig
index ebf18124fb..5dafbe35e1 100644
--- a/hw/virtio/Kconfig
+++ b/hw/virtio/Kconfig
@@ -6,6 +6,9 @@ config VIRTIO_RNG
config VIRTIO_PCI
bool
+ default y if PCI_DEVICES
+ depends on PCI
+ select VIRTIO
config VIRTIO_MMIO
bool