diff options
author | Huaitong Han <huaitong.han@intel.com> | 2016-03-22 16:51:15 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 16:21:04 +0100 |
commit | ddba262891494c1337fcbec8910605285012c121 (patch) | |
tree | e8dd487cfed4cfbb21548678ce2fd2d9c211b429 /arch/Kconfig | |
parent | e0b18ef7189075676ac432954d7920eaa30d8e3e (diff) |
KVM, pkeys: disable pkeys for guests in non-paging mode
Pkeys is disabled if CPU is in non-paging mode in hardware. However KVM
always uses paging mode to emulate guest non-paging, mode with TDP. To
emulate this behavior, pkeys needs to be manually disabled when guest
switches to non-paging mode.
Signed-off-by: Huaitong Han <huaitong.han@intel.com>
Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions