Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1011327rwi; Thu, 13 Oct 2022 08:02:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5u4GkQ0zS1bJLxSVSJZ4BiMJILYPZtQTbw13dsppYRMIlG7tODkuFLteuw4SwYEhpilg3p X-Received: by 2002:a05:6402:410:b0:451:ea13:4ed7 with SMTP id q16-20020a056402041000b00451ea134ed7mr200594edv.262.1665673345972; Thu, 13 Oct 2022 08:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665673345; cv=none; d=google.com; s=arc-20160816; b=aIJ6EEKLM6gwKcFiTyjmeaz2UCFcfV7KKT5YnuktqsCxndKLRXh0ACGuYBiVILmVHC NkwmBdgt0qfSHB6FKt+CkuUmiJqZ3GfWI9H1aszR5r9BOcmRv7nZzzAYHiGDhKKF3KI1 g3l+trXPh3dR/En8MXR5JiY6zPMTomLgoFpl/a59XRASaF1k1IOuPLrfD36Ps6JKrn9/ bzgipseDL2hw9GsucgeAF+bp1FZ7ELZmjZfhqXwXmWuasKPgMFPSvQkodYBHsioA0dYo AjeSnZ89NxTFCspoBaMc5DiW8idV2D7n+r5u4i9CMGcDOIMIoM/+KZi45uoveOmMnJ3s qnjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=tHlnrI7eL674lyUrWdWRUKxazO85mvtfxyUIHjcF/TA=; b=oULy1XAYbQrccEwL4Db+4RjF13exWLooDp+/vBzLdWzNabjZFpLLbZ5Jm2tZL94y/s 29NHXq+BF12VanAylJwjnqSOiuN6oF+cs8nIiL32l2peie3blga1eSylcSFKtPDtdBbT 454z1tK8CXmz0WY8giWCuZ0Cc6jJYs496lJ2nctBlpy+gu1lBdrv7Ng8vgVHLyUB6wQt pOHki4HjN2IPyUQydxoFy/p55ytfkt/SaWM/Rf0zAeRFpB1qWF7Dx1wkr77892+qDl4M P2Bwxpy05aUMN5R7njQ+D+wlp2TtrIR/8ekoYFY43Uz9obien3F21i7KT3cl+vkzM/2Y WkQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ICQ5dnOg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y22-20020a1709063a9600b00782b2a97825si16154317ejd.337.2022.10.13.08.01.44; Thu, 13 Oct 2022 08:02:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ICQ5dnOg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbiJMODR (ORCPT + 99 others); Thu, 13 Oct 2022 10:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbiJMODP (ORCPT ); Thu, 13 Oct 2022 10:03:15 -0400 Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87DC913F2C; Thu, 13 Oct 2022 07:02:44 -0700 (PDT) Date: Thu, 13 Oct 2022 16:01:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1665669674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tHlnrI7eL674lyUrWdWRUKxazO85mvtfxyUIHjcF/TA=; b=ICQ5dnOgne9v6P5D1aQUE0LJhd8bIzhKmohSZsWTvSHlvuwFGdejPaUdbeYb9jokKCUURx PcoqbC/yMcAunGuC4VtzPBSo00XpGMEokAvE8tV5xCIB6OGe1QXoQDJ9n8xrMoOH3OI5eg zDidpnIj3uzF9YEIooxMruIv3UjxGuM= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Andrew Jones To: Vishal Annapurve Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, pbonzini@redhat.com, shuah@kernel.org, bgardon@google.com, seanjc@google.com, oupton@google.com, peterx@redhat.com, vkuznets@redhat.com, dmatlack@google.com Subject: Re: [V3 PATCH 3/4] KVM: selftests: Add arch specific post vm creation hook Message-ID: <20221013140112.ppm6jgoxd5oqvlgw@kamzik> References: <20221013121319.994170-1-vannapurve@google.com> <20221013121319.994170-4-vannapurve@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221013121319.994170-4-vannapurve@google.com> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 13, 2022 at 12:13:18PM +0000, Vishal Annapurve wrote: > Add arch specific API kvm_arch_vm_post_create to perform any required setup > after VM creation. > > This API will be used in followup commit to convey cpu vendor type to the > guest vm. > > Suggested-by: Sean Christopherson > Signed-off-by: Vishal Annapurve > --- > tools/testing/selftests/kvm/include/kvm_util_base.h | 4 ++++ > tools/testing/selftests/kvm/lib/kvm_util.c | 9 ++++++--- > tools/testing/selftests/kvm/lib/x86_64/processor.c | 6 ++++++ > 3 files changed, 16 insertions(+), 3 deletions(-) > Reviewed-by: Andrew Jones