Re: [PATCH v2 26/45] KVM: s390: Invoke kvm_vcpu_init() before allocating sie_page

From: Cornelia Huck
Date: Thu Dec 19 2019 - 14:47:53 EST


On Wed, 18 Dec 2019 13:55:11 -0800
Sean Christopherson <sean.j.christopherson@xxxxxxxxx> wrote:

> 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@xxxxxxxxx>
> ---
> arch/s390/kvm/kvm-s390.c | 18 ++++++++++--------
> 1 file changed, 10 insertions(+), 8 deletions(-)

Seems to be fine.

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>