From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A70D4C433EF for ; Fri, 1 Jul 2022 16:06:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230211AbiGAQGG (ORCPT ); Fri, 1 Jul 2022 12:06:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiGAQGD (ORCPT ); Fri, 1 Jul 2022 12:06:03 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5648237D8 for ; Fri, 1 Jul 2022 09:06:02 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id b23-20020a9d7557000000b00616c7999865so2144002otl.12 for ; Fri, 01 Jul 2022 09:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tA1We13n/kM82sx0YkjNZewIMefOanocSsCM/govz+0=; b=HVBgkL2ltgMWKb+Ud9xDGdc/ePbGYT9TfJqKmZF2NnExOSDq9GD90EH0Ovmb7srZmJ ZpjLCVbLKK5qzBb0g2ihopTVCOZ+UsKiv8/PpIYNlynL41GScN9X1T/b9f0quwMCr1gr 8u2pkT5+RDwXkqmGw4Em1grpppr/gQom1iZeBLc+muWCkh+upOL+ENLK2Q1z989Eixei BMn2SzHw6wqiVVSUbCYc5y/OG7CqvEptn8V9h0Ffe94UU3c8p6brvEuUpRrMod/7FtSP a/0WBXDjTMa/C9aBSPjfR6tm3r79QGTYc7SOmtr8gCbqD0rh+gYGujKTWCkBU6dhrYXn pUww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tA1We13n/kM82sx0YkjNZewIMefOanocSsCM/govz+0=; b=15MDj8YokF1dgjsOj+6ceh6r1DE72rfP27hj7AquuzIO8OF3Mr1q0EBgqMfbZyIxv8 wqVXC97rtG9Gc0JKJVTkodTGvHVx9pZ5qgRy94wuNPgX1Dv74WHGFlOeMJfrh7T2bggc r2sdwpJdfjKOeUCxPR2bfZxh+PCan32CfUdbTMr2RyzUVSnqvMSvj/CB8KpeYN20e+ED 6oBHRXyr4P6XhFiBZJWCQnkBCpgcYrdEcPura6Vkx53y/baejmf1VxmMuHGedTnFPoP8 0GxACtsp9VlgXGYgjvsSsIuW01DBE56mi2i4e40CJYZkrkFvCLu/HSu4lgZZ/QzoYfnP iwSA== X-Gm-Message-State: AJIora8XVBOdLX/yc5BDKOYv2GsyATwYjp1c3U8qJbLGLs9ZasuLS4oC JJWlyPodqpz7VKBiO81ZAOxA59Pqvekd4wvqRJcFSw== X-Google-Smtp-Source: AGRyM1vO9dokoKBnHxwFww77KA9btH7PjekLij6H512iD8tpl8+XaDfN/gT0wirOwEoKkiShKCKK4bdDBXGs2nNmuAk= X-Received: by 2002:a05:6830:1d5b:b0:616:de98:2556 with SMTP id p27-20020a0568301d5b00b00616de982556mr7173527oth.367.1656691561453; Fri, 01 Jul 2022 09:06:01 -0700 (PDT) MIME-Version: 1.0 References: <20220629150625.238286-1-vkuznets@redhat.com> <20220629150625.238286-22-vkuznets@redhat.com> In-Reply-To: <20220629150625.238286-22-vkuznets@redhat.com> From: Jim Mattson Date: Fri, 1 Jul 2022 09:05:50 -0700 Message-ID: Subject: Re: [PATCH v2 21/28] KVM: VMX: Add missing CPU based VM execution controls to vmcs_config To: Vitaly Kuznetsov Cc: kvm@vger.kernel.org, Paolo Bonzini , Sean Christopherson , Anirudh Rayabharam , Wanpeng Li , Maxim Levitsky , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 29, 2022 at 8:07 AM Vitaly Kuznetsov wrote: > > As a preparation to reusing the result of setup_vmcs_config() in > nested VMX MSR setup, add the CPU based VM execution controls which KVM > doesn't use but supports for nVMX to KVM_OPT_VMX_CPU_BASED_VM_EXEC_CONTROL > and filter them out in vmx_exec_control(). > > No functional change intended. > > Signed-off-by: Vitaly Kuznetsov Reviewed-by: Jim Mattson