]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Invoke kvm_vcpu_init() before allocating sie_page
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 18 Dec 2019 21:55:11 +0000 (13:55 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 08:19:08 +0000 (09:19 +0100)
commit9fa066b44987251c3c5b499f143c1dc78ce690cf
tree2705f4936210dbeb862fa3891610662304dfbc69
parent1511a1fd9612da1ba8eb27dcf98ba0c19bfccfe1
KVM: s390: Invoke kvm_vcpu_init() before allocating sie_page

Now that s390's implementation of kvm_arch_vcpu_init() is empty, move
the call to kvm_vcpu_init() above the allocation of the sie_page.  This
paves the way for moving vcpu allocation and initialization into common
KVM code without any associated functional change.

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