1 mainmenu "Palacios VMM Configuration"
3 menu "Target Configuration"
7 prompt "Target Host OS"
12 select BUILT_IN_STDLIB
13 select BUILT_IN_STRCASECMP
15 select ALIGNED_PG_ALLOC
18 This enables the necesary options to compile Palacios with Kitten
21 bool "OLD Linux (Built in) -- to be deprecated"
22 select BUILT_IN_STDLIB
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
32 select BUILT_IN_STDLIB
33 select BUILT_IN_STRDUP
38 This enables the necessary options to compile Palacios as a Linux module
43 string "Linux Kernel Source directory"
44 default "/usr/src/linux"
46 This is the directory containing the linux source for the kernel module to be built
51 This enables the necesary options to compile Palacios with Kitten
56 Choose this to compile Palacios for a Generic Host OS
62 bool "Red Storm (Cray XT3/XT4)"
64 Support for Cray XT3 and XT4 systems.
67 bool "AMD SVM Support"
70 Compile with support for AMD SVM
73 bool "Intel VMX Support"
76 Compile with support for Intel VMX
80 bool "Compile with Debug Information"
83 Compiles the Palacios library with debugging symbols
90 bool "XED decoder library"
93 This uses the XED decoder library from pintools
96 bool "Internal Palacios decoder"
98 This selects the internal V3Vee x86 decoder
103 menu "Supported host OS features"
105 config MULTITHREAD_OS
106 bool "Host support for multiple threads"
109 Select this if your OS supports multiple threads of execution. This will enable features in Palacios
110 to require the creation of additional execution threads.
113 config ALIGNED_PG_ALLOC
114 bool "Host support for aligned page allocations"
117 Select this if your OS supports allocating memory pages using an alignment. This is required
118 if you want Palacios to run with large page table pages.
121 int "Maximum number of cpus"
125 Specifies the maximum number of hardware CPUs supported by the OS
126 For uniprocessor environments, set this to 1
130 source "palacios/src/interfaces/Kconfig"
134 bool "Enable VMM telemetry support"
137 Enable the telemetry framework in Palacios
139 This is a framwork that allows components of palacios to record
140 information that is periodically reported to the log output.
141 Telemetry is automatically collected for vmexits. Subsystem telemetry
142 is configured separately
145 config SHADOW_PAGING_TELEMETRY
146 bool "Enable Shadow Paging Telemetry"
150 Enable telemetry information for shadow paging
155 bool "Enable Experimental options"
158 This allows the selection of experimental features. This includes incomplete or unreviewed code.
159 Only enable this feature if you are working on the features in question.
160 IMPORTANT: Non-experimental code MUST NOT use, require, or rely on experimental features.
161 Any code that violates this will be immediately deleted without warning.
163 The purpose of this option is to allow features under development to be committed to the mainline
164 to more easily track changes and provide access to multiple developers
167 depends on EXPERIMENTAL
168 bool "Enable Vnet in Palacios"
171 Enable the Vnet in Palacios
175 bool "Enable VM inspection"
176 depends on EXPERIMENTAL
179 Enable inspection framework for vm internal state
181 config SYSCALL_HIJACK
182 bool "Enable System Call Interposition"
183 depends on EXPERIMENTAL
186 Enable the VMM to hijack system calls executed by the guest.
187 If enabled, the VMM will intercept software interrupt (INT) instructions,
188 Fast-System Call instructions (SYSENTER, SYSCALL), and the LIDT instruction
190 config HIJACK_SYSCALL_MSR
191 bool "Intercept Syscall-related MSR reads & writes"
192 depends on SYSCALL_HIJACK
195 Allow the VMM to intercept reads and writes to MSRs
196 related to SYSCALL and SYSENTER instructions. Specifically,
197 it will intercept R/W to STAR, CSTAR, and LSTAR.
202 source "Kconfig.stdlibs"
205 menu "Virtual Paging"
208 bool "Enable shadow paging"
211 Enables shadow paging for virtual machines
214 config SHADOW_PAGING_VTLB
217 depends on SHADOW_PAGING
219 Enables Virtual TLB implemenation for shadow paging
222 config DEBUG_SHDW_PG_VTLB
223 bool "Enable VTLB debugging"
225 depends on SHADOW_PAGING_VTLB
227 Enables debugging messages for VTLB implementation
229 config SHADOW_PAGING_CACHE1
230 bool "Shadow Page Cache (1)"
232 depends on SHADOW_PAGING
234 Enables caching implemenation for shadow paging
241 menu "Time Management"
242 config VIRTUALIZE_TIME
243 bool "Enable Time virtualization"
246 Enables the timer virtualization extensions
248 config TIME_HIDE_VM_COST
249 bool "Hide VMM Run Cost"
251 depends on VIRTUALIZE_TIME
253 Offset guest time from host time sufficiently to hide the cost of
254 running in the virtual machine. This can aid the consistency of
255 time between multiple timers, but can cause the guest to run
256 a good bit slower than the host in VM-intensive parts of the code.
258 config TIME_VIRTUALIZE_TSC
259 bool "Fully virtualize guest TSC"
261 depends on VIRTUALIZE_TIME
263 Virtualize the processor time stamp counter in the guest,
264 generally increasing consistency between various time sources
265 but also potentially making guest time run slower than real time.
271 menu "Symbiotic Functions"
274 bool "Enable Symbiotic Functionality"
277 Enable Symbiotic components of the VMM.
278 This includes the SymSpy interface.
281 bool "Symbiotic upcalls"
283 depends on SYMBIOTIC && EXPERIMENTAL
285 Enables the Symbiotic upcall interface
290 depends on SYMBIOTIC && SYMCALL && EXPERIMENTAL
292 This enables the SwapBypass architecture
294 config SWAPBYPASS_TELEMETRY
295 bool "Enable SwapBypass Telemetry"
297 depends on TELEMETRY && SWAPBYPASS
299 Enable the telemetry information for the SwapBypass subsystem
302 bool "Symbiotic Modules"
304 depends on EXPERIMENTAL
305 # depends on SYMBIOTIC
307 Enable Symbiotic module loading
314 menu "Debug configuration"
316 config CONFIG_DEBUG_INFO
317 bool "Compile with Debug information"
320 This adds the -g flag to the compilation flags
323 ## Is unwind information useful
326 bool "Enable Debugging"
329 This turns on debugging support
337 This turns on debugging for the AMD SVM-specific code
344 This turns on debugging for the Intel VT-specific code
347 config DEBUG_SHADOW_PAGING
352 This turns on debugging for the shadow paging system
355 config DEBUG_NESTED_PAGING
360 This turns on debugging for the nested paging system
363 config DEBUG_CTRL_REGS
364 bool "Control registers"
368 This turns on debugging for the control register handlers
371 config DEBUG_INTERRUPTS
376 This turns on debugging for the interrupt system
383 This turns on debugging of system time virtualization
390 This turns on debugging for the IO handlers
393 config DEBUG_EMULATOR
394 bool "Instruction Emulator"
398 This turns on debugging for the Instruction Emulator
402 bool "Instruction Decoder"
406 This turns on debugging for the selected instruction decoder
413 This turns on debugging for the halt instruction handler
416 bool "Device Manager"
420 This turns on debugging for the device manager
423 depends on EXPERIMENTAL && VNET
424 bool "Enable Vnet Debug in Palacios"
427 Enable the Vnet debug in Palacios
429 config DEBUG_SYSCALL_HIJACK
430 bool "Enable Syscall hijack Debug in Palacios"
432 depends on EXPERIMENTAL && SYSCALL_HIJACK && DEBUG_ON
434 Enable Debugging printouts for syscall hijacking
440 menu "BIOS Selection"
443 string "Path to pre-built ROMBIOS binary"
444 default "./bios/rombios/BIOS-bochs-latest"
446 This is the rombios that will be used for the guests
449 string "Path to pre-built VGABIOS binary"
450 default "./bios/vgabios/VGABIOS-lgpl-latest.bin"
452 This is the vgabios that will be used for the guests
454 config VMXASSIST_PATH
455 string "Path to pre-built VMXASSIST binary"
457 default "./bios/vmxassist/vmxassist.bin"
459 This is vmxassist image to boot real mode guests on
465 source "palacios/src/devices/Kconfig"