This automatically removes the SCSI subsystem from the binary altogether if no controllers are selected. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Yang Zhong <yang.zhong@intel.com> Message-Id: <20190123065618.3520-34-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
53 lines
803 B
Plaintext
53 lines
803 B
Plaintext
config SCSI
|
|
bool
|
|
|
|
config LSI_SCSI_PCI
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
select SCSI
|
|
|
|
config MPTSAS_SCSI_PCI
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
select SCSI
|
|
|
|
config MEGASAS_SCSI_PCI
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
select SCSI
|
|
|
|
config VMW_PVSCSI_SCSI_PCI
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
select SCSI
|
|
|
|
config ESP
|
|
bool
|
|
select SCSI
|
|
|
|
config ESP_PCI
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
select ESP
|
|
|
|
config SPAPR_VSCSI
|
|
bool
|
|
default y
|
|
depends on PSERIES
|
|
select SCSI
|
|
|
|
config VIRTIO_SCSI
|
|
bool
|
|
select SCSI
|
|
|
|
config VHOST_USER_SCSI
|
|
bool
|
|
# Only PCI devices are provided for now
|
|
default y if VIRTIO_PCI
|
|
depends on VHOST_USER && LINUX
|