Kconfig.um 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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"
  39. depends on 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 KERNEL_STACK_ORDER
  79. int "Kernel stack size order"
  80. default 1 if 64BIT
  81. range 1 10 if 64BIT
  82. default 0 if !64BIT
  83. help
  84. This option determines the size of UML kernel stacks. They will
  85. be 1 << order pages. The default is OK unless you're running Valgrind
  86. on UML, in which case, set this to 3.
  87. config MMAPPER
  88. tristate "iomem emulation driver"
  89. help
  90. This driver allows a host file to be used as emulated IO memory inside
  91. UML.
  92. config NO_DMA
  93. def_bool y
  94. config PGTABLE_LEVELS
  95. int
  96. default 3 if 3_LEVEL_PGTABLES
  97. default 2