From nobody Tue Feb 10 00:43:34 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1611322221; cv=none; d=zohomail.com; s=zohoarc; b=HUYtD6/ogqoq4rHi2RlhoczMvuYIWjLqFElDfS7MOS7OXkP7ZMoJ8qerPR+0En8BOEScAGUFwrrkQZW2yeBq4J1lhbk3VpjX0GUDE0iVqSlpcwYbJPShScNYaz8A2ShQGCYNtiPHAy5PFKewnPwVRzJaeDExS+fqMRUN862CuoM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611322221; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Ui9PEIVesR+pjrhyiwMOpt8icvFevk6frc+i55QdokQ=; b=nNTUsNdvz38HqPxrsz+lfrthmDwgdVOSrpN2AnKgb7dXvSVHDc3PpEjnlFH6QrUb2NC2lQZ7FspNfnsIUGbbu9HHgRSjSUJJ+vvk+8q+rJa3TvMPzuWRZesqJ0ZlFctMMrkeS7zghBOm6pfrqcRJFmqkRoLem5owLu0iq4mzuAU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1611322221880489.5453041770793; Fri, 22 Jan 2021 05:30:21 -0800 (PST) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-320-qfSmiM-GO7G0bldBgXNxiA-1; Fri, 22 Jan 2021 08:30:19 -0500 Received: by mail-ej1-f71.google.com with SMTP id b18so2177347ejz.6 for ; Fri, 22 Jan 2021 05:30:18 -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 g10sm4379867ejp.37.2021.01.22.05.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 05:30:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611322220; 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=Ubsb1lOALZi+iLT9yu7JSOw3kF5kl2hdLZRKlWNCXEUHTcyKq3YIJp7lge89OUZKFhsz+d Hcss3yS7uJmYc5nYdMs0fzJMtMiwtdyt8M9GBzn/o+kaqhW6NouNNGbgIvB9HfEf8QjpiK 3v9ymk6+9B/cBIEE9YbNtq6Tp0KBifM= X-MC-Unique: qfSmiM-GO7G0bldBgXNxiA-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=C8U0QTHmIe4AyONjrn4f9Yhc6hp7t18+ekhVhjk4n+VyAWq7Dh6Jv8j2dVGWerDvbr aXfHBSTGueMMUNpIAHF4V80Q6WAKbtpyhAIYgYc1bcveNFXkOdu+jB5XJAoniFm+ftsQ k1kH3SqVmlxIDzt1JA3zKC6/3JPhOQsTuUqCVrKxmgTZAfOSJw9YLuAo5RlqAPjroo7B 8R5GkilVUnxEcus6do3PNhvvhUnCxUH99BdLnic0BgxluWLhjb9R30G9ig3jWwqFy+Df sdLWRCqBtvVNCQVIjsw2UN0G2YpvVHyu4f3DCFeT+K3jzUdcyzZvbfavmMZPlIt0FTjZ +fzg== X-Gm-Message-State: AOAM532X5bkuTCUvU0Rc3N5oifTX3w4tWiBoHl5ZNT4XIPGQfrNTOcP0 TsRYYkxlWs/RPB84OBW5mRLTmo4Zryu5kLz8V8H9KI615tw2mj3apNXT24SSNT1Xa+O2CSI5Hld mqPOJLIwAYbI2Jw== X-Received: by 2002:a05:6402:1819:: with SMTP id g25mr3079011edy.46.1611322217733; Fri, 22 Jan 2021 05:30:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3CX/xAcgYy/rJFitVeqKwpJ97IyOMYpVA0gCrcNv3Xe2SMlDxyel2dUpKbY+7IUrq7Z7RHg== X-Received: by 2002:a05:6402:1819:: with SMTP id g25mr3078999edy.46.1611322217531; Fri, 22 Jan 2021 05:30:17 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Weil , Paolo Bonzini , Richard Henderson , Thomas Huth , "Daniel P . Berrange" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 2/4] meson: Warn when TCI is selected but TCG backend is available Date: Fri, 22 Jan 2021 14:30:02 +0100 Message-Id: <20210122133004.1913923-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122133004.1913923-1-philmd@redhat.com> References: <20210122133004.1913923-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