From: Kyle Hale Date: Tue, 21 Jun 2011 02:13:44 +0000 (-0500) Subject: isolated syscall config options to extensions X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=4e8393bbded9e1ee77c2280b3ece64a6757c54ee isolated syscall config options to extensions --- diff --git a/palacios/src/extensions/Kconfig b/palacios/src/extensions/Kconfig index 9e3a905..fcdf0a3 100644 --- a/palacios/src/extensions/Kconfig +++ b/palacios/src/extensions/Kconfig @@ -44,7 +44,7 @@ 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 @@ -52,40 +52,45 @@ config SW_INTERRUPTS of software interrupts (i.e. the INTn instruction) and enable any INT vector to be hooked -config SWINTR_PASSTHROUGH +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" + 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 +config EXT_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. + it will intercept R/W to STAR, CSTAR, and LSTAR, and SYSENTER_EIP. endmenu