From patchwork Sat Mar 16 01:57:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 780758 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp489920wrs; Fri, 15 Mar 2024 19:00:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVjyODmowof0wiupqqRa/dS7hAddh6MxsAix8986I/OxJNWED1Ypcj8t9ULMCClXoQtFjxOgaGvngVhfexG4yKl X-Google-Smtp-Source: AGHT+IFmU27AFaw9SafQ3I3Q1VRTV0E8K/i74DeGQ9EHttm/5XB3EUme9JeAhYsEVmgUUn0PU9YF X-Received: by 2002:a05:6214:180d:b0:690:b27f:1b24 with SMTP id o13-20020a056214180d00b00690b27f1b24mr7170992qvw.12.1710554443268; Fri, 15 Mar 2024 19:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710554443; cv=none; d=google.com; s=arc-20160816; b=TpAURXXHXrjuHHHei5a+C0taYiFI/tn/INs3XVFQt7lSyZ9mr3vAQGah1bK2woSCOZ F1PYAvIjCL0zWHkWvwhfgBclJOZAPMlcI4oI1W2kz3f+ZbeabOgGPDLJKca7AeR3bfRt Ea4Zh0ZPbJQNOJ4p12LPTcdjdjKB9MfBgvGk5Vx9NC82WMcPNnhkUm1GKQydLfpapS5J jrFL1tM82VqHX74jzTP2xb1MjAmLqfhyWRlzXOiqezg1td49z7IHIQZaDMYYB60SxVW/ kzC7I3YgAg/PHU09P9qqEaHUxabst0V4e6ebYHTLH+0aQsKKxchfvj2bm7U5DfhNGo/j VyQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4I6ltn5r5eQP6OaKsPETbZYIZfsGGG0xeYi8oAp9EDY=; fh=DfUxOGz7MnM49MBgqH5VPROGi+97fYtPWhcEZCG1Y5Q=; b=TYiQp7dDWzTiQpluTzhx4e6MEvmteSN/ez+hlYmk7w7I0qcL/ADHoGyhq6JQH7ph8L kl+vX/XKMCfhPuvQunb6j/FgdYFzvI7U65yGr/4UWtKKjO0NsefFEu1mXlS157zpNKsH xnFJv71F1WnIW0erhqDVnmEPdgJORtg/VGXTXNPNOeJxg2KJ/RYScf/eRTliXRU99btg b81Cs6L7YBKNNYkO+2ekTnYv7YSNxoOZ5buK+TOYYmhOg/uc6dvMZmMmHhoZ3E9lpWQ3 nHk5PpKPeKHaZG5DN+0eNmCLzkiQLzO/Qn+tqVvEzKQdjvWUgBMKmlvGmJGM59fjawNa n1zQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cJxFzdIa; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id iv7-20020ad45ce7000000b0068fab53dcc3si4449106qvb.64.2024.03.15.19.00.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Mar 2024 19:00:43 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cJxFzdIa; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlJIs-0002le-5E; Fri, 15 Mar 2024 21:57:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlJIq-0002l7-Lx for qemu-devel@nongnu.org; Fri, 15 Mar 2024 21:57:40 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlJIn-0000i4-Ar for qemu-devel@nongnu.org; Fri, 15 Mar 2024 21:57:39 -0400 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1dddbeac9f9so19775515ad.3 for ; Fri, 15 Mar 2024 18:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710554253; x=1711159053; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4I6ltn5r5eQP6OaKsPETbZYIZfsGGG0xeYi8oAp9EDY=; b=cJxFzdIa2pPVmh8TQNEOzOfqED3H+ib7rEIu+9ZI6MqwNWlHMEMSTHUisES5UgEf31 N0dXcuiU+REIyuGYd1gGnHHGi8Eh5U44HyxnpGeOss+AChhX5dBkTJu8dQelcNy1oQIr WPVC8/Vlls/An2gGldkhpk+stxrAdS5q1iU+T8ZVAnybcqG2lVcLA19FiF4PB15A0tE+ +3OHb8YfBq68Kw/Ix0zxU+n6Ln0ZGTd0FPG/Y1f/FSjt4CwNB0PuYtBwioCg91x4DIRc 3cPRhovlBpV6i9cBQAgUBXXHqgMaFs+wcxEMY8Q7WwwI9yXrQyVMq+dsGkXs6kBgoUqV yRHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710554253; x=1711159053; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4I6ltn5r5eQP6OaKsPETbZYIZfsGGG0xeYi8oAp9EDY=; b=tjyYgCDIpgYOuhjrwHfVEaByTHilPBqanaR1D1uwr9l6YR8k3c4coo8MBSQA1Cg8mG vLSvZsUMStV8FhkgOCYKPsbnA+PRz4DX5JQeXAcVZnMsQDce7fr3IsvIA3C0UZ1X9Itm nw5AJsuwPZ3LKUy0id6cOdHO72vkWvdCh1OfnM9ccxea/zglgTrZnVvpHQtguhnWKfYu SJyghY4F0AzOCVDIbQvvBQi/zj16tiR1t/H8fh3aS1tKhtdDlsSMruYClDu0KSxigWdU UyTo8KcUE4e+gDPyIdBrMn6t/TsWHjO7hwWD+bapw4cZdtFptjKsa3qkzem5HywzTIdl FKuA== X-Gm-Message-State: AOJu0YxGjT3fW/vazXxXo9WJmmrZrHPALi4VDah/IeEqCy4Idl4aYulF GQ6Btktf00J6zt3VMi9dRdOXA2VbWMZIy6S2Tqv7uFUlJhcrue+do6Cs+gxTfcg0lBC5mopxAwv M X-Received: by 2002:a17:903:11c3:b0:1dd:7d6a:d6c8 with SMTP id q3-20020a17090311c300b001dd7d6ad6c8mr7726619plh.14.1710554253537; Fri, 15 Mar 2024 18:57:33 -0700 (PDT) Received: from stoup.. (173-197-098-125.biz.spectrum.com. [173.197.98.125]) by smtp.gmail.com with ESMTPSA id b3-20020a170903228300b001dd42bbb08asm4592985plh.253.2024.03.15.18.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 18:57:32 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: pierrick.bouvier@linaro.org, alex.bennee@linaro.org Subject: [PATCH 04/22] plugins: Zero new qemu_plugin_dyn_cb entries Date: Fri, 15 Mar 2024 15:57:02 -1000 Message-Id: <20240316015720.3661236-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240316015720.3661236-1-richard.henderson@linaro.org> References: <20240316015720.3661236-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée --- plugins/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/core.c b/plugins/core.c index 11ca20e626..4487cb7c48 100644 --- a/plugins/core.c +++ b/plugins/core.c @@ -307,7 +307,7 @@ static struct qemu_plugin_dyn_cb *plugin_get_dyn_cb(GArray **arr) GArray *cbs = *arr; if (!cbs) { - cbs = g_array_sized_new(false, false, + cbs = g_array_sized_new(false, true, sizeof(struct qemu_plugin_dyn_cb), 1); *arr = cbs; }