diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2019-02-07 13:42:14 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-12 17:16:01 +0300 |
commit | 6b1971c694975e49af302229202c0043568b1791 (patch) | |
tree | faff5becb86d9dc744f043c76247984f4207165c /fs/internal.h | |
parent | d13937116f1e82bf508a6325111b322c30c85eb9 (diff) | |
download | linux-6b1971c694975e49af302229202c0043568b1791.tar.xz |
x86/kvm/nVMX: read from MSR_IA32_VMX_PROCBASED_CTLS2 only when it is available
SDM says MSR_IA32_VMX_PROCBASED_CTLS2 is only available "If
(CPUID.01H:ECX.[5] && IA32_VMX_PROCBASED_CTLS[63])". It was found that
some old cpus (namely "Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (family: 0x6,
model: 0xf, stepping: 0x6") don't have it. Add the missing check.
Reported-by: Zdenek Kaspar <zkaspar82@gmail.com>
Tested-by: Zdenek Kaspar <zkaspar82@gmail.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions