added some suse-specific patches to the kernel.
[linux-flexiantxendom0-3.2.10.git] / arch / um / Kconfig
1 config USERMODE
2         bool
3         default y
4
5 # XXX: does UM have a mmu/swap?
6 config MMU
7         bool
8         default y
9
10 mainmenu "Linux/Usermode Kernel Configuration"
11
12 config ISA
13         bool
14
15 config SBUS
16         bool
17
18 config PCI
19         bool
20
21 config UID16
22         bool
23         default y
24
25 config RWSEM_GENERIC_SPINLOCK
26         bool
27         default y
28
29 menu "UML-specific options"
30
31 config MODE_TT
32         bool "Tracing thread support"
33         default y
34         help
35         This option controls whether tracing thread support is compiled
36         into UML.  Normally, this should be set to Y.  If you intend to
37         use only skas mode (and the host has the skas patch applied to it), 
38         then it is OK to say N here.
39
40 config STATIC_LINK
41         bool "Force a static link"
42         default n
43         depends on !MODE_TT
44         help
45         If CONFIG_MODE_TT is disabled, then this option gives you the ability
46         to force a static link of UML.  Normally, if only skas mode is built
47         in to UML, it will be linked as a shared binary.  This is inconvenient
48         for use in a chroot jail.  So, if you intend to run UML inside a 
49         chroot, and you disable CONFIG_MODE_TT, you probably want to say Y
50         here.
51
52 config MODE_SKAS
53         bool "Separate Kernel Address Space support"
54         default y
55         help
56         This option controls whether skas (separate kernel address space)
57         support is compiled in.  If you have applied the skas patch to the
58         host, then you certainly want to say Y here (and consider saying N
59         to CONFIG_MODE_TT).  Otherwise, it is safe to say Y.  Disabling this
60         option will shrink the UML binary slightly.
61
62 config NET
63         bool "Networking support"
64
65 config BINFMT_AOUT
66         tristate "Kernel support for a.out binaries"
67
68 config BINFMT_ELF
69         tristate "Kernel support for ELF binaries"
70
71 config BINFMT_MISC
72         tristate "Kernel support for MISC binaries"
73
74 config HOSTFS
75         tristate "Host filesystem"
76         help
77         While the User-Mode Linux port uses its own root file system for
78         booting and normal file access, this module lets the UML user
79         access files stored on the host.  It does not require any
80         network connection between the Host and UML.  An example use of
81         this might be:
82
83         mount none /tmp/fromhost -t hostfs -o /tmp/umlshare
84
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
89         For more information, see
90         <http://user-mode-linux.sourceforge.net/hostfs.html>.
91
92         If you'd like to be able to work with files stored on the host, 
93         say Y or M here; otherwise say N.
94
95
96 config MCONSOLE
97         bool "Management console"
98         help
99         The user mode linux management console is a low-level interface to
100         the kernel, somewhat like the i386 SysRq interface.  Since there is
101         a full-blown operating system running under every user mode linux
102         instance, there is much greater flexibility possible than with the
103         SysRq mechanism.
104
105         If you answer 'Y' to this option, to use this feature, you need the
106         mconsole client (called uml_mconsole) which is present in CVS in
107         2.4.5-9um and later (path /tools/mconsole), and is also in the
108         distribution RPM package in 2.4.6 and later.
109
110         It is safe to say 'Y' here.
111
112 config MAGIC_SYSRQ
113         bool "Magic SysRq key"
114         depends on MCONSOLE
115
116 config HOST_2G_2G
117         bool "2G/2G host address space split"
118
119 config UML_SMP
120         bool "Symmetric multi-processing support"
121         help
122         This option enables UML SMP support.  UML implements virtual SMP by
123         allowing as many processes to run simultaneously on the host as
124         there are virtual processors configured.  Obviously, if the host is
125         a uniprocessor, those processes will timeshare, but, inside UML,
126         will appear to be running simultaneously.  If the host is a
127         multiprocessor, then UML processes may run simultaneously, depending
128         on the host scheduler.
129         CONFIG_SMP will be set to whatever this option is set to.
130         It is safe to leave this unchanged.
131
132 config SMP
133         bool
134         default UML_SMP
135
136 config NR_CPUS
137         int "Maximum number of CPUs (2-32)"
138         depends on SMP
139         default "32"
140
141 config NEST_LEVEL
142         int "Nesting level"
143         default "0"
144         help
145         This is set to the number of layers of UMLs that this UML will be run
146         in.  Normally, this is zero, meaning that it will run directly on the
147         host.  Setting it to one will build a UML that can run inside a UML
148         that is running on the host.  Generally, if you intend this UML to run
149         inside another UML, set CONFIG_NEST_LEVEL to one more than the host 
150         UML.
151
152         Note that if the hosting UML has its CONFIG_KERNEL_HALF_GIGS set to 
153         greater than one, then the guest UML should have its CONFIG_NEST_LEVEL 
154         set to the host's CONFIG_NEST_LEVEL + CONFIG_KERNEL_HALF_GIGS.
155         Only change this if you are running nested UMLs.
156
157 config KERNEL_HALF_GIGS
158         int "Kernel address space size (in .5G units)"
159         default "1"
160         help
161         This determines the amount of address space that UML will allocate for
162         its own, measured in half Gigabyte units.  The default is 1.
163         Change this only if you need to boot UML with an unusually large amount
164         of physical memory.
165
166 config HIGHMEM
167         bool "Highmem support"
168
169 config KERNEL_STACK_ORDER
170         int "Kernel stack size order"
171         default 2
172         help
173         This option determines the size of UML kernel stacks.  They will
174         be 1 << order pages.  The default is OK unless you're running Valgrind
175         on UML, in which case, set this to 3.
176
177 endmenu
178
179 source "init/Kconfig"
180
181 source "arch/um/Kconfig_char"
182
183 source "arch/um/Kconfig_block"
184
185 config NETDEVICES
186         bool
187         default NET
188
189 source "arch/um/Kconfig_net"
190
191 source "net/Kconfig"
192
193 source "fs/Kconfig"
194
195 source "security/Kconfig"
196
197 source "crypto/Kconfig"
198
199 source "lib/Kconfig"
200
201 menu "SCSI support"
202
203 config SCSI
204         tristate "SCSI support"
205
206 # This gives us free_dma, which scsi.c wants.
207 config GENERIC_ISA_DMA
208         bool
209         depends on SCSI
210         default y
211
212 source "arch/um/Kconfig_scsi"
213
214 endmenu
215
216 source "drivers/md/Kconfig"
217
218 source "drivers/mtd/Kconfig"
219
220
221 menu "Kernel hacking"
222
223 config DEBUG_SLAB
224         bool "Debug memory allocations"
225
226 config DEBUG_SPINLOCK
227         bool "Debug spinlocks usage"
228
229 config DEBUGSYM
230         bool "Enable kernel debugging symbols"
231         help
232         When this is enabled, the User-Mode Linux binary will include
233         debugging symbols.  This enlarges the binary by a few megabytes,
234         but aids in tracking down kernel problems in UML.  It is required
235         if you intend to do any kernel development.
236
237         If you're truly short on disk space or don't expect to report any
238         bugs back to the UML developers, say N, otherwise say Y.
239
240 config FRAME_POINTER
241         bool
242         default y if DEBUGSYM
243
244 config PT_PROXY
245         bool "Enable ptrace proxy"
246         depends on XTERM_CHAN && DEBUGSYM
247
248 config GPROF
249         bool "Enable gprof support"
250         depends on DEBUGSYM
251         help
252         This allows profiling of a User-Mode Linux kernel with the gprof
253         utility.
254
255         See <http://user-mode-linux.sourceforge.net/gprof.html> for more
256         details.
257
258         If you're involved in UML kernel development and want to use gprof,
259         say Y.  If you're unsure, say N.
260
261 config GCOV
262         bool "Enable gcov support"
263         depends on DEBUGSYM
264         help
265         This option allows developers to retrieve coverage data from a UML
266         session.
267
268         See <http://user-mode-linux.sourceforge.net/gcov.html> for more
269         details.
270
271         If you're involved in UML kernel development and want to use gcov,
272         say Y.  If you're unsure, say N.
273
274 endmenu
275
276 source "suse/Kconfig"
277