diff options
| author | Huaitong Han <huaitong.han@intel.com> | 2016-03-22 11:51:21 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 18:38:17 +0300 |
| commit | b9baba861489041b37b54fc7ee0b0006b5327151 (patch) | |
| tree | 28a3d76b7d602a2b886356b08097e82d4a7169ed /net/lapb/lapb_timer.c | |
| parent | be94f6b71067df47d623fc6c6983a8dee504fb4d (diff) | |
| download | linux-b9baba861489041b37b54fc7ee0b0006b5327151.tar.xz | |
KVM, pkeys: expose CPUID/CR4 to guest
X86_FEATURE_PKU is referred to as "PKU" in the hardware documentation:
CPUID.7.0.ECX[3]:PKU. X86_FEATURE_OSPKE is software support for pkeys,
enumerated with CPUID.7.0.ECX[4]:OSPKE, and it reflects the setting of
CR4.PKE(bit 22).
This patch disables CPUID:PKU without ept, because pkeys is not yet
implemented for shadow paging.
Signed-off-by: Huaitong Han <huaitong.han@intel.com>
Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
