From nobody Tue Dec 16 03:18:30 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1625585833004325.0434182612047; Tue, 6 Jul 2021 08:37:13 -0700 (PDT) Received: from localhost ([::1]:32988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0n8K-0004Sm-1c for importer@patchew.org; Tue, 06 Jul 2021 11:37:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0mox-0002Of-E4 for qemu-devel@nongnu.org; Tue, 06 Jul 2021 11:17:13 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:52008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0mon-0004qv-Nw for qemu-devel@nongnu.org; Tue, 06 Jul 2021 11:17:07 -0400 Received: by mail-wm1-x329.google.com with SMTP id n33so6339185wms.1 for ; Tue, 06 Jul 2021 08:17:01 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u15sm3431687wmq.1.2021.07.06.08.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 08:16:55 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E8B161FFB4; Tue, 6 Jul 2021 15:58:20 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ENyXaMzzV2Ct/ffxbfGuryIh/2WlVNyrhj+GTD00beA=; b=KxJKHU/f7yEJwpqEW449SsFDo6m7RjtifVdsVK9VJao7cQqdlB/tDotiUqtYKrIQeR O2VORTWBkmeBh+RIEK7KupT06DSA4qDv2eu7ma4LizEbOIYFtZcAr2VEjOisfPQMkJWj 040KqwNB1gLs1p2oZ9gdGx+gNa6BM8GAn5ZJ+wjBh+zF86/z6iWAERMQde/BbgWUvrRh nR7VO3cYIs+YqPuKZybk0YZy/x+cpCvbcHDZJ6lX4R971twfrBZvH+lithkl61rtRT2B 9Pe2urmdDU1QWDJq968ob8Zk1L0z1EpY0YEk5TScwiJn84iq/pxtS9lCcd+YnHQT2FhS zriQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ENyXaMzzV2Ct/ffxbfGuryIh/2WlVNyrhj+GTD00beA=; b=ApcehMCe+qF1Q7jhg/Hl4UPBhS+wXzhSRxFalMxx7+Lgp9WH/gBfcVU6e/Bus5w0av ImMqat78B6nDy+GuDxqTE6rVbsIennVSvuzyN+aqnIRg31LeI6BbgqdaLjR5bovXwYTE jyN5owU19DMbEZ2dgyWiUPCMIcnwqnDjkafDiSV7o1usHFhT5OhU1RwMxgRFoCuncBUT ZcMvNCiOmLxFhiAdc7jSR3Jzp1AJUApNepmeMU4T78CSPKEMRWkdqEAACku1MYuUmYaK sgjowgk77Nr/HCmZKrCIWTvPLQ8xMNO/ICDrKtzGNZjmSpMGFJ0f4b7mp5Z/AwgpTWQp L2Ng== X-Gm-Message-State: AOAM531U/MjHlw6TdWxSlQJepb6ilooZCdD9fPe46Twan8xuY13vlAl6 vvG3ODyKvAxYwZguni2to1H6kg== X-Google-Smtp-Source: ABdhPJwl+AjrloMotHme5eJQ0EKlP58BzESkeIX3U2+S1ImHXLIE0TxqL/OPPoCuIUeXKkrZZmgIqw== X-Received: by 2002:a1c:38c7:: with SMTP id f190mr21476013wma.30.1625584619967; Tue, 06 Jul 2021 08:16:59 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 29/39] configure: don't allow plugins to be enabled for a non-TCG build Date: Tue, 6 Jul 2021 15:58:07 +0100 Message-Id: <20210706145817.24109-30-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210706145817.24109-1-alex.bennee@linaro.org> References: <20210706145817.24109-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1625585838468100001 Signed-off-by: Alex Benn=C3=A9e --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 650d9c0735..44a487e090 100755 --- a/configure +++ b/configure @@ -1098,6 +1098,7 @@ for opt do --enable-cap-ng) cap_ng=3D"enabled" ;; --disable-tcg) tcg=3D"disabled" + plugins=3D"no" ;; --enable-tcg) tcg=3D"enabled" ;; @@ -1509,7 +1510,11 @@ for opt do ;; --disable-xkbcommon) xkbcommon=3D"disabled" ;; - --enable-plugins) plugins=3D"yes" + --enable-plugins) if test "$tcg" =3D "enabled"; then + plugins=3D"yes" + else + error_exit "Can't enable plugins on non-TCG builds" + fi ;; --disable-plugins) plugins=3D"no" ;; --=20 2.20.1