X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fextensions%2FKconfig;h=e3b83feca0116779f5c6a622cc506426980ddebf;hb=57d73771eca20238eff66a02c85659287a7d6b89;hp=9e3a9055858e943ab1ed2f05a9a2a452ddae19dd;hpb=3db6f4c76bd6412d0154b7693c1516d792486b13;p=palacios-OLD.git diff --git a/palacios/src/extensions/Kconfig b/palacios/src/extensions/Kconfig index 9e3a905..e3b83fe 100644 --- a/palacios/src/extensions/Kconfig +++ b/palacios/src/extensions/Kconfig @@ -44,48 +44,54 @@ config EXT_INSPECTOR help Provides the inspection extension -config SW_INTERRUPTS +config EXT_SW_INTERRUPTS bool "Enable interception and hooking of software interrupts" default n help This feature will cause the VMM to intercept the execution of software interrupts (i.e. the INTn instruction) and enable - any INT vector to be hooked + any INT vector to be hooked. Extension name is "swintr_intercept" -config SWINTR_PASSTHROUGH +config DEBUG_EXT_SW_INTERRUPTS + bool "Enable debugging of software interrupt interception code" + depends on EXT_SW_INTERRUPTS + default n + help + This will enable useful debugging printouts for software + intercept code + +config EXT_SWINTR_PASSTHROUGH bool "Hook all unhandled sofware interrupts for passthrough" - depends on SW_INTERRUPTS + depends on EXT_SW_INTERRUPTS default n help If enabled, this will cause all software interrupts (INT instruction vectors) to be hooked for passthrough. May reduce performance but useful for debugging. -config SYSCALL_HIJACK +config EXT_SYSCALL_HIJACK bool "Enable System Call Hijacking" - depends on SW_INTERRUPTS + depends on EXT_SW_INTERRUPTS default n help Enable the VMM to hijack system calls executed by the guest. If enabled, the VMM will hook execution of INT 80 - (support for Fast-System Calls coming soon) -config SYSCALL_PASSTHROUGH +config DEBUG_EXT_SYSCALL_HIJACK + bool "Enable Syscall Hijack Debug in Palacios" + depends on EXT_SYSCALL_HIJACK + default n + help + Enable Debugging printouts for syscall hijacking code + in Palacios + +config EXT_SYSCALL_PASSTHROUGH bool "Hook all unhandled system calls for passthrough" - depends on SYSCALL_HIJACK + depends on EXT_SYSCALL_HIJACK default n help If enabled, this option will cause all system calls that are not explicitly hooked to be hooked for passthrough. This is useful for debugging. -config HIJACK_SYSCALL_MSR - bool "Intercept Syscall-related MSR reads & writes" - depends on SYSCALL_HIJACK - default n - help - Allow the VMM to intercept reads and writes to MSRs - related to SYSCALL and SYSENTER instructions. Specifically, - it will intercept R/W to STAR, CSTAR, and LSTAR. - endmenu