summary refs log tree commit diff
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2008-07-25 12:06:06 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-07-25 12:06:07 +1000
commit7721c494a28e06543a3d6aa412957aa783a4a531 (patch)
treea37e13bcdf0029df3b22cec1b64caa7d549d92a8 /drivers/char/Kconfig
parent91fcad19d03ed67cb50fd0e1913a8b89cc3ed3ec (diff)
downloadlinux-7721c494a28e06543a3d6aa412957aa783a4a531.tar.gz
virtio: console as a config option
I also added a small Kconfig change that allows the user to specify the
virtio console in menuconfig.

(Fixes to export symbols from Stephen Rothwell <sfr@canb.auug.org.au>)
(Fixes for CONFIG_VIRTIO_CONSOLE=y vs CONFIG_VIRTIO=m from Christian himself)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r--drivers/char/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index d825361a6baf..6c070dc5f2d4 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -624,8 +624,12 @@ config HVC_XEN
 	  Xen virtual console device driver
 
 config VIRTIO_CONSOLE
-	bool
+	tristate "Virtio console"
+	depends on VIRTIO
 	select HVC_DRIVER
+	help
+	  Virtio console for use with lguest and other hypervisors.
+
 
 config HVCS
 	tristate "IBM Hypervisor Virtual Console Server support"