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.


change virtualized time configuration
[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 config VIRTUALIZE_TIME
229         bool "Enable Time virtualization"
230         default n
231         help
232            Enables the timer virtualization extensions
233  
234 config TIME_HIDE_VM_COST
235         bool "Hide VMM Run Cost"
236         default n
237         depends on VIRTUALIZE_TIME
238         help
239             Offset guest time from host time sufficiently to hide the cost of
240             running in the virtual machine. This can aid the consistency of
241             time between multiple timers, but can cause the guest to run 
242             a good bit slower than the host in VM-intensive parts of the code.
243
244 config TIME_VIRTUALIZE_TSC
245         bool "Fully virtualize guest TSC"
246         default n
247         depends on VIRTUALIZE_TIME
248         help
249             Virtualize the processor time stamp counter in the guest, 
250             generally increasing consistency between various time sources 
251             but also potentially making guest time run slower than real time.
252          
253 endmenu
254
255 menu "Symbiotic Functions"
256
257 config SYMBIOTIC
258         bool "Enable Symbiotic Functionality"
259         default n
260         help 
261           Enable Symbiotic components of the VMM. 
262           This includes the SymSpy interface.
263
264 config SYMCALL
265         bool "Symbiotic upcalls"
266         default n
267         depends on SYMBIOTIC && EXPERIMENTAL
268         help
269           Enables the Symbiotic upcall interface
270
271 config SWAPBYPASS
272         bool "SwapBypass"
273         default n
274         depends on SYMBIOTIC && SYMCALL && EXPERIMENTAL
275         help 
276           This enables the SwapBypass architecture
277
278 config SWAPBYPASS_TELEMETRY
279         bool "Enable SwapBypass Telemetry"
280         default n
281         depends on TELEMETRY && SWAPBYPASS
282         help 
283           Enable the telemetry information for the SwapBypass subsystem
284
285 menuconfig SYMMOD 
286         bool "Symbiotic Modules"
287         default n
288         depends on EXPERIMENTAL
289 #       depends on SYMBIOTIC
290         help
291           Enable Symbiotic module loading
292
293
294 endmenu
295
296
297
298 menu "Debug configuration"
299
300 config CONFIG_DEBUG_INFO
301         bool "Compile with Debug information"
302         default n
303         help 
304          This adds the -g flag to the compilation flags
305
306
307 ## Is unwind information useful
308
309 config DEBUG_ON
310         bool "Enable Debugging"
311         default y
312         help
313           This turns on debugging support
314
315
316 config DEBUG_SVM
317         bool "AMD SVM"
318         default n
319         depends on DEBUG_ON
320         help 
321           This turns on debugging for the AMD SVM-specific code
322
323 config DEBUG_VMX
324         bool "Intel VT"
325         default n
326         depends on DEBUG_ON
327         help 
328           This turns on debugging for the Intel VT-specific code
329
330
331 config DEBUG_SHADOW_PAGING
332         bool "Shadow paging"
333         default n
334         depends on DEBUG_ON
335         help 
336           This turns on debugging for the shadow paging system
337
338
339 config DEBUG_NESTED_PAGING
340         bool "Nested paging"
341         default n
342         depends on DEBUG_ON
343         help 
344           This turns on debugging for the nested paging system
345
346
347 config DEBUG_CTRL_REGS
348         bool "Control registers"
349         default n
350         depends on DEBUG_ON
351         help 
352           This turns on debugging for the control register handlers
353
354
355 config DEBUG_INTERRUPTS
356         bool "Interrupts"
357         default n
358         depends on DEBUG_ON
359         help 
360           This turns on debugging for the interrupt system
361
362 config DEBUG_TIME
363         bool "Timing"
364         default n
365         depends on DEBUG_ON
366         help
367           This turns on debugging of system time virtualization
368
369 config DEBUG_IO
370         bool "IO"
371         default n
372         depends on DEBUG_ON
373         help 
374           This turns on debugging for the IO handlers
375
376
377 config DEBUG_EMULATOR
378         bool "Instruction Emulator"
379         default n
380         depends on DEBUG_ON
381         help 
382           This turns on debugging for the Instruction Emulator
383
384
385 config DEBUG_XED
386         bool "XED"
387         default n
388         depends on DEBUG_ON
389         help 
390           This turns on debugging for the Xed Decoder
391
392 config DEBUG_HALT
393         bool "Halt"
394         default n
395         depends on DEBUG_ON
396         help 
397           This turns on debugging for the halt instruction handler
398
399 config DEBUG_DEV_MGR
400         bool "Device Manager"
401         default n
402         depends on DEBUG_ON
403         help 
404           This turns on debugging for the device manager
405
406
407
408
409 endmenu
410
411
412 menu "BIOS Selection"
413
414 config ROMBIOS_PATH
415         string "Path to pre-built ROMBIOS binary"
416         default "./bios/rombios/BIOS-bochs-latest"
417         help
418           This is the rombios that will be used for the guests
419
420 config VGABIOS_PATH
421         string "Path to pre-built VGABIOS binary"
422         default "./bios/vgabios/VGABIOS-lgpl-latest.bin"
423         help
424           This is the vgabios that will be used for the guests
425
426 config VMXASSIST_PATH
427         string "Path to pre-built VMXASSIST binary"
428         depends on VMX
429         default "./bios/vmxassist/vmxassist.bin"
430         help
431           This is vmxassist image to boot real mode guests on 
432           Intel VMX Platforms
433
434 endmenu
435
436
437 source "palacios/src/devices/Kconfig"
438