]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: use Intel speculation bugs and features as derived in generic x86 code
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Aug 2019 15:24:07 +0000 (17:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Aug 2019 08:09:11 +0000 (10:09 +0200)
commitb5cfc7e691bb36b13949872f5d81788a86805ce7
treed116b990512c350646f822725690c2a208687a9c
parent51706c4c185954b9a149c57e2012e40d6ef4d134
KVM: x86: use Intel speculation bugs and features as derived in generic x86 code

Similar to AMD bits, set the Intel bits from the vendor-independent
feature and bug flags, because KVM_GET_SUPPORTED_CPUID does not care
about the vendor and they should be set on AMD processors as well.

Suggested-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c
arch/x86/kvm/x86.c