Michael Ellerman
2018-Jan-02 22:40 UTC
[PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all
Michael Ellerman <mpe at ellerman.id.au> writes:> Vincent Legoll <vincent.legoll at gmail.com> writes: > >> Hello, >> >> thanks for the help, and sorry for the poor patch, >> >> On Thu, Dec 21, 2017 at 11:53 AM, Michael Ellerman <mpe at ellerman.id.au> wrote: >>> This breaks all existing .configs *and* defconfigs that use VIRTIO. >>> >>> Please don't do that. >>> >>> If you make it default y then everything will continue to work. >> >> Do you want me to respin it with the added default ? > > Yes please, either that or revert it.This still seems to be broken. cheers
Vincent Legoll
2018-Jan-03 09:49 UTC
[PATCH, v2] virtio: make VIRTIO a menuconfig to ease disabling it
No need to get into the submenu to disable all VIRTIO-related config entries. This makes it easier to disable all VIRTIO config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not change the config dependencies. v2: Added "default y" to avoid breaking existing configs Signed-off-by: Vincent Legoll <vincent.legoll at gmail.com>
Vincent Legoll
2018-Jan-03 09:49 UTC
[PATCH] [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all
No need to get into the submenu to disable all VIRTIO-related config entries. This makes it easier to disable all VIRTIO config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not change the config dependencies. v2: add "default y" to avoid breaking existing configs Signed-off-by: Vincent Legoll <vincent.legoll at gmail.com> --- drivers/virtio/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index cff773f15b7e..290a1875e1d3 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig @@ -5,7 +5,11 @@ config VIRTIO bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG or CONFIG_S390_GUEST. -menu "Virtio drivers" +menuconfig VIRTIO_MENU + bool "Virtio drivers" + default y + +if VIRTIO_MENU config VIRTIO_PCI tristate "PCI driver for virtio devices" @@ -79,4 +83,4 @@ config VIRTIO_MMIO_CMDLINE_DEVICES If unsure, say 'N'. -endmenu +endif # VIRTIO_MENU -- 2.11.0
Possibly Parallel Threads
- [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all
- [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all
- [PATCH] [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all
- [PATCH] [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all
- Ping Re: [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all