Hi Michael,
On Fri, Apr 17, 2020 at 10:57 AM Michael S. Tsirkin<mst@xxxxxxxxxx> wrote:
On Fri, Apr 17, 2020 at 04:51:19PM +0800, Jason Wang wrote:I can confirm VHOST_MENU is matching rule b), so it is safe to always
On 2020/4/17 äå4:46, Michael S. Tsirkin wrote:Hmm. So looking at Documentation/kbuild/kconfig-language.rst :
On Fri, Apr 17, 2020 at 04:39:49PM +0800, Jason Wang wrote:There could be some misunderstanding here. I thought it's somehow similar: a
On 2020/4/17 äå4:29, Michael S. Tsirkin wrote:The complaint was not about the symbol IIUC. It was that we caused
On Fri, Apr 17, 2020 at 03:36:52PM +0800, Jason Wang wrote:FYI, please seehttps://www.spinics.net/lists/kvm/msg212685.html
On 2020/4/17 äå2:33, Michael S. Tsirkin wrote:But who cares?
On Fri, Apr 17, 2020 at 11:12:14AM +0800, Jason Wang wrote:Sorry for being unclear.
On 2020/4/17 äå6:55, Michael S. Tsirkin wrote:Sorry I don't understand. After this patch CONFIG_VHOST_DPN is just
On Wed, Apr 15, 2020 at 10:43:56AM +0800, Jason Wang wrote:I test this patch by generating the defconfigs that wants vhost_net or
We try to keep the defconfig untouched after decoupling CONFIG_VHOSTI rebased this on top of OABI fix since that
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.
Acked-by: Christian Borntraeger<borntraeger@xxxxxxxxxx> (s390)
Acked-by: Michael Ellerman<mpe@xxxxxxxxxxxxxx> (powerpc)
Cc: Thomas Bogendoerfer<tsbogend@xxxxxxxxxxxxxxxx>
Cc: Benjamin Herrenschmidt<benh@xxxxxxxxxxxxxxxxxxx>
Cc: Paul Mackerras<paulus@xxxxxxxxx>
Cc: Michael Ellerman<mpe@xxxxxxxxxxxxxx>
Cc: Heiko Carstens<heiko.carstens@xxxxxxxxxx>
Cc: Vasily Gorbik<gor@xxxxxxxxxxxxx>
Cc: Christian Borntraeger<borntraeger@xxxxxxxxxx>
Reported-by: Geert Uytterhoeven<geert@xxxxxxxxxxxxxx>
Signed-off-by: Jason Wang<jasowang@xxxxxxxxxx>
seems more orgent to fix.
Pushed to my vhost branch pls take a look and
if possible test.
Thanks!
vhost_vsock. All looks fine.
But having CONFIG_VHOST_DPN=y may end up with the similar situation that
this patch want to address.
Maybe we can let CONFIG_VHOST depends on !ARM || AEABI then add another
menuconfig for VHOST_RING and do something similar?
Thanks
an internal variable for the OABI fix. I kept it separate
so it's easy to revert for 5.8. Yes we could squash it into
VHOST directly but I don't see how that changes logic at all.
I meant since it was enabled by default, "CONFIG_VHOST_DPN=y" will be left
in the defconfigs.
everyone to build vhost unless they manually disabled it.
CONFIG_VHOST_MENU=y will be left in the defconfigs even if CONFIG_VHOST is
not set.
Thanks
Things that merit "default y/m" include:
a) A new Kconfig option for something that used to always be built
should be "default y".
b) A new gatekeeping Kconfig option that hides/shows other Kconfig
options (but does not generate any code of its own), should be
"default y" so people will see those other options.
c) Sub-driver behavior or similar options for a driver that is
"default n". This allows you to provide sane defaults.
So it looks like VHOST_MENU is actually matching rule b).
So what's the problem we are trying to solve with this patch, exactly?
Geert could you clarify pls?
enable it.
Gr{oetje,eeting}s,
Geert