]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
virtio: add help to CONFIG_VIRTIO option.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 13 Sep 2012 01:03:44 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Sep 2012 01:04:45 +0000 (11:04 +1000)
Trying to enable a virtio driver (eg CONFIG_VIRTIO_BLK) is painful
because it depends on CONFIG_VIRTIO.  CONFIG_VIRTIO doesn't tell you
how to turn it on (it's selected from anything which provides a virtio
bus).

This patch at least adds some documentation, visible in menuconfig, as
a hint.

Reported-by: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/Kconfig

index 8e048518eeb38d57d2c56e062614b15cad495bf0..eabc2a0cd9893bb441061b3ba0848c018a65d61e 100644 (file)
@@ -1,8 +1,10 @@
-# Virtio always gets selected by whoever wants it.
 config VIRTIO
        tristate
+       ---help---
+         This option is selected by any driver which implements the virtio
+         bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_LGUEST,
+         CONFIG_RPMSG or CONFIG_S390_GUEST.
 
-# Similarly the virtio ring implementation.
 config VIRTIO_RING
        tristate
        depends on VIRTIO