Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7553972rwb; Tue, 15 Nov 2022 14:13:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf5/MouKoTD6fsfnVnKTu37LhMh3M/0iMG840jeENQS1APo27QGuigswdKDz8ea9WdSl9+DK X-Received: by 2002:a17:902:7b8c:b0:183:7f67:25d7 with SMTP id w12-20020a1709027b8c00b001837f6725d7mr5840218pll.164.1668550399818; Tue, 15 Nov 2022 14:13:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668550399; cv=none; d=google.com; s=arc-20160816; b=tqDDzeBmJJDSZ7yWQuCmX3+xF7AvOTBjcp8KiIIZvPR4mfcZOn823Mz2h4OW8OWXml En2yHcnlRW7vg+KkYWtMst7+o2xgaCsD2h1/8T2watNLSDViB8QEYGHYR74ixkLW6oLi 8vVd36eN9o8+IASH77khLrnTwovpnCW4KE+dAbWNmd/aX0EJjtE8/3BCZZ8qzyIS2tpX JJ7g8eOU74Cpkf+7e1bwb7bc42aJ1q4D9vLm7ZmkdEziPhW8dKWh8Me8dqHH9lrZPN6b dhK87yJ5U/8XMPbgA6FMl+Pg9ewN8eMGOykG2Llj82W36FvEXmLIMh20y//DKRKDDG9P p4Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=C7tUVYpO4jLfaqvMhqdCpmO66QWigemFPvbjNEjHSJ4=; b=wjg2bu5LmOuppckDp2fuUXsCMIEKtVBXHc9IxoYt80jIL7N5xJseGKMpcNdh7Uz2qt 7v8WuJqws9IkW3IhICaQQTdEUzjSS68jf+XlFhLb4AaE6EvQy5p2yxYl0jtHtnTV1YtF GdQclvwfkVWkf/cZ30ftBMfk65j0tKEcXLnkTJcsV0HdKp5YY5gBIFWbwQKgwugPYbhf C2yAWdjxaHUL66F8zY3mxgbuCvh/jZsAMm42SimjcXpk1wIxry344Fmu0gABGxl5kkK5 6c7rD1/uzmk6QO2XOM22HZqs5hmUcHzup8W/x0Cn9MW56wfaFUkGu6iRwKQpwRGIkhbJ fM0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=RyLafPpZ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u70-20020a638549000000b00458085e9e70si3735473pgd.577.2022.11.15.14.13.07; Tue, 15 Nov 2022 14:13:19 -0800 (PST) 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=@google.com header.s=20210112 header.b=RyLafPpZ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbiKOUts (ORCPT + 90 others); Tue, 15 Nov 2022 15:49:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbiKOUtp (ORCPT ); Tue, 15 Nov 2022 15:49:45 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96FD5A1B9 for ; Tue, 15 Nov 2022 12:49:44 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id g7so26397081lfv.5 for ; Tue, 15 Nov 2022 12:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=C7tUVYpO4jLfaqvMhqdCpmO66QWigemFPvbjNEjHSJ4=; b=RyLafPpZTU9ucYBbhpi+V1I+plIAPNE+NaFEVe8vgquDBY5QK468W6QDDSEN/Mmm43 LZVO7gl6lIXfpB0iwaQxCkcGNLItecm1m2/BkLtsSkLOfglZhL3F0SjGriWHvkKRkZ2s Vvfv9uZpepq1qCE9WtMYr8HPKBNUFSfJUHiUk+RfXCkBU8khtTwrMd/jIOBaZkd4cghz wKluyqtiwaKMedUhhO9BYERvAWoVo6wkgXxnpbbc0O1Ygvr2twjQZAjABkcWUI6LPbfj 0Gsnk6vfJS0hbRtVxZANMdLI6GXXXNSS81PqVQz9odjXxcl7bdji87g6n5mgX8BqwZIB lYqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C7tUVYpO4jLfaqvMhqdCpmO66QWigemFPvbjNEjHSJ4=; b=jbBBMmpkY/bK7UDZ8B1pTVqcdOVar4je2gG4JAbimTkVfg+MRix/bgIWNGNaNP/RQB hKWrBVjulbjtl8RqYIQPoLrM6iRJN81iZ3O70BwQ9pwu7VRrCtM/BQl+JjgaHWj4Ewzk NPjzvcCy6ILLAYhXkGATQooCoDuGxXN/XJi0YEMJwceb9QPa37xeP/9nk/nDgUyoXxNL OnhSJYZWVoLVcKC/oVnol6YAcVqstv2Caz7pgpLwXJ2VuTq/dBspghh1L5CsIDUJjS2j gH9OHIhKWg21qgjkBKPy/hEoac/rLDJCkH4f6TjejdMGgnncsaAxRojVhXyyfOA5ZFNY iCyg== X-Gm-Message-State: ANoB5pkMxWQ39Pej1RZBOOVerWnVW/56Ahgxi6IYJhL+/xn8wBt+e9TL gL2UFs2vZ08DzHKcTtaRwt5+PTtsrTWfu6WKx48ATg== X-Received: by 2002:a19:7411:0:b0:4b1:215b:167d with SMTP id v17-20020a197411000000b004b1215b167dmr6765094lfe.558.1668545382694; Tue, 15 Nov 2022 12:49:42 -0800 (PST) MIME-Version: 1.0 References: <20221013121319.994170-1-vannapurve@google.com> <20221013121319.994170-4-vannapurve@google.com> <20221013140112.ppm6jgoxd5oqvlgw@kamzik> In-Reply-To: <20221013140112.ppm6jgoxd5oqvlgw@kamzik> From: Peter Gonda Date: Tue, 15 Nov 2022 13:49:31 -0700 Message-ID: Subject: Re: [V3 PATCH 3/4] KVM: selftests: Add arch specific post vm creation hook To: Andrew Jones Cc: Vishal Annapurve , 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 8:03 AM Andrew Jones wrote: > > 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 Reviewed-by: Peter Gonda