diff options
author | Wanpeng Li <wanpeng.li@linux.intel.com> | 2014-08-20 15:31:53 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-20 10:13:40 +0200 |
commit | a32e84594ddf018cc618a8781298804c3e6131ce (patch) | |
tree | 4b5acc7131c98e21e312386830f7c824cf94ff6e /arch/x86/kvm/pmu.c | |
parent | 1e1b6c26443547b05925ae4a4494884c92eb7d95 (diff) | |
download | linux-a32e84594ddf018cc618a8781298804c3e6131ce.tar.bz2 |
KVM: vmx: fix ept reserved bits for 1-GByte page
EPT misconfig handler in kvm will check which reason lead to EPT
misconfiguration after vmexit. One of the reasons is that an EPT
paging-structure entry is configured with settings reserved for
future functionality. However, the handler can't identify if
paging-structure entry of reserved bits for 1-GByte page are
configured, since PDPTE which point to 1-GByte page will reserve
bits 29:12 instead of bits 7:3 which are reserved for PDPTE that
references an EPT Page Directory. This patch fix it by reserve
bits 29:12 for 1-GByte page.
Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/pmu.c')
0 files changed, 0 insertions, 0 deletions