Skip to content

Commit

Permalink
virtio: add help to CONFIG_VIRTIO option.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell committed Sep 28, 2012
1 parent 6457f12 commit 387daf1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/virtio/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 387daf1

Please sign in to comment.