[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v2 26/37] scsi: express dependencies with Kc
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH v2 26/37] scsi: express dependencies with Kconfig |
Date: |
Wed, 16 Jan 2019 14:57:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 16/01/19 12:50, Thomas Huth wrote:
>> From: Paolo Bonzini <address@hidden>
>>
>> This lets you disable SCSI altogether with "CONFIG_SCSI=n".
> Sorry for my ignorant question, but: Can we really disable SCSI if the
> Kconfig files use "select SCSI" all over the place? I'd rather expect
> that "CONFIG_SCSI=n" only works if we only use "depends on SCSI" everywhere?
Right. It would work if the controllers depended on SCSI, but you can
say instead "this automatically removes the SCSI subsystem from the
binary altogether if no controllers are selected". Same for I2C, etc.
Paolo
> I'm fine if we use select SCSI in this patch, but maybe the commit
> message should be tweaked in case you can not really disable SCSI like
> this anymore?
- [Qemu-devel] [RFC PATCH v2 33/37] hyperv: express dependencies with kconfig, (continued)
- [Qemu-devel] [RFC PATCH v2 33/37] hyperv: express dependencies with kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 32/37] edid: express dependencies with kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 31/37] ptimer: express dependencies with Kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 28/37] isa: express dependencies with kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 29/37] i386: express dependencies with Kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 25/37] build: convert usb.mak to Kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 26/37] scsi: express dependencies with Kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 24/37] build: convert sound.mak to Kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 17/37] minikconfig: add semantic analysis, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 21/37] ide: express dependencies with Kconfig, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 11/37] hw/xtensa/Makefile.objs: Build xtensa_sim and xtensa_fpga conditionally, Yang Zhong, 2019/01/15