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 /include | |
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 'include')
-rw-r--r-- | include/hw/virtio/virtio-scsi.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/virtio/virtio-scsi.h b/include/hw/virtio/virtio-scsi.h index 543681b..0997313 100644 --- a/include/hw/virtio/virtio-scsi.h +++ b/include/hw/virtio/virtio-scsi.h @@ -55,10 +55,8 @@ struct VirtIOSCSIConf { bool seg_max_adjust; uint32_t max_sectors; uint32_t cmd_per_lun; -#ifdef CONFIG_VHOST_SCSI char *vhostfd; char *wwpn; -#endif CharBackend chardev; uint32_t boot_tpgt; IOThread *iothread; |