KVM: MIPS: Use kvm_vcpu_cache to allocate vCPUs
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 18 Dec 2019 21:55:01 +0000 (13:55 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 08:19:01 +0000 (09:19 +0100)
commit5233009fab8e0a037c38a8c2b28ba4b3df203935
tree5545eae36b3bcf618db7a5e45269b70e16460b7b
parentff030fdf55732266c2d35b1a4a0baaf9ce49e9dd
KVM: MIPS: Use kvm_vcpu_cache to allocate vCPUs

For reasons unknown, MIPS configures the vCPU allocation cache but
allocates vCPUs via kzalloc().  Allocate from the vCPU cache in
preparation for moving vCPU allocation to common KVM code.

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