diff options
author | Huaitong Han <huaitong.han@intel.com> | 2016-03-22 11:51:15 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 18:21:04 +0300 |
commit | ddba262891494c1337fcbec8910605285012c121 (patch) | |
tree | e8dd487cfed4cfbb21548678ce2fd2d9c211b429 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e0b18ef7189075676ac432954d7920eaa30d8e3e (diff) | |
download | linux-ddba262891494c1337fcbec8910605285012c121.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions