From nobody Mon Feb 9 12:10:01 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=1611585962; cv=none; d=zohomail.com; s=zohoarc; b=mTPYqZVmBt70zmrIgABRLWKFYEG5JUcK/YlDDCADT6SxD/AolUqAWmd05UpoEsCve314UYlPKYYD+YcXo8/YFaqhtamIG2W8cML/0Pei7K4vvJp3I0MhYdBT80k9fn9HMvzSvWk5Au42LaCK7Xr1sZNXoh69mfTIIk0z13fZNJY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611585962; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=moujoo3wpaqNyQsY1CrjUL6h3PWNXXcWEFS2F5fvjSs=; b=Cqibqd29Djf9CmgfrlDjm+EjHxxbNKVGVU4dZcpGDTg14SriCxdRK4Z3MnoQjY7PUBMSut4Nz9z8edWxBPLM3EDIJu35FvWH5tDcFP32z/mafWTjqkVw1Kjrxfm2gMD53ln5+lb/YhI5nPQDetkyN6MrlXvl0FSab5U5MJxeh0I= 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 1611585962754687.6673477981692; Mon, 25 Jan 2021 06:46:02 -0800 (PST) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-597-zLoTgGuUMD2X5l9sCbG28A-1; Mon, 25 Jan 2021 09:45:59 -0500 Received: by mail-ed1-f71.google.com with SMTP id m18so892107edp.13 for ; Mon, 25 Jan 2021 06:45:59 -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 l1sm8336612eje.12.2021.01.25.06.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 06:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611585961; 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=moujoo3wpaqNyQsY1CrjUL6h3PWNXXcWEFS2F5fvjSs=; b=IxWLkoyp6FgCx3bkJRVIGQwLwwQYD4GNrR8/daCUB4BYdnUawYfjYURe0S3/yeHiA6KRCn 5PYsmz2ApRiGTipAUoiGtVqmdFG599YoVRNijFDDhb/RWlfRy9X4yVFzjHWzTyY3sKM7Av kRc/BosOKi+auzFJhLuCO+HD4cSxmAU= X-MC-Unique: zLoTgGuUMD2X5l9sCbG28A-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=moujoo3wpaqNyQsY1CrjUL6h3PWNXXcWEFS2F5fvjSs=; b=ppyEpA0rwAC0sveZedPiZ7NDqUDkrLeVKDUOBD4oNnuXQ4bTqcxeHJNa9bMaxffrQx zNz2iQ7U8FQ92toVLoZ7LK3AJPOeOpxZeeOkmjZQJRNRGhOvdNAaLfpRvqaSZdQzyYxm ar0ypf20kMc6+gvMikeUXqX//1RuQwfIlW0tiFGb4gFxwJ10HCT419LCWhbktHCAxtXK FR1QpGGFn52PEnJg4oYgxQJ2AxXqRMJbd984TjYbbwBFgasIttgIMz0WF5uGdk4ovtg5 MGunTPoBMntfNUSjWCxZOM+b5+IRGwel5zVPDvSVH1UUYpUKdR+6OYxRj9zJSEpH5hHk GzeA== X-Gm-Message-State: AOAM533/nKjyZgR6/zaKNSBHRXEhZTs6tM+ISgZXXf3k1RQxFzIaA4FF n07yvzrzGQv/cKY7JR/VDPBeiLFg7ftojdGCHE/VL2lKXnQf/3nnHTPxEW6yEqvOBWats0wDyR7 ebTtSrFAZ7abpqQ== X-Received: by 2002:a17:907:20a7:: with SMTP id pw7mr578429ejb.283.1611585958763; Mon, 25 Jan 2021 06:45:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZjFAUdE2ZQt3llbkO2qTr/PmCco0P0DUiSz77Ob9rRL45HV+QX+FG3XB+CIWcH6hzBdnaKQ== X-Received: by 2002:a17:907:20a7:: with SMTP id pw7mr578417ejb.283.1611585958640; Mon, 25 Jan 2021 06:45:58 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Weil , Thomas Huth , Paolo Bonzini , Richard Henderson , "Daniel P . Berrange" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available Date: Mon, 25 Jan 2021 15:45:30 +0100 Message-Id: <20210125144530.2837481-5-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210125144530.2837481-1-philmd@redhat.com> References: <20210125144530.2837481-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 Suggested-by: Daniel Berrang=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Daniel P. Berrang=C3=A9 --- meson.build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meson.build b/meson.build index 16b2560e7e7..f675c54e636 100644 --- a/meson.build +++ b/meson.build @@ -228,6 +228,13 @@ else error('Unsupported CPU @0@, try --enable-tcg-interpreter'.format(cpu= )) endif + elif get_option('tcg_interpreter') + warning('Use of the TCG interpretor is not recommended on this host') + warning('architecture. There is a native TCG execution backend availab= le') + warning('which provides substantially better performance and reliabili= ty.') + warning('It is strongly recommended to remove the --enable-tcg-interpr= eter') + warning('configuration option on this architecture to use the native') + warning('backend.') endif if get_option('tcg_interpreter') tcg_arch =3D 'tci' --=20 2.26.2