Kconfig.um 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. config STATIC_LINK
  2. bool "Force a static link"
  3. default n
  4. help
  5. This option gives you the ability to force a static link of UML.
  6. Normally, UML is linked as a shared binary. This is inconvenient for
  7. use in a chroot jail. So, if you intend to run UML inside a chroot,
  8. you probably want to say Y here.
  9. Additionally, this option enables using higher memory spaces (up to
  10. 2.75G) for UML.
  11. source "mm/Kconfig"
  12. config LD_SCRIPT_STATIC
  13. bool
  14. default y
  15. depends on STATIC_LINK
  16. config LD_SCRIPT_DYN
  17. bool
  18. default y
  19. depends on !LD_SCRIPT_STATIC
  20. source "fs/Kconfig.binfmt"
  21. config HOSTFS
  22. tristate "Host filesystem"
  23. help
  24. While the User-Mode Linux port uses its own root file system for
  25. booting and normal file access, this module lets the UML user
  26. access files stored on the host. It does not require any
  27. network connection between the Host and UML. An example use of
  28. this might be:
  29. mount none /tmp/fromhost -t hostfs -o /tmp/umlshare
  30. where /tmp/fromhost is an empty directory inside UML and
  31. /tmp/umlshare is a directory on the host with files the UML user
  32. wishes to access.
  33. For more information, see
  34. <http://user-mode-linux.sourceforge.net/hostfs.html>.
  35. If you'd like to be able to work with files stored on the host,
  36. say Y or M here; otherwise say N.
  37. config HPPFS
  38. tristate "HoneyPot ProcFS (EXPERIMENTAL)"
  39. depends on EXPERIMENTAL && PROC_FS
  40. help
  41. hppfs (HoneyPot ProcFS) is a filesystem which allows UML /proc
  42. entries to be overridden, removed, or fabricated from the host.
  43. Its purpose is to allow a UML to appear to be a physical machine
  44. by removing or changing anything in /proc which gives away the
  45. identity of a UML.
  46. See <http://user-mode-linux.sf.net/old/hppfs.html> for more information.
  47. You only need this if you are setting up a UML honeypot. Otherwise,
  48. it is safe to say 'N' here.
  49. config MCONSOLE
  50. bool "Management console"
  51. default y
  52. help
  53. The user mode linux management console is a low-level interface to
  54. the kernel, somewhat like the i386 SysRq interface. Since there is
  55. a full-blown operating system running under every user mode linux
  56. instance, there is much greater flexibility possible than with the
  57. SysRq mechanism.
  58. If you answer 'Y' to this option, to use this feature, you need the
  59. mconsole client (called uml_mconsole) which is present in CVS in
  60. 2.4.5-9um and later (path /tools/mconsole), and is also in the
  61. distribution RPM package in 2.4.6 and later.
  62. It is safe to say 'Y' here.
  63. config MAGIC_SYSRQ
  64. bool "Magic SysRq key"
  65. depends on MCONSOLE
  66. help
  67. If you say Y here, you will have some control over the system even
  68. if the system crashes for example during kernel debugging (e.g., you
  69. will be able to flush the buffer cache to disk, reboot the system
  70. immediately or dump some status information). A key for each of the
  71. possible requests is provided.
  72. This is the feature normally accomplished by pressing a key
  73. while holding SysRq (Alt+PrintScreen).
  74. On UML, this is accomplished by sending a "sysrq" command with
  75. mconsole, followed by the letter for the requested command.
  76. The keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
  77. unless you really know what this hack does.
  78. config SMP
  79. bool "Symmetric multi-processing support (EXPERIMENTAL)"
  80. default n
  81. depends on BROKEN
  82. help
  83. This option enables UML SMP support.
  84. It is NOT related to having a real SMP box. Not directly, at least.
  85. UML implements virtual SMP by allowing as many processes to run
  86. simultaneously on the host as there are virtual processors configured.
  87. Obviously, if the host is a uniprocessor, those processes will
  88. timeshare, but, inside UML, will appear to be running simultaneously.
  89. If the host is a multiprocessor, then UML processes may run
  90. simultaneously, depending on the host scheduler.
  91. This, however, is supported only in TT mode. So, if you use the SKAS
  92. patch on your host, switching to TT mode and enabling SMP usually
  93. gives you worse performances.
  94. Also, since the support for SMP has been under-developed, there could
  95. be some bugs being exposed by enabling SMP.
  96. If you don't know what to do, say N.
  97. config NR_CPUS
  98. int "Maximum number of CPUs (2-32)"
  99. range 2 32
  100. depends on SMP
  101. default "32"
  102. config HIGHMEM
  103. bool "Highmem support (EXPERIMENTAL)"
  104. depends on !64BIT && BROKEN
  105. default n
  106. help
  107. This was used to allow UML to run with big amounts of memory.
  108. Currently it is unstable, so if unsure say N.
  109. To use big amounts of memory, it is recommended enable static
  110. linking (i.e. CONFIG_STATIC_LINK) - this should allow the
  111. guest to use up to 2.75G of memory.
  112. config KERNEL_STACK_ORDER
  113. int "Kernel stack size order"
  114. default 1 if 64BIT
  115. range 1 10 if 64BIT
  116. default 0 if !64BIT
  117. help
  118. This option determines the size of UML kernel stacks. They will
  119. be 1 << order pages. The default is OK unless you're running Valgrind
  120. on UML, in which case, set this to 3.
  121. config MMAPPER
  122. tristate "iomem emulation driver"
  123. help
  124. This driver allows a host file to be used as emulated IO memory inside
  125. UML.
  126. config NO_DMA
  127. def_bool y