Kconfig.um 5.1 KB

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