Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp774449rwe; Fri, 26 Aug 2022 14:21:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR77CkLSI+aKAbUWBu2foWkRSexkvGGfRBFGf/en3nGSTuaym1S29js2SR+rzU8oDIyevovR X-Received: by 2002:a05:6402:1f87:b0:43b:b88d:1d93 with SMTP id c7-20020a0564021f8700b0043bb88d1d93mr8074802edc.314.1661548918879; Fri, 26 Aug 2022 14:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661548918; cv=none; d=google.com; s=arc-20160816; b=Kt7myNU/qQ3YtgOtOgISN7WfHVlfuhsGT/Xw3U1HsRrB9KqS7DNUvoAS4jN4plYwBv K7aNUW3JMEaqjG3fqRnj5xyVyZjYg1uxEIRtXCXBc94L4yaUz9YHH131LSn9je6+FMaE YHcJXJ7owGRHK+e4TiQPjn/3gB/tMFqdgWW6ZAgXVdV7whWUxPWtKJ3KKyZvsRh50AHz TWKY8CHGzeIl7ivYBLyhj0CEsFNE7f9rra0CXgmbRAYzoHRDt+15XcADgNWgnt4QtCZw 2x813R47WztOyezkBWPObmJvjLlyQLzaT26/7XycM5vM0DfBTdUY4ssAW1uwmkFFSfJS 4eYQ== 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=tbpadwyNsGF5OvB8OARNmocarvqfqchX8oAmiz2J6Do=; b=FNfEP3dAdHFRC+ca3K1w2HVYq6oM/LPkaGLXBuqa4oKVviWQILSrx5Jqo0kc9fwozX N7mOHjoxQve76zKidEh4p3Dc6bFfqZi8DjdOMvvHHpIBNm7KpNV0jH8UQ++Ribd/RWGT XQPdWwKmAlHvl7cjzLhGLrtrrTIHseylk9jny7oFrwubi5IBXVYyJdJKNuzO0ilq3STW q4q337j0Hf/uQktmu/68vovVEPsKqZQ0OfdjZk0w3h2Cy7arwLoI8ZuatmIchu232/L3 ezpsvrZN2W+GoIx+w+I/9d1pm2RG8Tro8U4oTAOwA/f3PjGTyDbCEe4QlmrSOc4Fowm7 pbog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=im090+Of; 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 y13-20020a056402358d00b0043d281cfe2bsi2654809edc.481.2022.08.26.14.21.31; Fri, 26 Aug 2022 14:21:58 -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=@google.com header.s=20210112 header.b=im090+Of; 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 S1344772AbiHZVNg (ORCPT + 99 others); Fri, 26 Aug 2022 17:13:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344651AbiHZVNa (ORCPT ); Fri, 26 Aug 2022 17:13:30 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57F27E68CD for ; Fri, 26 Aug 2022 14:13:27 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id q7so3525618lfu.5 for ; Fri, 26 Aug 2022 14:13:27 -0700 (PDT) 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; bh=tbpadwyNsGF5OvB8OARNmocarvqfqchX8oAmiz2J6Do=; b=im090+OfFLEr50nKUecm4rK2iVu3y9FkYyrT2CcXNSzAxsnMc5I5ad+hcrrRTg5R8q xh/yj0a0v9xxVLj7XhzT13KW1ZE9m933i7G+igrYt8kT/UIPhQH+3vQB/qvT/X4fkAYP L+1O2tRtRIk9UYDA47u6KAD04tP31oAwMXl313v3PYetnrspzL3jUKscNZ1H52sSFxQL oEoayALbOaqMe27KsddtTeb7YryUHvGHm5mGP9r/9whVU1Mf6J6Mm6ZQgBDzgd0g69aB 25j7x1Xjx2sZRdh63+Y1VYpB9hvc0tVB89aDR8oCvsuV1hnSptpYNEBkNdp2RPhccu5z SXNQ== 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; bh=tbpadwyNsGF5OvB8OARNmocarvqfqchX8oAmiz2J6Do=; b=CyOj63siogJj+k6m12/vP0X0cndGaVLiV49smjtBTqjjnItcHaybTTg7+4nEDy/CVq TZLxrSHS9XGVrJdHNKtTtz2egpzEngS1mo2OGdwb0vJwe2aNFBoUyIt2WYt0OYZUSXDh 4+aoAIRG721RsjI/theyt4J30iYxM5ipDyUaP1+0cbjEZ7VQb9yt8FQ65R/GaWDd9ric 9GNkxlUQxz2hi4B/2KCNNcdAz290VFrAx6JkonaOm/nc75dHtL1F7RjpheZXaWSGE45X BpzvvupQ1rUhskC2qMDqC1NTnaFKX9aPhgVf9MIoeAPhXjt4p5krsm3nv9saoHoN9cS0 1fpw== X-Gm-Message-State: ACgBeo1ZfT61eQCWDewzWxl5p1wxssIV6g/PseBBC63JLJdYXW9xT8K9 8hXyAQsZmsNfRp6clF98v4xto6X8uMXFnYbdopBm0lMgeAs= X-Received: by 2002:a05:6512:3d06:b0:492:c211:b781 with SMTP id d6-20020a0565123d0600b00492c211b781mr3351561lfv.511.1661548405311; Fri, 26 Aug 2022 14:13:25 -0700 (PDT) MIME-Version: 1.0 References: <20220826184500.1940077-1-vipinsh@google.com> <20220826184500.1940077-2-vipinsh@google.com> In-Reply-To: <20220826184500.1940077-2-vipinsh@google.com> From: Vipin Sharma Date: Fri, 26 Aug 2022 14:12:49 -0700 Message-ID: Subject: Re: [PATCH v3 1/4] KVM: selftests: Explicitly set variables based on options in dirty_log_perf_test To: seanjc@google.com, dmatlack@google.com, pbonzini@redhat.com Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org 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, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Fri, Aug 26, 2022 at 11:45 AM Vipin Sharma wrote: > > Variable set via -g are also indirectly set by -e option by omitting > break statement. Set them explicitly so that movement of switch-case > statements does not unintentionally break features. > > No functional change intended. > > Signed-off-by: Vipin Sharma > --- > tools/testing/selftests/kvm/dirty_log_perf_test.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tools/testing/selftests/kvm/dirty_log_perf_test.c b/tools/testing/selftests/kvm/dirty_log_perf_test.c > index f99e39a672d3..a03db7f9f4c0 100644 > --- a/tools/testing/selftests/kvm/dirty_log_perf_test.c > +++ b/tools/testing/selftests/kvm/dirty_log_perf_test.c > @@ -411,6 +411,8 @@ int main(int argc, char *argv[]) > case 'e': > /* 'e' is for evil. */ > run_vcpus_while_disabling_dirty_logging = true; > + dirty_log_manual_caps = 0; > + break; @Sean, I hope you intentionally didn't write a break between -e and -g when you created the patch and it is not just a missed thing :) > case 'g': > dirty_log_manual_caps = 0; > break; > -- > 2.37.2.672.g94769d06f0-goog >