Re: [PATCH v2 1/9] KVM: Pass kvm_init()'s opaque param to additional arch funcs
From: Marc Zyngier
Date: Wed Feb 19 2020 - 02:52:08 EST
On Tue, 18 Feb 2020 15:54:29 -0800
Sean Christopherson <sean.j.christopherson@xxxxxxxxx> 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
> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
Acked-by: Marc Zyngier <maz@xxxxxxxxxx>
M.
--
Jazz is not dead. It just smells funny...