Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b95fec6 authored by Vincent Legoll's avatar Vincent Legoll Committed by Michael S. Tsirkin
Browse files

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.

Signed-off-by: default avatarVincent Legoll <vincent.legoll@gmail.com>
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent a311650a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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