[PATCH] vhost: do not enable VHOST_MENU by default

Jason Wang jasowang at redhat.com
Tue Apr 14 19:48:04 AEST 2020


On 2020/4/14 下午3:26, Christian Borntraeger wrote:
> On 14.04.20 04:44, Jason Wang wrote:
>> We try to keep the defconfig untouched after decoupling CONFIG_VHOST
>> out of CONFIG_VIRTUALIZATION in commit 20c384f1ea1a
>> ("vhost: refine vhost and vringh kconfig") by enabling VHOST_MENU by
>> default. Then the defconfigs can keep enabling CONFIG_VHOST_NET
>> without the caring of CONFIG_VHOST.
>>
>> But this will leave a "CONFIG_VHOST_MENU=y" in all defconfigs and even
>> for the ones that doesn't want vhost. So it actually shifts the
>> burdens to the maintainers of all other to add "CONFIG_VHOST_MENU is
>> not set". So this patch tries to enable CONFIG_VHOST explicitly in
>> defconfigs that enables CONFIG_VHOST_NET and CONFIG_VHOST_VSOCK.
>>
>> Cc: Thomas Bogendoerfer<tsbogend at alpha.franken.de>
>> Cc: Benjamin Herrenschmidt<benh at kernel.crashing.org>
>> Cc: Paul Mackerras<paulus at samba.org>
>> Cc: Michael Ellerman<mpe at ellerman.id.au>
>> Cc: Heiko Carstens<heiko.carstens at de.ibm.com>
>> Cc: Vasily Gorbik<gor at linux.ibm.com>
>> Cc: Christian Borntraeger<borntraeger at de.ibm.com>
> Fine with me.
> s390 part
>
> Acked-by: Christian Borntraeger<borntraeger at de.ibm.com>
>
>   That was my first approach to get things fixed before I reported
> this to you.


Exactly.

Thanks

>



More information about the Linuxppc-dev mailing list