From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Date: Wed, 19 Feb 2020 07:52:02 +0000 Subject: Re: [PATCH v2 1/9] KVM: Pass kvm_init()'s opaque param to additional arch funcs Message-Id: <20200219075202.1a6ed865@why> List-Id: References: <20200218235437.20533-1-sean.j.christopherson@intel.com> <20200218235437.20533-2-sean.j.christopherson@intel.com> In-Reply-To: <20200218235437.20533-2-sean.j.christopherson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Sean Christopherson Cc: Paolo Bonzini , Paul Mackerras , Christian Borntraeger , Janosch Frank , David Hildenbrand , Cornelia Huck , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , James Morse , Julien Thierry , Suzuki K Poulose , linux-mips@vger.kernel.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org On Tue, 18 Feb 2020 15:54:29 -0800 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 > Tested-by: Cornelia Huck #s390 > Signed-off-by: Sean Christopherson Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...