From nobody Mon Feb 9 15:46:05 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611313133; cv=none; d=zohomail.com; s=zohoarc; b=W87zPygiwh/0pq27HPVSUXlbDuu5GFvFjSC2n+fZJ+2MEWvk6qkbMuztV/4UU39Dm4aAK0z9+SpzjlECrjZf914KzyaCD6QaFYbBVdJcdw+JBiYYzq2iYYtAFMUZu+snu7s9U4KjvrXBuZ9Y2PkLgkN5w+rkY0kCwsjQBa7Bjg8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611313133; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Ui9PEIVesR+pjrhyiwMOpt8icvFevk6frc+i55QdokQ=; b=n6yDx+9v+lvWk929m2A6N0DU/sdKLm5qwffeo8cfhGZrAuLEhj7wZ6uD9RIUVjHD74wLhH/Ht5xeNyvMt53Q0tKzCLNJeyaRl0ntWYE7uxWupBHRci0Chj0lbekO8vRRMYOPJeMkwSFPycTj3rul389pUkmlyTzYj2OVFwDjPuM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1611313133762586.5811966196571; Fri, 22 Jan 2021 02:58:53 -0800 (PST) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-387-cQeJReUxOiegssYpUuH0CQ-1; Fri, 22 Jan 2021 05:58:50 -0500 Received: by mail-ej1-f69.google.com with SMTP id ox17so2066526ejb.2 for ; Fri, 22 Jan 2021 02:58:50 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id q2sm4964236edn.91.2021.01.22.02.58.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 02:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611313132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ui9PEIVesR+pjrhyiwMOpt8icvFevk6frc+i55QdokQ=; b=e1PcJ9F4R7rK4OSfWUaBKVq5mWjh+Ee5GW2me1dWt2Ghl++jgH6YYAs7ufALZ9epEHkGob A77meKnkoRV/LhGWmzOAHL98A8IJ/+LDdapYJfTnW+ChaQp5TAsN+xyfV+FkIgpVAVFdG7 b4ItSz7P5WJb7hKU61tvxG5CiiNqxM4= X-MC-Unique: cQeJReUxOiegssYpUuH0CQ-1 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=Ui9PEIVesR+pjrhyiwMOpt8icvFevk6frc+i55QdokQ=; b=o5ekDjXoYhBO1cmw9b+RjVaDLywSGAsdFy2z+JU+7/AQY1cvZSojLa7WtNo8zjOqfF ZMEtDApYreiowA9NhYeiOa+y6AwNXAfmbdbpCbXMI0HCTVR0Pkg9YAxWrzaKL/tqkaLr ZFi3XS21IscN7/PkRr3c4EUYxCyT9or9v74hQ8tXJBzUlv0CcjW1VfFQAbFSVsLzJz2x 4ClMHDYy80dx+7Khp0G0Nl8+wwqpFSUbJsa2JByR3Ih+hoK2HJz8fzsGxgqNTrSLIc2i kvwgGpCMbIcnlXgw6hbPnh0eRHdKoJ7nXo+CRJJmidHeDbuDzGahy3wnL9DoHXUh+TbD Il2Q== X-Gm-Message-State: AOAM530kqO74dGRkwoaZDAZY63pcq9LKF/psVTacR8RwcISwP5tAQraA mI9mk1MjXF8SrXFhTbFMVaCBcXTLwqn2R7unCt+vQlsgAS36EE7Ja8zyS7Mq/iaWo4n/4n5CPW/ Bv5wmbpOmDRgmGQ== X-Received: by 2002:a50:d552:: with SMTP id f18mr2718969edj.168.1611313129737; Fri, 22 Jan 2021 02:58:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTuytXpKW69oCvTDPUGbmVPEcVYdz8PXtcvHoQBAaEhiFtcb/WdSaZ+qnqt0t1UT5urDcjpQ== X-Received: by 2002:a50:d552:: with SMTP id f18mr2718961edj.168.1611313129626; Fri, 22 Jan 2021 02:58:49 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Stefan Weil , Thomas Huth , Richard Henderson , "Daniel P . Berrange" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 2/4] meson: Warn when TCI is selected but TCG backend is available Date: Fri, 22 Jan 2021 11:58:34 +0100 Message-Id: <20210122105836.1878506-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122105836.1878506-1-philmd@redhat.com> References: <20210122105836.1878506-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Some new users get confused with 'TCG' and 'TCI', and enable TCI support expecting to enable TCG. Emit a warning when native TCG backend is available on the host architecture, mentioning this is a suboptimal configuration. Reviewed-by: Stefan Weil Reviewed-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index d5b76150e49..d3df5fa3516 100644 --- a/meson.build +++ b/meson.build @@ -234,6 +234,9 @@ error('Unsupported CPU @0@, try --enable-tcg-interpreter'.format(cpu= )) endif endif + if 'CONFIG_TCG_INTERPRETER' in config_host and cpu in supported_cpus + warning('Experimental TCI requested while native TCG is available on @= 0@, suboptimal performance expected'.format(cpu)) + endif accelerators +=3D 'CONFIG_TCG' config_host +=3D { 'CONFIG_TCG': 'y' } endif --=20 2.26.2