]> 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)
commit654e14ebe9fa8d7a9faf375eba2fbd4e0c3b93fe
tree25e4fa75712b31e9eee2e602fad3f1be6869218e
parent0d58cf4f15b4d2b4984f1419ca3babf41447dc6e
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