lkml.org 
[lkml]   [2019]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH 13/13] x86/Kconfig: Add Kconfig for KVM based XO
Date
Add CONFIG_KVM_XO for supporting KVM based execute only memory.

Signed-off-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
---
arch/x86/Kconfig | 13 +++++++++++++
1 file changed, 13 insertions(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 222855cc0158..3a3af2a456e8 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -802,6 +802,19 @@ config KVM_GUEST
underlying device model, the host provides the guest with
timing infrastructure such as time of day, and system time

+config KVM_XO
+ bool "Support for KVM based execute only virtual memory permissions"
+ select DYNAMIC_PHYSICAL_MASK
+ select SPARSEMEM_VMEMMAP
+ depends on KVM_GUEST && X86_64
+ default y
+ help
+ This option enables support for execute only memory for KVM guests. If
+ support from the underlying VMM is not detected at boot, this
+ capability will automatically disable.
+
+ If you are unsure how to answer this question, answer Y.
+
config PVH
bool "Support for running PVH guests"
---help---
--
2.17.1
\
 
 \ /
  Last update: 2019-10-03 23:40    [W:0.278 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site