Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


More timing cleanup with a fix to 8254.c for running cores slower than
[palacios.git] / Kconfig
1 mainmenu "Palacios VMM Configuration"
2
3 menu "Target Configuration"
4
5
6 choice
7         prompt "Target Host OS"
8         default KITTEN
9
10 config KITTEN
11         bool "Kitten OS"
12         select BUILT_IN_STDLIB
13         select BUILT_IN_STRCASECMP
14         select BUILT_IN_ATOI
15         select ALIGNED_PG_ALLOC
16         select MULTITHREAD_OS
17         help
18           This enables the necesary options to compile Palacios with Kitten
19
20 config LINUX
21         bool "Linux 2.6"
22         select BUILT_IN_STDLIB
23         select BUILT_IN_ATOI
24         select FILE
25         help
26           This enables the necessary options to compile Palacios with Linux 2.6
27           Currently, this is in development, and only 2.6.32 is verified to work
28
29 config MINIX
30         bool "MINIX 3"
31         help
32           This enables the necesary options to compile Palacios with Kitten
33
34 config OTHER_OS
35         bool "Other OS"
36         help 
37           Choose this to compile Palacios for a Generic Host OS
38           (Formerly GeekOS)
39
40 endchoice
41
42 config CRAY_XT
43         bool "Red Storm (Cray XT3/XT4)"
44         help
45           Support for Cray XT3 and XT4 systems.
46
47 config SVM
48         bool "AMD SVM Support"
49         default y
50         help
51           Compile with support for AMD SVM
52
53 config VMX
54         bool "Intel VMX Support"
55         default y
56         help 
57           Compile with support for Intel VMX
58
59
60 config DEBUG_INFO
61         bool "Compile with Debug Information"
62         default n
63         help
64           Compiles the Palacios library with debugging symbols
65
66
67 menu "Supported host OS features"
68       
69 config MULTITHREAD_OS
70         bool "Host support for  multiple threads"
71         default y
72         help 
73           Select this if your OS supports multiple threads of execution. This will enable features in Palacios 
74           to require the creation of additional execution threads.
75
76
77 config ALIGNED_PG_ALLOC
78         bool "Host support for aligned page allocations"
79         default n
80         help 
81           Select this if your OS supports allocating memory pages using an alignment. This is required 
82           if you want Palacios to run with large page table pages. 
83
84 config MAX_CPUS
85         int "Maximum number of cpus"
86         range 1 255
87         default "16"
88         help 
89           Specifies the maximum number of hardware CPUs supported by the OS
90           For uniprocessor environments, set this to 1
91
92 config FILE
93         bool "Host Support for file operations"
94         default n
95         help
96           Select this if your host OS supports file operatoins and you want Palacios to be able to use them.
97
98
99 config CONSOLE
100         bool "Host Support for VM console"
101         default n
102         help 
103           Select this if you want to forward a guest console interface to some host OS service
104
105 config SOCKET
106         bool "Host support for Network Sockets"
107         default y
108         help
109           Select this if you host OS implements a socket API that is available to Palacios. This is required
110           to support the internal networking features of Palacios.
111
112
113 config PACKET
114         bool "Host support for Raw Packet Transmision"
115         depends on EXPERIMENTAL
116         default n
117         help 
118           Select this if you host OS implements a raw packet network API that is available to Palacios. This is required 
119           to support the internal networking features of Palacios.
120
121 endmenu
122
123
124
125 config TELEMETRY
126         bool "Enable VMM telemetry support"
127         default n
128         help 
129           Enable the telemetry framework in Palacios
130           -----
131           This is a framwork that allows components of palacios to record 
132           information that is periodically reported to the log output.
133           Telemetry is automatically collected for vmexits. Subsystem telemetry 
134           is configured separately
135
136
137 config SHADOW_PAGING_TELEMETRY
138         bool "Enable Shadow Paging Telemetry"
139         default y
140         depends on TELEMETRY
141         help
142           Enable telemetry information for shadow paging 
143
144
145
146 config EXPERIMENTAL
147         bool "Enable Experimental options"
148         default n
149         help 
150           This allows the selection of experimental features. This includes incomplete or unreviewed code. 
151           Only enable this feature if you are working on the features in question. 
152           IMPORTANT: Non-experimental code MUST NOT use, require, or rely on experimental features. 
153           Any code that violates this will be immediately deleted without warning. 
154           -- 
155           The purpose of this option is to allow features under development to be committed to the mainline
156           to more easily track changes and provide access to multiple developers
157
158 config VNET
159         depends on EXPERIMENTAL
160         bool "Enable Vnet in Palacios"
161         default n
162         help
163           Enable the Vnet in Palacios
164
165 config DEBUG_VNET
166         depends on EXPERIMENTAL && VNET
167         bool "Enable Vnet Debug in Palacios"
168         default n
169         help
170           Enable the Vnet debug in Palacios
171
172 config LINUX_VIRTIO_VNET
173         bool "Enable Virtio VNET interface"
174         default n
175         depends on PCI && EXPERIMENTAL && VNET
176         help
177           Enable the Virtio VNET interface
178
179 config DEBUG_LINUX_VIRTIO_VNET
180         bool "Virtio VNET Interface Debugging"
181         default n
182         depends on LINUX_VIRTIO_VNET && DEBUG_ON
183         help
184           Enable debugging for the VNET Virtio interface
185
186 endmenu
187
188
189 source "Kconfig.stdlibs"
190
191
192 menu "Virtual Paging"
193
194 config SHADOW_PAGING
195         bool "Enable shadow paging"
196         default y
197         help 
198            Enables shadow paging for virtual machines
199
200
201 config SHADOW_PAGING_VTLB
202         bool "Virtual TLB"
203         default y
204         depends on SHADOW_PAGING
205         help 
206            Enables Virtual TLB implemenation for shadow paging
207
208
209 config DEBUG_SHDW_PG_VTLB
210         bool "Enable VTLB debugging"
211         default n
212         depends on SHADOW_PAGING_VTLB
213         help
214           Enables debugging messages for VTLB implementation
215
216 config SHADOW_PAGING_CACHE1
217         bool "Shadow Page Cache (1)"
218         default y
219         depends on SHADOW_PAGING
220         help 
221            Enables caching implemenation for shadow paging
222
223
224 endmenu
225
226
227 menu "Time Management"
228
229 config TIME_HIDE_VM_COST
230         bool "Hide VMM Run Cost"
231         default n
232         help
233             Offset guest time from host time sufficiently to hide the cost of
234             running in the virtual machine. This can aid the consistency of
235             time between multiple timers, but can cause the guest to run 
236             a good bit slower than the host in VM-intensive parts of the code.
237
238 config TIME_VIRTUALIZE_TSC
239         bool "Fully virtualize guest TSC"
240         default n
241         help
242             Virtualize the processor time stamp counter in the guest, 
243             generally increasing consistency between various time sources 
244             but also potentially making guest time run slower than real time.
245          
246 endmenu
247
248 menu "Symbiotic Functions"
249
250 config SYMBIOTIC
251         bool "Enable Symbiotic Functionality"
252         default n
253         help 
254           Enable Symbiotic components of the VMM. 
255           This includes the SymSpy interface.
256
257 config SYMCALL
258         bool "Symbiotic upcalls"
259         default n
260         depends on SYMBIOTIC && EXPERIMENTAL
261         help
262           Enables the Symbiotic upcall interface
263
264 config SWAPBYPASS
265         bool "SwapBypass"
266         default n
267         depends on SYMBIOTIC && SYMCALL && EXPERIMENTAL
268         help 
269           This enables the SwapBypass architecture
270
271 config SWAPBYPASS_TELEMETRY
272         bool "Enable SwapBypass Telemetry"
273         default n
274         depends on TELEMETRY && SWAPBYPASS
275         help 
276           Enable the telemetry information for the SwapBypass subsystem
277
278 menuconfig SYMMOD 
279         bool "Symbiotic Modules"
280         default n
281         depends on EXPERIMENTAL
282 #       depends on SYMBIOTIC
283         help
284           Enable Symbiotic module loading
285
286
287 endmenu
288
289
290
291 menu "Debug configuration"
292
293 config CONFIG_DEBUG_INFO
294         bool "Compile with Debug information"
295         default n
296         help 
297          This adds the -g flag to the compilation flags
298
299
300 ## Is unwind information useful
301
302 config DEBUG_ON
303         bool "Enable Debugging"
304         default y
305         help
306           This turns on debugging support
307
308
309 config DEBUG_SVM
310         bool "AMD SVM"
311         default n
312         depends on DEBUG_ON
313         help 
314           This turns on debugging for the AMD SVM-specific code
315
316 config DEBUG_VMX
317         bool "Intel VT"
318         default n
319         depends on DEBUG_ON
320         help 
321           This turns on debugging for the Intel VT-specific code
322
323
324 config DEBUG_SHADOW_PAGING
325         bool "Shadow paging"
326         default n
327         depends on DEBUG_ON
328         help 
329           This turns on debugging for the shadow paging system
330
331
332 config DEBUG_NESTED_PAGING
333         bool "Nested paging"
334         default n
335         depends on DEBUG_ON
336         help 
337           This turns on debugging for the nested paging system
338
339
340 config DEBUG_CTRL_REGS
341         bool "Control registers"
342         default n
343         depends on DEBUG_ON
344         help 
345           This turns on debugging for the control register handlers
346
347
348 config DEBUG_INTERRUPTS
349         bool "Interrupts"
350         default n
351         depends on DEBUG_ON
352         help 
353           This turns on debugging for the interrupt system
354
355 config DEBUG_TIME
356         bool "Timing"
357         default n
358         depends on DEBUG_ON
359         help
360           This turns on debugging of system time virtualization
361
362 config DEBUG_IO
363         bool "IO"
364         default n
365         depends on DEBUG_ON
366         help 
367           This turns on debugging for the IO handlers
368
369
370 config DEBUG_EMULATOR
371         bool "Instruction Emulator"
372         default n
373         depends on DEBUG_ON
374         help 
375           This turns on debugging for the Instruction Emulator
376
377
378 config DEBUG_XED
379         bool "XED"
380         default n
381         depends on DEBUG_ON
382         help 
383           This turns on debugging for the Xed Decoder
384
385 config DEBUG_HALT
386         bool "Halt"
387         default n
388         depends on DEBUG_ON
389         help 
390           This turns on debugging for the halt instruction handler
391
392 config DEBUG_DEV_MGR
393         bool "Device Manager"
394         default n
395         depends on DEBUG_ON
396         help 
397           This turns on debugging for the device manager
398
399
400
401
402 endmenu
403
404
405 menu "BIOS Selection"
406
407 config ROMBIOS_PATH
408         string "Path to pre-built ROMBIOS binary"
409         default "./bios/rombios/BIOS-bochs-latest"
410         help
411           This is the rombios that will be used for the guests
412
413 config VGABIOS_PATH
414         string "Path to pre-built VGABIOS binary"
415         default "./bios/vgabios/VGABIOS-lgpl-latest.bin"
416         help
417           This is the vgabios that will be used for the guests
418
419 config VMXASSIST_PATH
420         string "Path to pre-built VMXASSIST binary"
421         depends on VMX
422         default "./bios/vmxassist/vmxassist.bin"
423         help
424           This is vmxassist image to boot real mode guests on 
425           Intel VMX Platforms
426
427 endmenu
428
429
430 source "palacios/src/devices/Kconfig"
431