]> 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)
commita431912053dcc965e068128fea759eb0cf961df1
tree9793b3176478a7b173a800b95fd9e0b01c5ea134
parent8d1d78a81bd6bd5325567635cc2d015d13a9cba0
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