xref: /openbmc/linux/arch/um/drivers/Kconfig (revision db4bfcba)
19bea1801SChristoph Hellwig# SPDX-License-Identifier: GPL-2.0
29bea1801SChristoph Hellwig
39bea1801SChristoph Hellwigmenu "UML Character Devices"
49bea1801SChristoph Hellwig
59bea1801SChristoph Hellwigconfig STDERR_CONSOLE
69bea1801SChristoph Hellwig	bool "stderr console"
79bea1801SChristoph Hellwig	default y
89bea1801SChristoph Hellwig	help
99bea1801SChristoph Hellwig	  console driver which dumps all printk messages to stderr.
109bea1801SChristoph Hellwig
119bea1801SChristoph Hellwigconfig SSL
129bea1801SChristoph Hellwig	bool "Virtual serial line"
139bea1801SChristoph Hellwig	help
149bea1801SChristoph Hellwig	  The User-Mode Linux environment allows you to create virtual serial
159bea1801SChristoph Hellwig	  lines on the UML that are usually made to show up on the host as
169bea1801SChristoph Hellwig	  ttys or ptys.
179bea1801SChristoph Hellwig
189bea1801SChristoph Hellwig	  See <http://user-mode-linux.sourceforge.net/old/input.html> for more
199bea1801SChristoph Hellwig	  information and command line examples of how to use this facility.
209bea1801SChristoph Hellwig
219bea1801SChristoph Hellwig	  Unless you have a specific reason for disabling this, say Y.
229bea1801SChristoph Hellwig
239bea1801SChristoph Hellwigconfig NULL_CHAN
249bea1801SChristoph Hellwig	bool "null channel support"
259bea1801SChristoph Hellwig	help
269bea1801SChristoph Hellwig	  This option enables support for attaching UML consoles and serial
279bea1801SChristoph Hellwig	  lines to a device similar to /dev/null.  Data written to it disappears
289bea1801SChristoph Hellwig	  and there is never any data to be read.
299bea1801SChristoph Hellwig
309bea1801SChristoph Hellwigconfig PORT_CHAN
319bea1801SChristoph Hellwig	bool "port channel support"
329bea1801SChristoph Hellwig	help
339bea1801SChristoph Hellwig	  This option enables support for attaching UML consoles and serial
349bea1801SChristoph Hellwig	  lines to host portals.  They may be accessed with 'telnet <host>
359bea1801SChristoph Hellwig	  <port number>'.  Any number of consoles and serial lines may be
369bea1801SChristoph Hellwig	  attached to a single portal, although what UML device you get when
379bea1801SChristoph Hellwig	  you telnet to that portal will be unpredictable.
389bea1801SChristoph Hellwig	  It is safe to say 'Y' here.
399bea1801SChristoph Hellwig
409bea1801SChristoph Hellwigconfig PTY_CHAN
419bea1801SChristoph Hellwig	bool "pty channel support"
429bea1801SChristoph Hellwig	help
439bea1801SChristoph Hellwig	  This option enables support for attaching UML consoles and serial
449bea1801SChristoph Hellwig	  lines to host pseudo-terminals.  Access to both traditional
459bea1801SChristoph Hellwig	  pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled
469bea1801SChristoph Hellwig	  with this option.  The assignment of UML devices to host devices
479bea1801SChristoph Hellwig	  will be announced in the kernel message log.
489bea1801SChristoph Hellwig	  It is safe to say 'Y' here.
499bea1801SChristoph Hellwig
509bea1801SChristoph Hellwigconfig TTY_CHAN
519bea1801SChristoph Hellwig	bool "tty channel support"
529bea1801SChristoph Hellwig	help
539bea1801SChristoph Hellwig	  This option enables support for attaching UML consoles and serial
549bea1801SChristoph Hellwig	  lines to host terminals.  Access to both virtual consoles
559bea1801SChristoph Hellwig	  (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and
569bea1801SChristoph Hellwig	  /dev/pts/*) are controlled by this option.
579bea1801SChristoph Hellwig	  It is safe to say 'Y' here.
589bea1801SChristoph Hellwig
599bea1801SChristoph Hellwigconfig XTERM_CHAN
609bea1801SChristoph Hellwig	bool "xterm channel support"
619bea1801SChristoph Hellwig	help
629bea1801SChristoph Hellwig	  This option enables support for attaching UML consoles and serial
639bea1801SChristoph Hellwig	  lines to xterms.  Each UML device so assigned will be brought up in
649bea1801SChristoph Hellwig	  its own xterm.
659bea1801SChristoph Hellwig	  It is safe to say 'Y' here.
669bea1801SChristoph Hellwig
6716aa835aSJohannes Bergconfig XTERM_CHAN_DEFAULT_EMULATOR
6816aa835aSJohannes Berg	string "xterm channel default terminal emulator"
6916aa835aSJohannes Berg	depends on XTERM_CHAN
7016aa835aSJohannes Berg	default "xterm"
7116aa835aSJohannes Berg	help
7216aa835aSJohannes Berg	  This option allows changing the default terminal emulator.
7316aa835aSJohannes Berg
749bea1801SChristoph Hellwigconfig NOCONFIG_CHAN
759bea1801SChristoph Hellwig	bool
769bea1801SChristoph Hellwig	default !(XTERM_CHAN && TTY_CHAN && PTY_CHAN && PORT_CHAN && NULL_CHAN)
779bea1801SChristoph Hellwig
789bea1801SChristoph Hellwigconfig CON_ZERO_CHAN
799bea1801SChristoph Hellwig	string "Default main console channel initialization"
809bea1801SChristoph Hellwig	default "fd:0,fd:1"
819bea1801SChristoph Hellwig	help
829bea1801SChristoph Hellwig	  This is the string describing the channel to which the main console
839bea1801SChristoph Hellwig	  will be attached by default.  This value can be overridden from the
849bea1801SChristoph Hellwig	  command line.  The default value is "fd:0,fd:1", which attaches the
859bea1801SChristoph Hellwig	  main console to stdin and stdout.
869bea1801SChristoph Hellwig	  It is safe to leave this unchanged.
879bea1801SChristoph Hellwig
889bea1801SChristoph Hellwigconfig CON_CHAN
899bea1801SChristoph Hellwig	string "Default console channel initialization"
909bea1801SChristoph Hellwig	default "xterm"
919bea1801SChristoph Hellwig	help
929bea1801SChristoph Hellwig	  This is the string describing the channel to which all consoles
939bea1801SChristoph Hellwig	  except the main console will be attached by default.  This value can
949bea1801SChristoph Hellwig	  be overridden from the command line.  The default value is "xterm",
959bea1801SChristoph Hellwig	  which brings them up in xterms.
969bea1801SChristoph Hellwig	  It is safe to leave this unchanged, although you may wish to change
979bea1801SChristoph Hellwig	  this if you expect the UML that you build to be run in environments
989bea1801SChristoph Hellwig	  which don't have X or xterm available.
999bea1801SChristoph Hellwig
1009bea1801SChristoph Hellwigconfig SSL_CHAN
1019bea1801SChristoph Hellwig	string "Default serial line channel initialization"
1029bea1801SChristoph Hellwig	default "pty"
1039bea1801SChristoph Hellwig	help
1049bea1801SChristoph Hellwig	  This is the string describing the channel to which the serial lines
1059bea1801SChristoph Hellwig	  will be attached by default.  This value can be overridden from the
1069bea1801SChristoph Hellwig	  command line.  The default value is "pty", which attaches them to
1079bea1801SChristoph Hellwig	  traditional pseudo-terminals.
1089bea1801SChristoph Hellwig	  It is safe to leave this unchanged, although you may wish to change
1099bea1801SChristoph Hellwig	  this if you expect the UML that you build to be run in environments
1109bea1801SChristoph Hellwig	  which don't have a set of /dev/pty* devices.
1119bea1801SChristoph Hellwig
1129bea1801SChristoph Hellwigconfig UML_SOUND
1139bea1801SChristoph Hellwig	tristate "Sound support"
114*db4bfcbaSRandy Dunlap	depends on SOUND
115*db4bfcbaSRandy Dunlap	select SOUND_OSS_CORE
1169bea1801SChristoph Hellwig	help
1179bea1801SChristoph Hellwig	  This option enables UML sound support.  If enabled, it will pull in
118*db4bfcbaSRandy Dunlap	  the UML hostaudio relay, which acts as a intermediary
1199bea1801SChristoph Hellwig	  between the host's dsp and mixer devices and the UML sound system.
1209bea1801SChristoph Hellwig	  It is safe to say 'Y' here.
1219bea1801SChristoph Hellwig
1229bea1801SChristoph Hellwigendmenu
1239bea1801SChristoph Hellwig
1249bea1801SChristoph Hellwigmenu "UML Network Devices"
1259bea1801SChristoph Hellwig	depends on NET
1269bea1801SChristoph Hellwig
1279bea1801SChristoph Hellwig# UML virtual driver
1289bea1801SChristoph Hellwigconfig UML_NET
1299bea1801SChristoph Hellwig	bool "Virtual network device"
1309bea1801SChristoph Hellwig	help
1319bea1801SChristoph Hellwig	  While the User-Mode port cannot directly talk to any physical
1329bea1801SChristoph Hellwig	  hardware devices, this choice and the following transport options
1339bea1801SChristoph Hellwig	  provide one or more virtual network devices through which the UML
1349bea1801SChristoph Hellwig	  kernels can talk to each other, the host, and with the host's help,
1359bea1801SChristoph Hellwig	  machines on the outside world.
1369bea1801SChristoph Hellwig
1379bea1801SChristoph Hellwig	  For more information, including explanations of the networking and
1389bea1801SChristoph Hellwig	  sample configurations, see
1399bea1801SChristoph Hellwig	  <http://user-mode-linux.sourceforge.net/old/networking.html>.
1409bea1801SChristoph Hellwig
1419bea1801SChristoph Hellwig	  If you'd like to be able to enable networking in the User-Mode
1429bea1801SChristoph Hellwig	  linux environment, say Y; otherwise say N.  Note that you must
1439bea1801SChristoph Hellwig	  enable at least one of the following transport options to actually
1449bea1801SChristoph Hellwig	  make use of UML networking.
1459bea1801SChristoph Hellwig
1469bea1801SChristoph Hellwigconfig UML_NET_ETHERTAP
14740814b98SBrendan Higgins	bool "Ethertap transport (obsolete)"
1489bea1801SChristoph Hellwig	depends on UML_NET
1499bea1801SChristoph Hellwig	help
1509bea1801SChristoph Hellwig	  The Ethertap User-Mode Linux network transport allows a single
1519bea1801SChristoph Hellwig	  running UML to exchange packets with its host over one of the
1529bea1801SChristoph Hellwig	  host's Ethertap devices, such as /dev/tap0.  Additional running
1539bea1801SChristoph Hellwig	  UMLs can use additional Ethertap devices, one per running UML.
1549bea1801SChristoph Hellwig	  While the UML believes it's on a (multi-device, broadcast) virtual
1559bea1801SChristoph Hellwig	  Ethernet network, it's in fact communicating over a point-to-point
1569bea1801SChristoph Hellwig	  link with the host.
1579bea1801SChristoph Hellwig
1589bea1801SChristoph Hellwig	  To use this, your host kernel must have support for Ethertap
1599bea1801SChristoph Hellwig	  devices.  Also, if your host kernel is 2.4.x, it must have
1609bea1801SChristoph Hellwig	  CONFIG_NETLINK_DEV configured as Y or M.
1619bea1801SChristoph Hellwig
1629bea1801SChristoph Hellwig	  For more information, see
1639bea1801SChristoph Hellwig	  <http://user-mode-linux.sourceforge.net/old/networking.html>  That site
1649bea1801SChristoph Hellwig	  has examples of the UML command line to use to enable Ethertap
1659bea1801SChristoph Hellwig	  networking.
1669bea1801SChristoph Hellwig
16740814b98SBrendan Higgins	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
16840814b98SBrendan Higgins	  migrate to UML_NET_VECTOR.
16940814b98SBrendan Higgins
17040814b98SBrendan Higgins	  If unsure, say N.
1719bea1801SChristoph Hellwig
1729bea1801SChristoph Hellwigconfig UML_NET_TUNTAP
17340814b98SBrendan Higgins	bool "TUN/TAP transport (obsolete)"
1749bea1801SChristoph Hellwig	depends on UML_NET
1759bea1801SChristoph Hellwig	help
1769bea1801SChristoph Hellwig	  The UML TUN/TAP network transport allows a UML instance to exchange
1779bea1801SChristoph Hellwig	  packets with the host over a TUN/TAP device.  This option will only
1789bea1801SChristoph Hellwig	  work with a 2.4 host, unless you've applied the TUN/TAP patch to
1799bea1801SChristoph Hellwig	  your 2.2 host kernel.
1809bea1801SChristoph Hellwig
1819bea1801SChristoph Hellwig	  To use this transport, your host kernel must have support for TUN/TAP
1829bea1801SChristoph Hellwig	  devices, either built-in or as a module.
1839bea1801SChristoph Hellwig
18440814b98SBrendan Higgins	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
18540814b98SBrendan Higgins	  migrate to UML_NET_VECTOR.
18640814b98SBrendan Higgins
18740814b98SBrendan Higgins	  If unsure, say N.
18840814b98SBrendan Higgins
1899bea1801SChristoph Hellwigconfig UML_NET_SLIP
19040814b98SBrendan Higgins	bool "SLIP transport (obsolete)"
1919bea1801SChristoph Hellwig	depends on UML_NET
1929bea1801SChristoph Hellwig	help
1939bea1801SChristoph Hellwig	  The slip User-Mode Linux network transport allows a running UML to
1949bea1801SChristoph Hellwig	  network with its host over a point-to-point link.  Unlike Ethertap,
1959bea1801SChristoph Hellwig	  which can carry any Ethernet frame (and hence even non-IP packets),
1969bea1801SChristoph Hellwig	  the slip transport can only carry IP packets.
1979bea1801SChristoph Hellwig
1989bea1801SChristoph Hellwig	  To use this, your host must support slip devices.
1999bea1801SChristoph Hellwig
2009bea1801SChristoph Hellwig	  For more information, see
2019bea1801SChristoph Hellwig	  <http://user-mode-linux.sourceforge.net/old/networking.html>.
2029bea1801SChristoph Hellwig	  has examples of the UML command line to use to enable slip
2039bea1801SChristoph Hellwig	  networking, and details of a few quirks with it.
2049bea1801SChristoph Hellwig
20540814b98SBrendan Higgins	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
20640814b98SBrendan Higgins	  migrate to UML_NET_VECTOR.
20740814b98SBrendan Higgins
20840814b98SBrendan Higgins	  If unsure, say N.
2099bea1801SChristoph Hellwig
2109bea1801SChristoph Hellwigconfig UML_NET_DAEMON
21140814b98SBrendan Higgins	bool "Daemon transport (obsolete)"
2129bea1801SChristoph Hellwig	depends on UML_NET
2139bea1801SChristoph Hellwig	help
2149bea1801SChristoph Hellwig	  This User-Mode Linux network transport allows one or more running
2159bea1801SChristoph Hellwig	  UMLs on a single host to communicate with each other, but not to
2169bea1801SChristoph Hellwig	  the host.
2179bea1801SChristoph Hellwig
2189bea1801SChristoph Hellwig	  To use this form of networking, you'll need to run the UML
2199bea1801SChristoph Hellwig	  networking daemon on the host.
2209bea1801SChristoph Hellwig
2219bea1801SChristoph Hellwig	  For more information, see
2229bea1801SChristoph Hellwig	  <http://user-mode-linux.sourceforge.net/old/networking.html>  That site
2239bea1801SChristoph Hellwig	  has examples of the UML command line to use to enable Daemon
2249bea1801SChristoph Hellwig	  networking.
2259bea1801SChristoph Hellwig
22640814b98SBrendan Higgins	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
22740814b98SBrendan Higgins	  migrate to UML_NET_VECTOR.
22840814b98SBrendan Higgins
22940814b98SBrendan Higgins	  If unsure, say N.
2309bea1801SChristoph Hellwig
231b0cbccf4SJohannes Bergconfig UML_NET_DAEMON_DEFAULT_SOCK
232b0cbccf4SJohannes Berg	string "Default socket for daemon transport"
233b0cbccf4SJohannes Berg	default "/tmp/uml.ctl"
234b0cbccf4SJohannes Berg	depends on UML_NET_DAEMON
235b0cbccf4SJohannes Berg	help
236b0cbccf4SJohannes Berg	  This option allows setting the default socket for the daemon
237b0cbccf4SJohannes Berg	  transport, normally it defaults to /tmp/uml.ctl.
238b0cbccf4SJohannes Berg
2399bea1801SChristoph Hellwigconfig UML_NET_VECTOR
2409bea1801SChristoph Hellwig	bool "Vector I/O high performance network devices"
2419bea1801SChristoph Hellwig	depends on UML_NET
242730586ffSIgnat Korchagin	select MAY_HAVE_RUNTIME_DEPS
2439bea1801SChristoph Hellwig	help
2449bea1801SChristoph Hellwig	  This User-Mode Linux network driver uses multi-message send
2459bea1801SChristoph Hellwig	  and receive functions. The host running the UML guest must have
2469bea1801SChristoph Hellwig	  a linux kernel version above 3.0 and a libc version > 2.13.
2479bea1801SChristoph Hellwig	  This driver provides tap, raw, gre and l2tpv3 network transports
2489bea1801SChristoph Hellwig	  with up to 4 times higher network throughput than the UML network
2499bea1801SChristoph Hellwig	  drivers.
2509bea1801SChristoph Hellwig
2519bea1801SChristoph Hellwigconfig UML_NET_VDE
25240814b98SBrendan Higgins	bool "VDE transport (obsolete)"
2539bea1801SChristoph Hellwig	depends on UML_NET
254910dba41SPeter Foley	depends on !MODVERSIONS
255730586ffSIgnat Korchagin	select MAY_HAVE_RUNTIME_DEPS
2569bea1801SChristoph Hellwig	help
2579bea1801SChristoph Hellwig	  This User-Mode Linux network transport allows one or more running
2589bea1801SChristoph Hellwig	  UMLs on a single host to communicate with each other and also
2599bea1801SChristoph Hellwig	  with the rest of the world using Virtual Distributed Ethernet,
2609bea1801SChristoph Hellwig	  an improved fork of uml_switch.
2619bea1801SChristoph Hellwig
2629bea1801SChristoph Hellwig	  You must have libvdeplug installed in order to build the vde
2639bea1801SChristoph Hellwig	  transport into UML.
2649bea1801SChristoph Hellwig
2659bea1801SChristoph Hellwig	  To use this form of networking, you will need to run vde_switch
2669bea1801SChristoph Hellwig	  on the host.
2679bea1801SChristoph Hellwig
2689bea1801SChristoph Hellwig	  For more information, see <http://wiki.virtualsquare.org/>
2699bea1801SChristoph Hellwig	  That site has a good overview of what VDE is and also examples
2709bea1801SChristoph Hellwig	  of the UML command line to use to enable VDE networking.
2719bea1801SChristoph Hellwig
27240814b98SBrendan Higgins	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
27340814b98SBrendan Higgins	  migrate to UML_NET_VECTOR.
27440814b98SBrendan Higgins
27540814b98SBrendan Higgins	  If unsure, say N.
2769bea1801SChristoph Hellwig
2779bea1801SChristoph Hellwigconfig UML_NET_MCAST
27840814b98SBrendan Higgins	bool "Multicast transport (obsolete)"
2799bea1801SChristoph Hellwig	depends on UML_NET
2809bea1801SChristoph Hellwig	help
2819bea1801SChristoph Hellwig	  This Multicast User-Mode Linux network transport allows multiple
2829bea1801SChristoph Hellwig	  UMLs (even ones running on different host machines!) to talk to
2839bea1801SChristoph Hellwig	  each other over a virtual ethernet network.  However, it requires
2849bea1801SChristoph Hellwig	  at least one UML with one of the other transports to act as a
2859bea1801SChristoph Hellwig	  bridge if any of them need to be able to talk to their hosts or any
2869bea1801SChristoph Hellwig	  other IP machines.
2879bea1801SChristoph Hellwig
2889bea1801SChristoph Hellwig	  To use this, your host kernel(s) must support IP Multicasting.
2899bea1801SChristoph Hellwig
2909bea1801SChristoph Hellwig	  For more information, see
2919bea1801SChristoph Hellwig	  <http://user-mode-linux.sourceforge.net/old/networking.html>  That site
2929bea1801SChristoph Hellwig	  has examples of the UML command line to use to enable Multicast
2939bea1801SChristoph Hellwig	  networking, and notes about the security of this approach.
2949bea1801SChristoph Hellwig
29540814b98SBrendan Higgins	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
29640814b98SBrendan Higgins	  migrate to UML_NET_VECTOR.
29740814b98SBrendan Higgins
29840814b98SBrendan Higgins	  If unsure, say N.
2999bea1801SChristoph Hellwig
3009bea1801SChristoph Hellwigconfig UML_NET_PCAP
30140814b98SBrendan Higgins	bool "pcap transport (obsolete)"
3029bea1801SChristoph Hellwig	depends on UML_NET
303910dba41SPeter Foley	depends on !MODVERSIONS
304730586ffSIgnat Korchagin	select MAY_HAVE_RUNTIME_DEPS
3059bea1801SChristoph Hellwig	help
3069bea1801SChristoph Hellwig	  The pcap transport makes a pcap packet stream on the host look
3079bea1801SChristoph Hellwig	  like an ethernet device inside UML.  This is useful for making
3089bea1801SChristoph Hellwig	  UML act as a network monitor for the host.  You must have libcap
3099bea1801SChristoph Hellwig	  installed in order to build the pcap transport into UML.
3109bea1801SChristoph Hellwig
3119bea1801SChristoph Hellwig	  For more information, see
3129bea1801SChristoph Hellwig	  <http://user-mode-linux.sourceforge.net/old/networking.html>  That site
3139bea1801SChristoph Hellwig	  has examples of the UML command line to use to enable this option.
3149bea1801SChristoph Hellwig
31540814b98SBrendan Higgins	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
31640814b98SBrendan Higgins	  migrate to UML_NET_VECTOR.
31740814b98SBrendan Higgins
31840814b98SBrendan Higgins	  If unsure, say N.
3199bea1801SChristoph Hellwig
3209bea1801SChristoph Hellwigconfig UML_NET_SLIRP
32140814b98SBrendan Higgins	bool "SLiRP transport (obsolete)"
3229bea1801SChristoph Hellwig	depends on UML_NET
3239bea1801SChristoph Hellwig	help
3249bea1801SChristoph Hellwig	  The SLiRP User-Mode Linux network transport allows a running UML
3259bea1801SChristoph Hellwig	  to network by invoking a program that can handle SLIP encapsulated
3269bea1801SChristoph Hellwig	  packets.  This is commonly (but not limited to) the application
3279bea1801SChristoph Hellwig	  known as SLiRP, a program that can re-socket IP packets back onto
32875f24f78SEnrico Weigelt, metux IT consult	  he host on which it is run.  Only IP packets are supported,
3299bea1801SChristoph Hellwig	  unlike other network transports that can handle all Ethernet
3309bea1801SChristoph Hellwig	  frames.  In general, slirp allows the UML the same IP connectivity
3319bea1801SChristoph Hellwig	  to the outside world that the host user is permitted, and unlike
3329bea1801SChristoph Hellwig	  other transports, SLiRP works without the need of root level
3333a5f4154SColin Ian King	  privileges, setuid binaries, or SLIP devices on the host.  This
3349bea1801SChristoph Hellwig	  also means not every type of connection is possible, but most
3359bea1801SChristoph Hellwig	  situations can be accommodated with carefully crafted slirp
3369bea1801SChristoph Hellwig	  commands that can be passed along as part of the network device's
3379bea1801SChristoph Hellwig	  setup string.  The effect of this transport on the UML is similar
3389bea1801SChristoph Hellwig	  that of a host behind a firewall that masquerades all network
3399bea1801SChristoph Hellwig	  connections passing through it (but is less secure).
3409bea1801SChristoph Hellwig
34140814b98SBrendan Higgins	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
34240814b98SBrendan Higgins	  migrate to UML_NET_VECTOR.
34340814b98SBrendan Higgins
34440814b98SBrendan Higgins	  If unsure, say N.
3459bea1801SChristoph Hellwig
3469bea1801SChristoph Hellwig	  Startup example: "eth0=slirp,FE:FD:01:02:03:04,/usr/local/bin/slirp"
3479bea1801SChristoph Hellwig
3489bea1801SChristoph Hellwigendmenu
3495d38f324SErel Geron
3505d38f324SErel Geronconfig VIRTIO_UML
351bf9f80cfSJohannes Berg	bool "UML driver for virtio devices"
3525d38f324SErel Geron	select VIRTIO
3535d38f324SErel Geron	help
3545d38f324SErel Geron	  This driver provides support for virtio based paravirtual device
3555d38f324SErel Geron	  drivers over vhost-user sockets.
356dde8b58dSJohannes Berg
357dde8b58dSJohannes Bergconfig UML_RTC
358dde8b58dSJohannes Berg	bool "UML RTC driver"
359dde8b58dSJohannes Berg	depends on RTC_CLASS
360dde8b58dSJohannes Berg	# there's no use in this if PM_SLEEP isn't enabled ...
361dde8b58dSJohannes Berg	depends on PM_SLEEP
362dde8b58dSJohannes Berg	help
363dde8b58dSJohannes Berg	  When PM_SLEEP is configured, it may be desirable to wake up using
364dde8b58dSJohannes Berg	  rtcwake, especially in time-travel mode. This driver enables that
365dde8b58dSJohannes Berg	  by providing a fake RTC clock that causes a wakeup at the right
366dde8b58dSJohannes Berg	  time.
36768f5d3f3SJohannes Berg
36868f5d3f3SJohannes Bergconfig UML_PCI_OVER_VIRTIO
36968f5d3f3SJohannes Berg	bool "Enable PCI over VIRTIO device simulation"
37068f5d3f3SJohannes Berg	# in theory, just VIRTIO is enough, but that causes recursion
37168f5d3f3SJohannes Berg	depends on VIRTIO_UML
37268f5d3f3SJohannes Berg	select FORCE_PCI
37368f5d3f3SJohannes Berg	select UML_IOMEM_EMULATION
37468f5d3f3SJohannes Berg	select UML_DMA_EMULATION
37568f5d3f3SJohannes Berg	select PCI_MSI
37668f5d3f3SJohannes Berg	select PCI_LOCKLESS_CONFIG
37768f5d3f3SJohannes Berg
37868f5d3f3SJohannes Bergconfig UML_PCI_OVER_VIRTIO_DEVICE_ID
37968f5d3f3SJohannes Berg	int "set the virtio device ID for PCI emulation"
38068f5d3f3SJohannes Berg	default -1
38168f5d3f3SJohannes Berg	depends on UML_PCI_OVER_VIRTIO
38268f5d3f3SJohannes Berg	help
38368f5d3f3SJohannes Berg	  There's no official device ID assigned (yet), set the one you
38468f5d3f3SJohannes Berg	  wish to use for experimentation here. The default of -1 is
38568f5d3f3SJohannes Berg	  not valid and will cause the driver to fail at probe.
386