162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_cimenu "UML Character Devices"
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig STDERR_CONSOLE
662306a36Sopenharmony_ci	bool "stderr console"
762306a36Sopenharmony_ci	default y
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  console driver which dumps all printk messages to stderr.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciconfig SSL
1262306a36Sopenharmony_ci	bool "Virtual serial line"
1362306a36Sopenharmony_ci	help
1462306a36Sopenharmony_ci	  The User-Mode Linux environment allows you to create virtual serial
1562306a36Sopenharmony_ci	  lines on the UML that are usually made to show up on the host as
1662306a36Sopenharmony_ci	  ttys or ptys.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	  See <http://user-mode-linux.sourceforge.net/old/input.html> for more
1962306a36Sopenharmony_ci	  information and command line examples of how to use this facility.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	  Unless you have a specific reason for disabling this, say Y.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig NULL_CHAN
2462306a36Sopenharmony_ci	bool "null channel support"
2562306a36Sopenharmony_ci	help
2662306a36Sopenharmony_ci	  This option enables support for attaching UML consoles and serial
2762306a36Sopenharmony_ci	  lines to a device similar to /dev/null.  Data written to it disappears
2862306a36Sopenharmony_ci	  and there is never any data to be read.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciconfig PORT_CHAN
3162306a36Sopenharmony_ci	bool "port channel support"
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  This option enables support for attaching UML consoles and serial
3462306a36Sopenharmony_ci	  lines to host portals.  They may be accessed with 'telnet <host>
3562306a36Sopenharmony_ci	  <port number>'.  Any number of consoles and serial lines may be
3662306a36Sopenharmony_ci	  attached to a single portal, although what UML device you get when
3762306a36Sopenharmony_ci	  you telnet to that portal will be unpredictable.
3862306a36Sopenharmony_ci	  It is safe to say 'Y' here.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig PTY_CHAN
4162306a36Sopenharmony_ci	bool "pty channel support"
4262306a36Sopenharmony_ci	help
4362306a36Sopenharmony_ci	  This option enables support for attaching UML consoles and serial
4462306a36Sopenharmony_ci	  lines to host pseudo-terminals.  Access to both traditional
4562306a36Sopenharmony_ci	  pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled
4662306a36Sopenharmony_ci	  with this option.  The assignment of UML devices to host devices
4762306a36Sopenharmony_ci	  will be announced in the kernel message log.
4862306a36Sopenharmony_ci	  It is safe to say 'Y' here.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconfig TTY_CHAN
5162306a36Sopenharmony_ci	bool "tty channel support"
5262306a36Sopenharmony_ci	help
5362306a36Sopenharmony_ci	  This option enables support for attaching UML consoles and serial
5462306a36Sopenharmony_ci	  lines to host terminals.  Access to both virtual consoles
5562306a36Sopenharmony_ci	  (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and
5662306a36Sopenharmony_ci	  /dev/pts/*) are controlled by this option.
5762306a36Sopenharmony_ci	  It is safe to say 'Y' here.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciconfig XTERM_CHAN
6062306a36Sopenharmony_ci	bool "xterm channel support"
6162306a36Sopenharmony_ci	help
6262306a36Sopenharmony_ci	  This option enables support for attaching UML consoles and serial
6362306a36Sopenharmony_ci	  lines to xterms.  Each UML device so assigned will be brought up in
6462306a36Sopenharmony_ci	  its own xterm.
6562306a36Sopenharmony_ci	  It is safe to say 'Y' here.
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ciconfig XTERM_CHAN_DEFAULT_EMULATOR
6862306a36Sopenharmony_ci	string "xterm channel default terminal emulator"
6962306a36Sopenharmony_ci	depends on XTERM_CHAN
7062306a36Sopenharmony_ci	default "xterm"
7162306a36Sopenharmony_ci	help
7262306a36Sopenharmony_ci	  This option allows changing the default terminal emulator.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ciconfig NOCONFIG_CHAN
7562306a36Sopenharmony_ci	bool
7662306a36Sopenharmony_ci	default !(XTERM_CHAN && TTY_CHAN && PTY_CHAN && PORT_CHAN && NULL_CHAN)
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ciconfig CON_ZERO_CHAN
7962306a36Sopenharmony_ci	string "Default main console channel initialization"
8062306a36Sopenharmony_ci	default "fd:0,fd:1"
8162306a36Sopenharmony_ci	help
8262306a36Sopenharmony_ci	  This is the string describing the channel to which the main console
8362306a36Sopenharmony_ci	  will be attached by default.  This value can be overridden from the
8462306a36Sopenharmony_ci	  command line.  The default value is "fd:0,fd:1", which attaches the
8562306a36Sopenharmony_ci	  main console to stdin and stdout.
8662306a36Sopenharmony_ci	  It is safe to leave this unchanged.
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ciconfig CON_CHAN
8962306a36Sopenharmony_ci	string "Default console channel initialization"
9062306a36Sopenharmony_ci	default "xterm"
9162306a36Sopenharmony_ci	help
9262306a36Sopenharmony_ci	  This is the string describing the channel to which all consoles
9362306a36Sopenharmony_ci	  except the main console will be attached by default.  This value can
9462306a36Sopenharmony_ci	  be overridden from the command line.  The default value is "xterm",
9562306a36Sopenharmony_ci	  which brings them up in xterms.
9662306a36Sopenharmony_ci	  It is safe to leave this unchanged, although you may wish to change
9762306a36Sopenharmony_ci	  this if you expect the UML that you build to be run in environments
9862306a36Sopenharmony_ci	  which don't have X or xterm available.
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_ciconfig SSL_CHAN
10162306a36Sopenharmony_ci	string "Default serial line channel initialization"
10262306a36Sopenharmony_ci	default "pty"
10362306a36Sopenharmony_ci	help
10462306a36Sopenharmony_ci	  This is the string describing the channel to which the serial lines
10562306a36Sopenharmony_ci	  will be attached by default.  This value can be overridden from the
10662306a36Sopenharmony_ci	  command line.  The default value is "pty", which attaches them to
10762306a36Sopenharmony_ci	  traditional pseudo-terminals.
10862306a36Sopenharmony_ci	  It is safe to leave this unchanged, although you may wish to change
10962306a36Sopenharmony_ci	  this if you expect the UML that you build to be run in environments
11062306a36Sopenharmony_ci	  which don't have a set of /dev/pty* devices.
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_ciconfig UML_SOUND
11362306a36Sopenharmony_ci	tristate "Sound support"
11462306a36Sopenharmony_ci	depends on SOUND
11562306a36Sopenharmony_ci	select SOUND_OSS_CORE
11662306a36Sopenharmony_ci	help
11762306a36Sopenharmony_ci	  This option enables UML sound support.  If enabled, it will pull in
11862306a36Sopenharmony_ci	  the UML hostaudio relay, which acts as a intermediary
11962306a36Sopenharmony_ci	  between the host's dsp and mixer devices and the UML sound system.
12062306a36Sopenharmony_ci	  It is safe to say 'Y' here.
12162306a36Sopenharmony_ci
12262306a36Sopenharmony_ciendmenu
12362306a36Sopenharmony_ci
12462306a36Sopenharmony_cimenu "UML Network Devices"
12562306a36Sopenharmony_ci	depends on NET
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_ci# UML virtual driver
12862306a36Sopenharmony_ciconfig UML_NET
12962306a36Sopenharmony_ci	bool "Virtual network device"
13062306a36Sopenharmony_ci	help
13162306a36Sopenharmony_ci	  While the User-Mode port cannot directly talk to any physical
13262306a36Sopenharmony_ci	  hardware devices, this choice and the following transport options
13362306a36Sopenharmony_ci	  provide one or more virtual network devices through which the UML
13462306a36Sopenharmony_ci	  kernels can talk to each other, the host, and with the host's help,
13562306a36Sopenharmony_ci	  machines on the outside world.
13662306a36Sopenharmony_ci
13762306a36Sopenharmony_ci	  For more information, including explanations of the networking and
13862306a36Sopenharmony_ci	  sample configurations, see
13962306a36Sopenharmony_ci	  <http://user-mode-linux.sourceforge.net/old/networking.html>.
14062306a36Sopenharmony_ci
14162306a36Sopenharmony_ci	  If you'd like to be able to enable networking in the User-Mode
14262306a36Sopenharmony_ci	  linux environment, say Y; otherwise say N.  Note that you must
14362306a36Sopenharmony_ci	  enable at least one of the following transport options to actually
14462306a36Sopenharmony_ci	  make use of UML networking.
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ciconfig UML_NET_ETHERTAP
14762306a36Sopenharmony_ci	bool "Ethertap transport (obsolete)"
14862306a36Sopenharmony_ci	depends on UML_NET
14962306a36Sopenharmony_ci	help
15062306a36Sopenharmony_ci	  The Ethertap User-Mode Linux network transport allows a single
15162306a36Sopenharmony_ci	  running UML to exchange packets with its host over one of the
15262306a36Sopenharmony_ci	  host's Ethertap devices, such as /dev/tap0.  Additional running
15362306a36Sopenharmony_ci	  UMLs can use additional Ethertap devices, one per running UML.
15462306a36Sopenharmony_ci	  While the UML believes it's on a (multi-device, broadcast) virtual
15562306a36Sopenharmony_ci	  Ethernet network, it's in fact communicating over a point-to-point
15662306a36Sopenharmony_ci	  link with the host.
15762306a36Sopenharmony_ci
15862306a36Sopenharmony_ci	  To use this, your host kernel must have support for Ethertap
15962306a36Sopenharmony_ci	  devices.  Also, if your host kernel is 2.4.x, it must have
16062306a36Sopenharmony_ci	  CONFIG_NETLINK_DEV configured as Y or M.
16162306a36Sopenharmony_ci
16262306a36Sopenharmony_ci	  For more information, see
16362306a36Sopenharmony_ci	  <http://user-mode-linux.sourceforge.net/old/networking.html>  That site
16462306a36Sopenharmony_ci	  has examples of the UML command line to use to enable Ethertap
16562306a36Sopenharmony_ci	  networking.
16662306a36Sopenharmony_ci
16762306a36Sopenharmony_ci	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
16862306a36Sopenharmony_ci	  migrate to UML_NET_VECTOR.
16962306a36Sopenharmony_ci
17062306a36Sopenharmony_ci	  If unsure, say N.
17162306a36Sopenharmony_ci
17262306a36Sopenharmony_ciconfig UML_NET_TUNTAP
17362306a36Sopenharmony_ci	bool "TUN/TAP transport (obsolete)"
17462306a36Sopenharmony_ci	depends on UML_NET
17562306a36Sopenharmony_ci	help
17662306a36Sopenharmony_ci	  The UML TUN/TAP network transport allows a UML instance to exchange
17762306a36Sopenharmony_ci	  packets with the host over a TUN/TAP device.  This option will only
17862306a36Sopenharmony_ci	  work with a 2.4 host, unless you've applied the TUN/TAP patch to
17962306a36Sopenharmony_ci	  your 2.2 host kernel.
18062306a36Sopenharmony_ci
18162306a36Sopenharmony_ci	  To use this transport, your host kernel must have support for TUN/TAP
18262306a36Sopenharmony_ci	  devices, either built-in or as a module.
18362306a36Sopenharmony_ci
18462306a36Sopenharmony_ci	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
18562306a36Sopenharmony_ci	  migrate to UML_NET_VECTOR.
18662306a36Sopenharmony_ci
18762306a36Sopenharmony_ci	  If unsure, say N.
18862306a36Sopenharmony_ci
18962306a36Sopenharmony_ciconfig UML_NET_SLIP
19062306a36Sopenharmony_ci	bool "SLIP transport (obsolete)"
19162306a36Sopenharmony_ci	depends on UML_NET
19262306a36Sopenharmony_ci	help
19362306a36Sopenharmony_ci	  The slip User-Mode Linux network transport allows a running UML to
19462306a36Sopenharmony_ci	  network with its host over a point-to-point link.  Unlike Ethertap,
19562306a36Sopenharmony_ci	  which can carry any Ethernet frame (and hence even non-IP packets),
19662306a36Sopenharmony_ci	  the slip transport can only carry IP packets.
19762306a36Sopenharmony_ci
19862306a36Sopenharmony_ci	  To use this, your host must support slip devices.
19962306a36Sopenharmony_ci
20062306a36Sopenharmony_ci	  For more information, see
20162306a36Sopenharmony_ci	  <http://user-mode-linux.sourceforge.net/old/networking.html>.
20262306a36Sopenharmony_ci	  has examples of the UML command line to use to enable slip
20362306a36Sopenharmony_ci	  networking, and details of a few quirks with it.
20462306a36Sopenharmony_ci
20562306a36Sopenharmony_ci	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
20662306a36Sopenharmony_ci	  migrate to UML_NET_VECTOR.
20762306a36Sopenharmony_ci
20862306a36Sopenharmony_ci	  If unsure, say N.
20962306a36Sopenharmony_ci
21062306a36Sopenharmony_ciconfig UML_NET_DAEMON
21162306a36Sopenharmony_ci	bool "Daemon transport (obsolete)"
21262306a36Sopenharmony_ci	depends on UML_NET
21362306a36Sopenharmony_ci	help
21462306a36Sopenharmony_ci	  This User-Mode Linux network transport allows one or more running
21562306a36Sopenharmony_ci	  UMLs on a single host to communicate with each other, but not to
21662306a36Sopenharmony_ci	  the host.
21762306a36Sopenharmony_ci
21862306a36Sopenharmony_ci	  To use this form of networking, you'll need to run the UML
21962306a36Sopenharmony_ci	  networking daemon on the host.
22062306a36Sopenharmony_ci
22162306a36Sopenharmony_ci	  For more information, see
22262306a36Sopenharmony_ci	  <http://user-mode-linux.sourceforge.net/old/networking.html>  That site
22362306a36Sopenharmony_ci	  has examples of the UML command line to use to enable Daemon
22462306a36Sopenharmony_ci	  networking.
22562306a36Sopenharmony_ci
22662306a36Sopenharmony_ci	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
22762306a36Sopenharmony_ci	  migrate to UML_NET_VECTOR.
22862306a36Sopenharmony_ci
22962306a36Sopenharmony_ci	  If unsure, say N.
23062306a36Sopenharmony_ci
23162306a36Sopenharmony_ciconfig UML_NET_DAEMON_DEFAULT_SOCK
23262306a36Sopenharmony_ci	string "Default socket for daemon transport"
23362306a36Sopenharmony_ci	default "/tmp/uml.ctl"
23462306a36Sopenharmony_ci	depends on UML_NET_DAEMON
23562306a36Sopenharmony_ci	help
23662306a36Sopenharmony_ci	  This option allows setting the default socket for the daemon
23762306a36Sopenharmony_ci	  transport, normally it defaults to /tmp/uml.ctl.
23862306a36Sopenharmony_ci
23962306a36Sopenharmony_ciconfig UML_NET_VECTOR
24062306a36Sopenharmony_ci	bool "Vector I/O high performance network devices"
24162306a36Sopenharmony_ci	depends on UML_NET
24262306a36Sopenharmony_ci	select MAY_HAVE_RUNTIME_DEPS
24362306a36Sopenharmony_ci	help
24462306a36Sopenharmony_ci	  This User-Mode Linux network driver uses multi-message send
24562306a36Sopenharmony_ci	  and receive functions. The host running the UML guest must have
24662306a36Sopenharmony_ci	  a linux kernel version above 3.0 and a libc version > 2.13.
24762306a36Sopenharmony_ci	  This driver provides tap, raw, gre and l2tpv3 network transports
24862306a36Sopenharmony_ci	  with up to 4 times higher network throughput than the UML network
24962306a36Sopenharmony_ci	  drivers.
25062306a36Sopenharmony_ci
25162306a36Sopenharmony_ciconfig UML_NET_VDE
25262306a36Sopenharmony_ci	bool "VDE transport (obsolete)"
25362306a36Sopenharmony_ci	depends on UML_NET
25462306a36Sopenharmony_ci	depends on !MODVERSIONS
25562306a36Sopenharmony_ci	select MAY_HAVE_RUNTIME_DEPS
25662306a36Sopenharmony_ci	help
25762306a36Sopenharmony_ci	  This User-Mode Linux network transport allows one or more running
25862306a36Sopenharmony_ci	  UMLs on a single host to communicate with each other and also
25962306a36Sopenharmony_ci	  with the rest of the world using Virtual Distributed Ethernet,
26062306a36Sopenharmony_ci	  an improved fork of uml_switch.
26162306a36Sopenharmony_ci
26262306a36Sopenharmony_ci	  You must have libvdeplug installed in order to build the vde
26362306a36Sopenharmony_ci	  transport into UML.
26462306a36Sopenharmony_ci
26562306a36Sopenharmony_ci	  To use this form of networking, you will need to run vde_switch
26662306a36Sopenharmony_ci	  on the host.
26762306a36Sopenharmony_ci
26862306a36Sopenharmony_ci	  For more information, see <http://wiki.virtualsquare.org/>
26962306a36Sopenharmony_ci	  That site has a good overview of what VDE is and also examples
27062306a36Sopenharmony_ci	  of the UML command line to use to enable VDE networking.
27162306a36Sopenharmony_ci
27262306a36Sopenharmony_ci	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
27362306a36Sopenharmony_ci	  migrate to UML_NET_VECTOR.
27462306a36Sopenharmony_ci
27562306a36Sopenharmony_ci	  If unsure, say N.
27662306a36Sopenharmony_ci
27762306a36Sopenharmony_ciconfig UML_NET_MCAST
27862306a36Sopenharmony_ci	bool "Multicast transport (obsolete)"
27962306a36Sopenharmony_ci	depends on UML_NET
28062306a36Sopenharmony_ci	help
28162306a36Sopenharmony_ci	  This Multicast User-Mode Linux network transport allows multiple
28262306a36Sopenharmony_ci	  UMLs (even ones running on different host machines!) to talk to
28362306a36Sopenharmony_ci	  each other over a virtual ethernet network.  However, it requires
28462306a36Sopenharmony_ci	  at least one UML with one of the other transports to act as a
28562306a36Sopenharmony_ci	  bridge if any of them need to be able to talk to their hosts or any
28662306a36Sopenharmony_ci	  other IP machines.
28762306a36Sopenharmony_ci
28862306a36Sopenharmony_ci	  To use this, your host kernel(s) must support IP Multicasting.
28962306a36Sopenharmony_ci
29062306a36Sopenharmony_ci	  For more information, see
29162306a36Sopenharmony_ci	  <http://user-mode-linux.sourceforge.net/old/networking.html>  That site
29262306a36Sopenharmony_ci	  has examples of the UML command line to use to enable Multicast
29362306a36Sopenharmony_ci	  networking, and notes about the security of this approach.
29462306a36Sopenharmony_ci
29562306a36Sopenharmony_ci	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
29662306a36Sopenharmony_ci	  migrate to UML_NET_VECTOR.
29762306a36Sopenharmony_ci
29862306a36Sopenharmony_ci	  If unsure, say N.
29962306a36Sopenharmony_ci
30062306a36Sopenharmony_ciconfig UML_NET_PCAP
30162306a36Sopenharmony_ci	bool "pcap transport (obsolete)"
30262306a36Sopenharmony_ci	depends on UML_NET
30362306a36Sopenharmony_ci	depends on !MODVERSIONS
30462306a36Sopenharmony_ci	select MAY_HAVE_RUNTIME_DEPS
30562306a36Sopenharmony_ci	help
30662306a36Sopenharmony_ci	  The pcap transport makes a pcap packet stream on the host look
30762306a36Sopenharmony_ci	  like an ethernet device inside UML.  This is useful for making
30862306a36Sopenharmony_ci	  UML act as a network monitor for the host.  You must have libcap
30962306a36Sopenharmony_ci	  installed in order to build the pcap transport into UML.
31062306a36Sopenharmony_ci
31162306a36Sopenharmony_ci	  For more information, see
31262306a36Sopenharmony_ci	  <http://user-mode-linux.sourceforge.net/old/networking.html>  That site
31362306a36Sopenharmony_ci	  has examples of the UML command line to use to enable this option.
31462306a36Sopenharmony_ci
31562306a36Sopenharmony_ci	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
31662306a36Sopenharmony_ci	  migrate to UML_NET_VECTOR.
31762306a36Sopenharmony_ci
31862306a36Sopenharmony_ci	  If unsure, say N.
31962306a36Sopenharmony_ci
32062306a36Sopenharmony_ciconfig UML_NET_SLIRP
32162306a36Sopenharmony_ci	bool "SLiRP transport (obsolete)"
32262306a36Sopenharmony_ci	depends on UML_NET
32362306a36Sopenharmony_ci	help
32462306a36Sopenharmony_ci	  The SLiRP User-Mode Linux network transport allows a running UML
32562306a36Sopenharmony_ci	  to network by invoking a program that can handle SLIP encapsulated
32662306a36Sopenharmony_ci	  packets.  This is commonly (but not limited to) the application
32762306a36Sopenharmony_ci	  known as SLiRP, a program that can re-socket IP packets back onto
32862306a36Sopenharmony_ci	  he host on which it is run.  Only IP packets are supported,
32962306a36Sopenharmony_ci	  unlike other network transports that can handle all Ethernet
33062306a36Sopenharmony_ci	  frames.  In general, slirp allows the UML the same IP connectivity
33162306a36Sopenharmony_ci	  to the outside world that the host user is permitted, and unlike
33262306a36Sopenharmony_ci	  other transports, SLiRP works without the need of root level
33362306a36Sopenharmony_ci	  privileges, setuid binaries, or SLIP devices on the host.  This
33462306a36Sopenharmony_ci	  also means not every type of connection is possible, but most
33562306a36Sopenharmony_ci	  situations can be accommodated with carefully crafted slirp
33662306a36Sopenharmony_ci	  commands that can be passed along as part of the network device's
33762306a36Sopenharmony_ci	  setup string.  The effect of this transport on the UML is similar
33862306a36Sopenharmony_ci	  that of a host behind a firewall that masquerades all network
33962306a36Sopenharmony_ci	  connections passing through it (but is less secure).
34062306a36Sopenharmony_ci
34162306a36Sopenharmony_ci	  NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
34262306a36Sopenharmony_ci	  migrate to UML_NET_VECTOR.
34362306a36Sopenharmony_ci
34462306a36Sopenharmony_ci	  If unsure, say N.
34562306a36Sopenharmony_ci
34662306a36Sopenharmony_ci	  Startup example: "eth0=slirp,FE:FD:01:02:03:04,/usr/local/bin/slirp"
34762306a36Sopenharmony_ci
34862306a36Sopenharmony_ciendmenu
34962306a36Sopenharmony_ci
35062306a36Sopenharmony_ciconfig VIRTIO_UML
35162306a36Sopenharmony_ci	bool "UML driver for virtio devices"
35262306a36Sopenharmony_ci	select VIRTIO
35362306a36Sopenharmony_ci	help
35462306a36Sopenharmony_ci	  This driver provides support for virtio based paravirtual device
35562306a36Sopenharmony_ci	  drivers over vhost-user sockets.
35662306a36Sopenharmony_ci
35762306a36Sopenharmony_ciconfig UML_RTC
35862306a36Sopenharmony_ci	bool "UML RTC driver"
35962306a36Sopenharmony_ci	depends on RTC_CLASS
36062306a36Sopenharmony_ci	# there's no use in this if PM_SLEEP isn't enabled ...
36162306a36Sopenharmony_ci	depends on PM_SLEEP
36262306a36Sopenharmony_ci	help
36362306a36Sopenharmony_ci	  When PM_SLEEP is configured, it may be desirable to wake up using
36462306a36Sopenharmony_ci	  rtcwake, especially in time-travel mode. This driver enables that
36562306a36Sopenharmony_ci	  by providing a fake RTC clock that causes a wakeup at the right
36662306a36Sopenharmony_ci	  time.
36762306a36Sopenharmony_ci
36862306a36Sopenharmony_ciconfig UML_PCI_OVER_VIRTIO
36962306a36Sopenharmony_ci	bool "Enable PCI over VIRTIO device simulation"
37062306a36Sopenharmony_ci	# in theory, just VIRTIO is enough, but that causes recursion
37162306a36Sopenharmony_ci	depends on VIRTIO_UML
37262306a36Sopenharmony_ci	select FORCE_PCI
37362306a36Sopenharmony_ci	select UML_IOMEM_EMULATION
37462306a36Sopenharmony_ci	select UML_DMA_EMULATION
37562306a36Sopenharmony_ci	select PCI_MSI
37662306a36Sopenharmony_ci	select PCI_LOCKLESS_CONFIG
37762306a36Sopenharmony_ci
37862306a36Sopenharmony_ciconfig UML_PCI_OVER_VIRTIO_DEVICE_ID
37962306a36Sopenharmony_ci	int "set the virtio device ID for PCI emulation"
38062306a36Sopenharmony_ci	default -1
38162306a36Sopenharmony_ci	depends on UML_PCI_OVER_VIRTIO
38262306a36Sopenharmony_ci	help
38362306a36Sopenharmony_ci	  There's no official device ID assigned (yet), set the one you
38462306a36Sopenharmony_ci	  wish to use for experimentation here. The default of -1 is
38562306a36Sopenharmony_ci	  not valid and will cause the driver to fail at probe.
386