diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-20 17:34:03 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-07 07:46:58 +0200 |
commit | d13b200253cbd9cb933a1cfead9106abd564ae4a (patch) | |
tree | b6a06d9763b95b10a63d3e31cdb74b5840ffe1ee /hw/scsi | |
parent | 9972ae314fc38b7e47ee7ccdbc8556b7cad8a930 (diff) | |
download | qemu-d13b200253cbd9cb933a1cfead9106abd564ae4a.zip qemu-d13b200253cbd9cb933a1cfead9106abd564ae4a.tar.gz qemu-d13b200253cbd9cb933a1cfead9106abd564ae4a.tar.bz2 |
build: move vhost-scsi configuration to Kconfig
vhost-scsi and vhost-user-scsi are two devices of their own; it should
be possible to enable/disable them with --without-default-devices, not
--without-default-features. Compute their default value in Kconfig to
obtain the more intuitive behavior.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi')
-rw-r--r-- | hw/scsi/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/scsi/Kconfig b/hw/scsi/Kconfig index 77d397c..e7b34dc 100644 --- a/hw/scsi/Kconfig +++ b/hw/scsi/Kconfig @@ -48,6 +48,11 @@ config VIRTIO_SCSI depends on VIRTIO select SCSI +config VHOST_SCSI + bool + default y + depends on VIRTIO && VHOST_KERNEL + config VHOST_USER_SCSI bool # Only PCI devices are provided for now |