summaryrefslogtreecommitdiffstats
path: root/hw/scsi/Kconfig
diff options
context:
space:
mode:
authorYang Zhong2019-01-23 07:56:15 +0100
committerPaolo Bonzini2019-03-07 21:45:53 +0100
commitb42075bb77672616127c9452c0f836e757e9ce1a (patch)
tree97ce4d2682af74305ea3858f56793317022389c8 /hw/scsi/Kconfig
parentvfio: express vfio dependencies with Kconfig (diff)
downloadqemu-b42075bb77672616127c9452c0f836e757e9ce1a.tar.gz
qemu-b42075bb77672616127c9452c0f836e757e9ce1a.tar.xz
qemu-b42075bb77672616127c9452c0f836e757e9ce1a.zip
virtio: express virtio dependencies with Kconfig
Signed-off-by: Yang Zhong <yang.zhong@intel.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190123065618.3520-42-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/Kconfig')
-rw-r--r--hw/scsi/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/scsi/Kconfig b/hw/scsi/Kconfig
index b9cf269764..b3ba540c17 100644
--- a/hw/scsi/Kconfig
+++ b/hw/scsi/Kconfig
@@ -43,10 +43,12 @@ config SPAPR_VSCSI
config VIRTIO_SCSI
bool
+ default y
+ depends on VIRTIO
select SCSI
config VHOST_USER_SCSI
bool
# Only PCI devices are provided for now
default y if VIRTIO_PCI
- depends on VHOST_USER && LINUX
+ depends on VIRTIO && VHOST_USER && LINUX