diff options
author | 2019-04-08 17:35:11 -0400 | |
---|---|---|
committer | 2019-04-16 15:39:02 +0200 | |
commit | f6b0db1fdafad5fdbe10a4a3559da42d286435e6 (patch) | |
tree | 108cc1c4c25952e0a8a0df276f81f75c701a7734 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: optimize check for valid PAT value (diff) | |
download | wireguard-linux-f6b0db1fdafad5fdbe10a4a3559da42d286435e6.tar.xz wireguard-linux-f6b0db1fdafad5fdbe10a4a3559da42d286435e6.zip |
kvm: nVMX: Check "load IA32_PAT" VM-exit control on vmentry
According to section "Checks on Host Control Registers and MSRs" in Intel
SDM vol 3C, the following check is performed on vmentry:
If the "load IA32_PAT" VM-exit control is 1, the value of the field
for the IA32_PAT MSR must be one that could be written by WRMSR
without fault at CPL 0. Specifically, each of the 8 bytes in the
field must have one of the values 0 (UC), 1 (WC), 4 (WT), 5 (WP),
6 (WB), or 7 (UC-).
Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: Karl Heubaum <karl.heubaum@oracle.com>
Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions