]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Check the allocation of pv cpu mask
authorHaiwei Li <lihaiwei@tencent.com>
Tue, 1 Sep 2020 11:41:37 +0000 (19:41 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Sep 2020 17:15:10 +0000 (13:15 -0400)
commit0a614374e9e16f8a205d9a1810e6c2f29a2e5815
tree9793b3176478a7b173a800b95fd9e0b01c5ea134
parent812ac45b96e13692c96551a2914a64449daa3a08
KVM: Check the allocation of pv cpu mask

check the allocation of per-cpu __pv_cpu_mask. Initialize ops only when
successful.

Signed-off-by: Haiwei Li <lihaiwei@tencent.com>
Message-Id: <d59f05df-e6d3-3d31-a036-cc25a2b2f33f@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kernel/kvm.c