aboutsummaryrefslogtreecommitdiff
path: root/hw/block/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'hw/block/Kconfig')
-rw-r--r--hw/block/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/hw/block/Kconfig b/hw/block/Kconfig
index 6a23659a6f..00f9dad372 100644
--- a/hw/block/Kconfig
+++ b/hw/block/Kconfig
@@ -28,8 +28,11 @@ config NVME_PCI
config VIRTIO_BLK
bool
+ default y
+ depends on VIRTIO
config VHOST_USER_BLK
bool
- default y
- depends on VHOST_USER && LINUX
+ # Only PCI devices are provided for now
+ default y if VIRTIO_PCI
+ depends on VIRTIO && VHOST_USER && LINUX