Kconfig 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. config DEFCONFIG_LIST
  2. string
  3. option defconfig_list
  4. default "arch/$ARCH/defconfig"
  5. # UML uses the generic IRQ subsystem
  6. config GENERIC_HARDIRQS
  7. bool
  8. default y
  9. config UML
  10. bool
  11. default y
  12. config MMU
  13. bool
  14. default y
  15. config NO_IOMEM
  16. def_bool y
  17. mainmenu "Linux/Usermode Kernel Configuration"
  18. config ISA
  19. bool
  20. config SBUS
  21. bool
  22. config PCI
  23. bool
  24. config PCMCIA
  25. bool
  26. # Yet to do!
  27. config TRACE_IRQFLAGS_SUPPORT
  28. bool
  29. default n
  30. config LOCKDEP_SUPPORT
  31. bool
  32. default y
  33. config STACKTRACE_SUPPORT
  34. bool
  35. default n
  36. config GENERIC_CALIBRATE_DELAY
  37. bool
  38. default y
  39. config GENERIC_BUG
  40. bool
  41. default y
  42. depends on BUG
  43. config GENERIC_TIME
  44. bool
  45. default y
  46. config GENERIC_CLOCKEVENTS
  47. bool
  48. default y
  49. # Used in kernel/irq/manage.c and include/linux/irq.h
  50. config IRQ_RELEASE_METHOD
  51. bool
  52. default y
  53. menu "UML-specific options"
  54. config STATIC_LINK
  55. bool "Force a static link"
  56. default n
  57. help
  58. This option gives you the ability to force a static link of UML.
  59. Normally, UML is linked as a shared binary. This is inconvenient for
  60. use in a chroot jail. So, if you intend to run UML inside a chroot,
  61. you probably want to say Y here.
  62. Additionally, this option enables using higher memory spaces (up to
  63. 2.75G) for UML.
  64. source "arch/um/Kconfig.arch"
  65. source "mm/Kconfig"
  66. source "kernel/time/Kconfig"
  67. config LD_SCRIPT_STATIC
  68. bool
  69. default y
  70. depends on STATIC_LINK
  71. config LD_SCRIPT_DYN
  72. bool
  73. default y
  74. depends on !LD_SCRIPT_STATIC
  75. source "fs/Kconfig.binfmt"
  76. config HOSTFS
  77. tristate "Host filesystem"
  78. help
  79. While the User-Mode Linux port uses its own root file system for
  80. booting and normal file access, this module lets the UML user
  81. access files stored on the host. It does not require any
  82. network connection between the Host and UML. An example use of
  83. this might be:
  84. mount none /tmp/fromhost -t hostfs -o /tmp/umlshare
  85. where /tmp/fromhost is an empty directory inside UML and
  86. /tmp/umlshare is a directory on the host with files the UML user
  87. wishes to access.
  88. For more information, see
  89. <http://user-mode-linux.sourceforge.net/hostfs.html>.
  90. If you'd like to be able to work with files stored on the host,
  91. say Y or M here; otherwise say N.
  92. config HPPFS
  93. tristate "HoneyPot ProcFS (EXPERIMENTAL)"
  94. depends on EXPERIMENTAL
  95. help
  96. hppfs (HoneyPot ProcFS) is a filesystem which allows UML /proc
  97. entries to be overridden, removed, or fabricated from the host.
  98. Its purpose is to allow a UML to appear to be a physical machine
  99. by removing or changing anything in /proc which gives away the
  100. identity of a UML.
  101. See <http://user-mode-linux.sf.net/old/hppfs.html> for more information.
  102. You only need this if you are setting up a UML honeypot. Otherwise,
  103. it is safe to say 'N' here.
  104. config MCONSOLE
  105. bool "Management console"
  106. default y
  107. help
  108. The user mode linux management console is a low-level interface to
  109. the kernel, somewhat like the i386 SysRq interface. Since there is
  110. a full-blown operating system running under every user mode linux
  111. instance, there is much greater flexibility possible than with the
  112. SysRq mechanism.
  113. If you answer 'Y' to this option, to use this feature, you need the
  114. mconsole client (called uml_mconsole) which is present in CVS in
  115. 2.4.5-9um and later (path /tools/mconsole), and is also in the
  116. distribution RPM package in 2.4.6 and later.
  117. It is safe to say 'Y' here.
  118. config MAGIC_SYSRQ
  119. bool "Magic SysRq key"
  120. depends on MCONSOLE
  121. help
  122. If you say Y here, you will have some control over the system even
  123. if the system crashes for example during kernel debugging (e.g., you
  124. will be able to flush the buffer cache to disk, reboot the system
  125. immediately or dump some status information). A key for each of the
  126. possible requests is provided.
  127. This is the feature normally accomplished by pressing a key
  128. while holding SysRq (Alt+PrintScreen).
  129. On UML, this is accomplished by sending a "sysrq" command with
  130. mconsole, followed by the letter for the requested command.
  131. The keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
  132. unless you really know what this hack does.
  133. config SMP
  134. bool "Symmetric multi-processing support (EXPERIMENTAL)"
  135. default n
  136. depends on BROKEN
  137. help
  138. This option enables UML SMP support.
  139. It is NOT related to having a real SMP box. Not directly, at least.
  140. UML implements virtual SMP by allowing as many processes to run
  141. simultaneously on the host as there are virtual processors configured.
  142. Obviously, if the host is a uniprocessor, those processes will
  143. timeshare, but, inside UML, will appear to be running simultaneously.
  144. If the host is a multiprocessor, then UML processes may run
  145. simultaneously, depending on the host scheduler.
  146. This, however, is supported only in TT mode. So, if you use the SKAS
  147. patch on your host, switching to TT mode and enabling SMP usually
  148. gives you worse performances.
  149. Also, since the support for SMP has been under-developed, there could
  150. be some bugs being exposed by enabling SMP.
  151. If you don't know what to do, say N.
  152. config NR_CPUS
  153. int "Maximum number of CPUs (2-32)"
  154. range 2 32
  155. depends on SMP
  156. default "32"
  157. config NEST_LEVEL
  158. int "Nesting level"
  159. default "0"
  160. help
  161. This is set to the number of layers of UMLs that this UML will be run
  162. in. Normally, this is zero, meaning that it will run directly on the
  163. host. Setting it to one will build a UML that can run inside a UML
  164. that is running on the host. Generally, if you intend this UML to run
  165. inside another UML, set CONFIG_NEST_LEVEL to one more than the host
  166. UML.
  167. config HIGHMEM
  168. bool "Highmem support (EXPERIMENTAL)"
  169. depends on !64BIT && EXPERIMENTAL
  170. default n
  171. help
  172. This was used to allow UML to run with big amounts of memory.
  173. Currently it is unstable, so if unsure say N.
  174. To use big amounts of memory, it is recommended enable static
  175. linking (i.e. CONFIG_STATIC_LINK) - this should allow the
  176. guest to use up to 2.75G of memory.
  177. config KERNEL_STACK_ORDER
  178. int "Kernel stack size order"
  179. default 1 if 64BIT
  180. range 1 10 if 64BIT
  181. default 0 if !64BIT
  182. help
  183. This option determines the size of UML kernel stacks. They will
  184. be 1 << order pages. The default is OK unless you're running Valgrind
  185. on UML, in which case, set this to 3.
  186. endmenu
  187. source "init/Kconfig"
  188. source "drivers/block/Kconfig"
  189. source "arch/um/Kconfig.char"
  190. source "drivers/base/Kconfig"
  191. source "net/Kconfig"
  192. source "arch/um/Kconfig.net"
  193. source "drivers/net/Kconfig"
  194. source "drivers/connector/Kconfig"
  195. source "fs/Kconfig"
  196. source "security/Kconfig"
  197. source "crypto/Kconfig"
  198. source "lib/Kconfig"
  199. source "drivers/scsi/Kconfig"
  200. source "drivers/md/Kconfig"
  201. if BROKEN
  202. source "drivers/mtd/Kconfig"
  203. endif
  204. #This is just to shut up some Kconfig warnings, so no prompt.
  205. config INPUT
  206. bool
  207. default n
  208. source "arch/um/Kconfig.debug"