From patchwork Sat Mar 18 11:46:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 664733 Delivered-To: patch@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp245618wrv; Sat, 18 Mar 2023 04:48:05 -0700 (PDT) X-Google-Smtp-Source: AK7set8lXM/lA0tSesY6YTG5FoNuD4oJ/6AcQ0jlp2Xv/FTDa1mu7fLlEwO12PZpy+dekSQP3MoI X-Received: by 2002:a05:622a:8:b0:3ac:fba0:cde with SMTP id x8-20020a05622a000800b003acfba00cdemr15949830qtw.22.1679140084924; Sat, 18 Mar 2023 04:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679140084; cv=none; d=google.com; s=arc-20160816; b=AsH2nyLWb6wkgbNmAcXbKIvVV3FHH610G+afFoKN6WuhKDCi4EO8nlsN5sSfJzehsG P+h4E/KVPWBkFfDpM7wduzdZpB0bzy8a3e3V1drabTsA7Lcc2XorXKKeYJt+1FLyl286 jdEwC0LA58zfdSC1ZMYU5h5dkG+wjkI7wMj31vjGJQdAOYC8KWn6MiJUL4FutzPDSpCd joUCXqEFkVK88J/feVi67yAwx/ES9XbCYtBIP37fYvNjZGXEg71DsMciuCe1zpalNSaE wiA8dfKxWojdKpQL/QlvRMnr2ndXhCYTbuVzYBEhBsiFxNTVIEfmFieU7zSe6ufSIuaC dzEg== 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=uwD10IBSBuDnwjBnoapwHdpuo5Tp+viqzXnrVV7efY4=; b=JAGC5Ab2lzoF5yfeVfxwFG5YggY6KiSg/CQ3lvvXvV3to1ACWOgRJLzn93V4JAyO1P w30BFQFsVYaARBuE8CKYPWkWDCJ6oVNOjR9k9NEHtQv1O23goDJfrxJP3BLlRVh6wJV3 JcfRsnFNZLHGKaaoa+rkZ79Dtx9omjgM9VanaO9gkNPZ0i+VF47I2O8eKamudWYtdABU 77rY6sd0JqQ+wNzm3MjV5KZ9ZR36mjZC3jeL+nynmbGFTPULsk/ihPEU4Nx0vQrMI+SE PCumao1EEgA3Tj7nPpg3NRfLdgBrH/LvmsjbQfqQ6Mj9Vv+5oBMrwtwQxkoCoAlTIUC0 fXFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kbqMXqnP; 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 c7-20020ac85a87000000b003b6309f82f2si3063339qtc.627.2023.03.18.04.48.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 Mar 2023 04:48:04 -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=kbqMXqnP; 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 1pdV1Y-0004pN-4Y; Sat, 18 Mar 2023 07:47:00 -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 1pdV1R-0004my-8k for qemu-devel@nongnu.org; Sat, 18 Mar 2023 07:46:53 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdV1P-0007Do-D9 for qemu-devel@nongnu.org; Sat, 18 Mar 2023 07:46:53 -0400 Received: by mail-wm1-x335.google.com with SMTP id ay8so4762023wmb.1 for ; Sat, 18 Mar 2023 04:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679140010; 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=uwD10IBSBuDnwjBnoapwHdpuo5Tp+viqzXnrVV7efY4=; b=kbqMXqnPJNW7KprzTLzfW4N+TSy+aj39DE7wpBUCdEt6sn08oPKhC+CtS33WKa029+ ULvouFZnk+jO1M1iUxpIbscdoQog72TEt6WC8hgMcrvLQ2gwqECfUvtlexPSs8MjmDXW gnzIdmEgaoU0Zvf5QntsAiuFNlRDR+/w2TOC5ymQfsTszaeom2nAQ2n8Pj4hNEskx3i4 01BmHfiMqObzXIz3Brd13SeJrzfqzCmNy4nVgPTaJIb3S9bxMCvnK4TiCDUNK1kR7rGy o6ySepJReFofQcHdrceAVAJA7bX8IMTJfsVzogJhkwsW4Ln+B2D01ljXmDtzqcDL0zuR 0lyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679140010; 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=uwD10IBSBuDnwjBnoapwHdpuo5Tp+viqzXnrVV7efY4=; b=Y6CL5iuA5g/vJZC1ovv4soWcl4Hc78xpuCJQuiioZnvazMNkyExQTpjHDxCdq00Pi+ AxwaGP2CKwd057BrcPo3DykXdMgZ0j6UJCLYm0rxzhdeolA7LVVkY1wupDCL0ndjfqEq nE0S0wTsJayGBiE68yymdIcWjDZm5ebnrjUkKhQhWNfKOsvjBJqMk5QmS4s/H6GPa9tb xTATCLcAecByIiVR5cYL9eka7IWUlbCRd7GPg8Da5qbg5IpsbU1wkB0t1DxiDAhAzlCe W/sGPaMT20dzRoiTMW6dBmTp6Tloa7TJpDqc9vSHvYzfQjBWLl4Zd5+/Wli8Z6nlf5+j JR3g== X-Gm-Message-State: AO0yUKVdIlD2kHbfUKhULuOrqK7ADIeGXS+bvwjJrg1DABdCaJQ66vl0 3udv9cwLaW6kzY03m8+/IsTxIA== X-Received: by 2002:a05:600c:202:b0:3ed:ba4d:f081 with SMTP id 2-20020a05600c020200b003edba4df081mr807096wmi.23.1679140009973; Sat, 18 Mar 2023 04:46:49 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id z11-20020a05600c220b00b003ed3034698esm4908634wml.9.2023.03.18.04.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Mar 2023 04:46:49 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9B96A1FFC2; Sat, 18 Mar 2023 11:46:45 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= Subject: [PULL 11/31] include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT Date: Sat, 18 Mar 2023 11:46:24 +0000 Message-Id: <20230318114644.1340899-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230318114644.1340899-1-alex.bennee@linaro.org> References: <20230318114644.1340899-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.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 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 From: Richard Henderson This macro is no longer used. Signed-off-by: Richard Henderson Message-Id: <20230310195252.210956-4-richard.henderson@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20230315174331.2959-14-alex.bennee@linaro.org> diff --git a/include/qemu/plugin.h b/include/qemu/plugin.h index fb338ba576..e0ebedef84 100644 --- a/include/qemu/plugin.h +++ b/include/qemu/plugin.h @@ -59,8 +59,6 @@ get_plugin_meminfo_rw(qemu_plugin_meminfo_t i) #ifdef CONFIG_PLUGIN extern QemuOptsList qemu_plugin_opts; -#define QEMU_PLUGIN_ASSERT(cond) g_assert(cond) - static inline void qemu_plugin_add_opts(void) { qemu_add_opts(&qemu_plugin_opts); @@ -252,8 +250,6 @@ void qemu_plugin_user_postfork(bool is_child); #else /* !CONFIG_PLUGIN */ -#define QEMU_PLUGIN_ASSERT(cond) - static inline void qemu_plugin_add_opts(void) { }