Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Al Viro | d805a78 | 2011-08-18 20:13:00 +0100 | [diff] [blame] | 2 | menu "UML Character Devices" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
| 4 | config STDERR_CONSOLE |
| 5 | bool "stderr console" |
| 6 | default y |
| 7 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 8 | console driver which dumps all printk messages to stderr. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | config SSL |
| 11 | bool "Virtual serial line" |
| 12 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 13 | The User-Mode Linux environment allows you to create virtual serial |
| 14 | lines on the UML that are usually made to show up on the host as |
| 15 | ttys or ptys. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
Karol Swietlicki | 0ba9d3f | 2008-02-04 22:30:38 -0800 | [diff] [blame] | 17 | See <http://user-mode-linux.sourceforge.net/old/input.html> for more |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 18 | information and command line examples of how to use this facility. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 20 | Unless you have a specific reason for disabling this, say Y. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | |
| 22 | config NULL_CHAN |
| 23 | bool "null channel support" |
| 24 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 25 | This option enables support for attaching UML consoles and serial |
| 26 | lines to a device similar to /dev/null. Data written to it disappears |
| 27 | and there is never any data to be read. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
| 29 | config PORT_CHAN |
| 30 | bool "port channel support" |
| 31 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 32 | This option enables support for attaching UML consoles and serial |
| 33 | lines to host portals. They may be accessed with 'telnet <host> |
| 34 | <port number>'. Any number of consoles and serial lines may be |
| 35 | attached to a single portal, although what UML device you get when |
| 36 | you telnet to that portal will be unpredictable. |
| 37 | It is safe to say 'Y' here. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | |
| 39 | config PTY_CHAN |
| 40 | bool "pty channel support" |
| 41 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 42 | This option enables support for attaching UML consoles and serial |
| 43 | lines to host pseudo-terminals. Access to both traditional |
| 44 | pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled |
| 45 | with this option. The assignment of UML devices to host devices |
| 46 | will be announced in the kernel message log. |
| 47 | It is safe to say 'Y' here. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | |
| 49 | config TTY_CHAN |
| 50 | bool "tty channel support" |
| 51 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 52 | This option enables support for attaching UML consoles and serial |
| 53 | lines to host terminals. Access to both virtual consoles |
| 54 | (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and |
| 55 | /dev/pts/*) are controlled by this option. |
| 56 | It is safe to say 'Y' here. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 57 | |
| 58 | config XTERM_CHAN |
| 59 | bool "xterm channel support" |
| 60 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 61 | This option enables support for attaching UML consoles and serial |
| 62 | lines to xterms. Each UML device so assigned will be brought up in |
| 63 | its own xterm. |
| 64 | It is safe to say 'Y' here. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | |
| 66 | config NOCONFIG_CHAN |
| 67 | bool |
| 68 | default !(XTERM_CHAN && TTY_CHAN && PTY_CHAN && PORT_CHAN && NULL_CHAN) |
| 69 | |
| 70 | config CON_ZERO_CHAN |
| 71 | string "Default main console channel initialization" |
| 72 | default "fd:0,fd:1" |
| 73 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 74 | This is the string describing the channel to which the main console |
| 75 | will be attached by default. This value can be overridden from the |
| 76 | command line. The default value is "fd:0,fd:1", which attaches the |
| 77 | main console to stdin and stdout. |
| 78 | It is safe to leave this unchanged. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 79 | |
| 80 | config CON_CHAN |
| 81 | string "Default console channel initialization" |
| 82 | default "xterm" |
| 83 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 84 | This is the string describing the channel to which all consoles |
| 85 | except the main console will be attached by default. This value can |
| 86 | be overridden from the command line. The default value is "xterm", |
| 87 | which brings them up in xterms. |
| 88 | It is safe to leave this unchanged, although you may wish to change |
| 89 | this if you expect the UML that you build to be run in environments |
| 90 | which don't have X or xterm available. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 91 | |
| 92 | config SSL_CHAN |
| 93 | string "Default serial line channel initialization" |
| 94 | default "pty" |
| 95 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 96 | This is the string describing the channel to which the serial lines |
| 97 | will be attached by default. This value can be overridden from the |
| 98 | command line. The default value is "pty", which attaches them to |
| 99 | traditional pseudo-terminals. |
| 100 | It is safe to leave this unchanged, although you may wish to change |
| 101 | this if you expect the UML that you build to be run in environments |
| 102 | which don't have a set of /dev/pty* devices. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 103 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 104 | config UML_SOUND |
| 105 | tristate "Sound support" |
| 106 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 107 | This option enables UML sound support. If enabled, it will pull in |
| 108 | soundcore and the UML hostaudio relay, which acts as a intermediary |
| 109 | between the host's dsp and mixer devices and the UML sound system. |
| 110 | It is safe to say 'Y' here. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 111 | |
| 112 | config SOUND |
| 113 | tristate |
| 114 | default UML_SOUND |
| 115 | |
Tejun Heo | d886e87 | 2008-08-28 16:42:51 +0200 | [diff] [blame] | 116 | config SOUND_OSS_CORE |
| 117 | bool |
| 118 | default UML_SOUND |
| 119 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 120 | config HOSTAUDIO |
| 121 | tristate |
| 122 | default UML_SOUND |
| 123 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 124 | endmenu |