]> git.proxmox.com Git - mirror_qemu.git/commit
hw/scsi: Introduce VHOST_SCSI_COMMON symbol in Kconfig
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 24 May 2023 09:37:36 +0000 (11:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 23 Jun 2023 06:54:44 +0000 (02:54 -0400)
commit8f691f1cb76f0591874e91eb18569a150bb3cfe0
treea4e290444bca233581bcf3c45e9f1759be09481a
parentb3b408ffb9291e887029051a522a2c968a816d22
hw/scsi: Introduce VHOST_SCSI_COMMON symbol in Kconfig

Instead of adding 'vhost-scsi-common.c' twice (for VHOST_SCSI and
VHOST_USER_SCSI), have it depend on VHOST_SCSI_COMMON, selected by
both symbols.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230524093744.88442-3-philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
hw/scsi/Kconfig
hw/scsi/meson.build