KVM: x86: Ensure all logical CPUs have consistent reserved cr4 bits
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 10 Dec 2019 22:44:14 +0000 (14:44 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Jan 2020 12:58:05 +0000 (13:58 +0100)
commitf1cdecf5807b1a91829a2dc4f254bfe6bafd4776
tree25e4fa75712b31e9eee2e602fad3f1be6869218e
parentb11306b53b2540c6ba068c4deddb6a17d9f8d95b
KVM: x86: Ensure all logical CPUs have consistent reserved cr4 bits

Check the current CPU's reserved cr4 bits against the mask calculated
for the boot CPU to ensure consistent behavior across all CPUs.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c