KVM: s390: Use kvm_get_vcpu() instead of open-coded access
authorMarc Zyngier <maz@kernel.org>
Tue, 16 Nov 2021 16:03:59 +0000 (16:03 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:24:14 +0000 (04:24 -0500)
commit113d10bca23cdd522da26969b96db8711b182642
treecfc05c0c90fb5642eca8e8b88b53f2be60d79733
parent75a9869f314d83ac70ebaa0b93773300681ab077
KVM: s390: Use kvm_get_vcpu() instead of open-coded access

As we are about to change the way vcpus are allocated, mandate
the use of kvm_get_vcpu() instead of open-coding the access.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Message-Id: <20211116160403.4074052-4-maz@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/kvm-s390.c