KVM: PPC: Book3S HV: Stop returning internal values to userspace
authorFabiano Rosas <farosas@linux.ibm.com>
Tue, 25 Jan 2022 21:56:51 +0000 (18:56 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 31 Jan 2022 02:42:59 +0000 (13:42 +1100)
commit36d014d37d59065087e51b8381e37993f1ca99bc
tree6c924c8b7872e1703192ecba8839ab80ace7c1bd
parent26291c54e111ff6ba87a164d85d4a4e134b7315c
KVM: PPC: Book3S HV: Stop returning internal values to userspace

Our kvm_arch_vcpu_ioctl_run currently returns the RESUME_HOST values
to userspace, against the API of the KVM_RUN ioctl which returns 0 on
success.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220125215655.1026224-2-farosas@linux.ibm.com
arch/powerpc/kvm/powerpc.c