]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit569599ba93a51cfa0e70a2b4073c7b96c737b145
tree25e4fa75712b31e9eee2e602fad3f1be6869218e
parent0410b0388f8a8e48a4207d76b87ec03eb322a5ef
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