Re: [PATCH v3 1/9] KVM: Pass kvm_init()'s opaque param to additional arch funcs
From: Paul Mackerras
Date: Mon Mar 23 2020 - 21:19:01 EST
On Sat, Mar 21, 2020 at 01:25:55PM -0700, Sean Christopherson wrote:
> Pass @opaque to kvm_arch_hardware_setup() and
> kvm_arch_check_processor_compat() to allow architecture specific code to
> reference @opaque without having to stash it away in a temporary global
> variable. This will enable x86 to separate its vendor specific callback
> ops, which are passed via @opaque, into "init" and "runtime" ops without
> having to stash away the "init" ops.
>
> No functional change intended.
>
> Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>
> Tested-by: Cornelia Huck <cohuck@xxxxxxxxxx> #s390
> Acked-by: Marc Zyngier <maz@xxxxxxxxxx>
> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
Acked-by: Paul Mackerras <paulus@xxxxxxxxxx>