linux/arch/um/Kconfig.char
<<
>>
Prefs
   1# SPDX-License-Identifier: GPL-2.0
   2menu "UML Character Devices"
   3
   4config STDERR_CONSOLE
   5        bool "stderr console"
   6        default y
   7        help
   8          console driver which dumps all printk messages to stderr.
   9
  10config SSL
  11        bool "Virtual serial line"
  12        help
  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.
  16
  17          See <http://user-mode-linux.sourceforge.net/old/input.html> for more
  18          information and command line examples of how to use this facility.
  19
  20          Unless you have a specific reason for disabling this, say Y.
  21
  22config NULL_CHAN
  23        bool "null channel support"
  24        help
  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.
  28
  29config PORT_CHAN
  30        bool "port channel support"
  31        help
  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.
  38
  39config PTY_CHAN
  40        bool "pty channel support"
  41        help
  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.
  48
  49config TTY_CHAN
  50        bool "tty channel support"
  51        help
  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.
  57
  58config XTERM_CHAN
  59        bool "xterm channel support"
  60        help
  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.
  65
  66config NOCONFIG_CHAN
  67        bool
  68        default !(XTERM_CHAN && TTY_CHAN && PTY_CHAN && PORT_CHAN && NULL_CHAN)
  69
  70config CON_ZERO_CHAN
  71        string "Default main console channel initialization"
  72        default "fd:0,fd:1"
  73        help
  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.
  79
  80config CON_CHAN
  81        string "Default console channel initialization"
  82        default "xterm"
  83        help
  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.
  91
  92config SSL_CHAN
  93        string "Default serial line channel initialization"
  94        default "pty"
  95        help
  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.
 103
 104config UML_SOUND
 105        tristate "Sound support"
 106        help
 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.
 111
 112config SOUND
 113        tristate
 114        default UML_SOUND
 115
 116config SOUND_OSS_CORE
 117        bool
 118        default UML_SOUND
 119
 120config HOSTAUDIO
 121        tristate
 122        default UML_SOUND
 123
 124endmenu
 125