On Tue, Jan 08, 2019 at 12:48:47PM +0100, Paolo Bonzini wrote: > On 08/01/19 11:53, Yang Zhong wrote: > > Thanks for detailed comments, i will change this one by one. > > The previous plan put all "selects" into hw/i386/Kconfig file, which > > can easily config board if we want to optimize i440fx or q35 platform. > > The selects are for mandatory devices, so if you remove them the machine > will not start. > > If you want to reduce the platform by omitting non-mandatory devices, > you can use default-configs, because non-mandatory devices will be > "default y" (or "default y if PC/PCI/SCSI/I2C"/whatever). > > Paolo > Thanks Paolo, it's clear now! Yang.
> > The new solution will spread "selects" into detailed hw/*/Kconfig file.