diff options
author | Jim Mattson <jmattson@google.com> | 2018-12-06 02:29:00 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-12-14 19:59:48 +0300 |
commit | db31c8f5af7de0e78f63fd4c255cf3868d667bf4 (patch) | |
tree | 71e45b51bdf98be5bfab1c36deef2f74ac1d4dce /tools/perf/scripts/python/syscall-counts.py | |
parent | 898a811f1486df3209ce857027d0564d6a616cf2 (diff) | |
download | linux-db31c8f5af7de0e78f63fd4c255cf3868d667bf4.tar.xz |
kvm: vmx: Don't set hardware IA32_CSTAR MSR on VM-entry
SYSCALL raises #UD in compatibility mode on Intel CPUs, so it's
pointless to load the guest's IA32_CSTAR value into the hardware MSR.
IA32_CSTAR still provides 48 bits of storage on Intel CPUs that have
CPUID.80000001:EDX.LM[bit 29] set, so we cannot remove it from the
vmx_msr_index[] array.
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions