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)
commit0c54914d0c52a15db9954a76ce80fee32cf318f4
treed116b990512c350646f822725690c2a208687a9c
parent50896de4be7e08fc47f857f6e0c0e9ab2654b941
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