Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05512CD98C7 for ; Thu, 11 Jun 2026 19:24:15 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wXl0I-0001vU-U9; Thu, 11 Jun 2026 15:23:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wXl0H-0001uk-E8 for qemu-arm@nongnu.org; Thu, 11 Jun 2026 15:23:49 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wXl0F-0003Ap-Lg for qemu-arm@nongnu.org; Thu, 11 Jun 2026 15:23:49 -0400 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65BJ3E6s4109737 for ; Thu, 11 Jun 2026 19:23:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 60jDMnGtWGLcdzOG3GSmfEmet+r0TOwibA8TTaUTlp4=; b=i4tg7gKpS9UmmInd b4POASWl1MUpX1ajv9FrdDPHxVTHq1logd0lJrJI0yOe8OZClgB4GbcYLUWYQmXx 4nY+A5OU3kDm0yYIIHf+9eQ6v7TCXzgy4TPLALqdDjgMQcBpCKIwOKj1YAexxsjB 4mZQAAsGd3kLddjTbzLWErXu420oed5If+hEuAaY6yl2sEVI3YRvrZNMr9JQD19u 1wZB5936T6temhaReHdq6O6sqL7U288RuJtbQRbOnZjZqyqp+1VkuoYZd7PtLeYm G9lU2pT/Qe0XxTKqLula18ltzYAwAjwBDjNqSzskkyG/wUwjGrAI9ZNMskrA13ot DXxoaQ== Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4er014h0jw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 11 Jun 2026 19:23:43 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-c860544c077so174074a12.3 for ; Thu, 11 Jun 2026 12:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781205823; x=1781810623; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=60jDMnGtWGLcdzOG3GSmfEmet+r0TOwibA8TTaUTlp4=; b=OQXs529T83Xepyyt0R+Lt4xbLLiH69SniF2Vp9z51DqctVEd0jAv1WiUUYLk4BYCIj AHKcuuRS+esdMQwdE7F8YpPgNvWHf2Ghg8zqfVvCPeu0ncMGECGQWNbb/RHkYljFHg1N 8IOAZzWseTi8VgSCHp7GESQ1a2xTKZKPllQZ1bOjtXX93CHHWEVFP0uXxCh5uT33vxh6 sYb1lZfF9aYbB/gEHWIINMZDmMnZNh5iuTqCoY2PJL9H7+Szr4XpWplcS5Y1Z9eJ5a4l jQqy5fuHInbdGpMP3o8q97fG+u63BXPQd/9gknvEWucf0A7lKZBoRYM6eCQJ/ehg90gx 8X+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781205823; x=1781810623; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=60jDMnGtWGLcdzOG3GSmfEmet+r0TOwibA8TTaUTlp4=; b=G/eOOMs9j2HT4aMOgsbjBnf95gjYbturSY9NWKwDhSthrm4NOwsNVRhQ/w0FRD4X3v /VY18twKuZFEOEYtY5QWAzz9Vtv7y8Ts8+IPgDoXL1WzB6Z3s6x9+iJB+JX72mXi5j7m S7+qeUrQqCIxaz5YgLshpg3AeoXP9etOd1v1RqhDJietQHMmm9/vwaubq/PdBBELK9o8 igZqJVEXBQ4UrGlN8qA7w0H/Rag/YlNx7m7cnVBjn3iRmT2adyRmGGV5kscNeEycNSE5 6PJQPzhBtE3jOnq/3NhRf5tHXdkddQ42AvMxaHhezZQHzC16IvjH/o4Up1PJK/Qhtq53 tb1w== X-Forwarded-Encrypted: i=1; AFNElJ880P/S/kFwcd8c/wfaztqDEUXoTkwQi1lj3lb9FOIC/4aVV8DTWHrXwKxEPJOhWRhN6ieWkVHwOQ==@nongnu.org X-Gm-Message-State: AOJu0YyB/EBaATDILXQEe3p4UYupC9ib8X1Bd7pp0Q6oArMSPivEizj9 3oWfPqLUewDT5r5jglticxHbJi5QzSCMvNWowLaS7dXMlhxE+oT2ijdP4NBRXngTln8Dj3TGtgI KD3GGGJbAY81vw+XSO9kLXL2EY+L3tFhz7gkvXhIlZDqHZfdcRqNtvBk= X-Gm-Gg: Acq92OGsDoy+XvBD3/aoHlDZqhfKV5qoNBKzxOYB0Nklbr56FsXa1wDTnYU9gX/BYzc e2OESNFpzwPbGG1qX/FoG1v06dOdc+VmpIFDOUzAD1E79tpcLrMOzn7DXr4+9bDNCiMqmmb8dBE L2o15gReH3bmzHG3ydenCGIKAqMUFSWewz2tA7DFQUULQk1Q37fqoL01aU7Ml6j1SWSxKAe7Mrq yRaqWPsL7L5mh3ISa+DLOeKd2WPMGtJud0ulM3P6SdxrqC6nasRgKzXyN2EIXjXBgHHDqki5MN7 PgSk7TRGDhELoJX5lN+hg3ki6PPKwdQrAPGQ2b/PZWiKKcOx9GCbw27uw2dttf7tCi0WDepekcU J5aWBJ8SkNZwZcwf6MaBdheIws/DhMe3O57rV1Boh/y1iH6qmjr6agFJneUWZ058+SWS+kCqaYJ Q24XzASrSQrXzhjg== X-Received: by 2002:a05:6a21:1519:b0:3aa:f9cb:d43a with SMTP id adf61e73a8af0-3b5e317308dmr4730017637.5.1781205823122; Thu, 11 Jun 2026 12:23:43 -0700 (PDT) X-Received: by 2002:a05:6a21:1519:b0:3aa:f9cb:d43a with SMTP id adf61e73a8af0-3b5e317308dmr4729982637.5.1781205822679; Thu, 11 Jun 2026 12:23:42 -0700 (PDT) Received: from [192.168.1.170] (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c866325d1c8sm51295a12.9.2026.06.11.12.23.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jun 2026 12:23:42 -0700 (PDT) Message-ID: <49ef4614-1d8d-44c7-bdbf-485d971be02c@oss.qualcomm.com> Date: Thu, 11 Jun 2026 12:23:40 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/27] tests/tcg: run tests with meson To: Paolo Bonzini Cc: qemu-devel@nongnu.org, Thomas Huth , Manos Pitsidianakis , =?UTF-8?Q?Daniel_P_=2E_Berrang=C3=A9?= , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , qemu-arm@nongnu.org, Richard Henderson , =?UTF-8?Q?Alex_Benn=C3=A9e?= , Alexandre Iooss , Peter Maydell , Gustavo Romero References: <20260609214745.772536-1-pierrick.bouvier@oss.qualcomm.com> <0a0a1116-a5f3-45f2-b079-f66e6b17f672@redhat.com> From: Pierrick Bouvier Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8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cgvYdZfxfLUe1tPx4YtrC/R9AQdh pZS9yPA1mGhKRwV6dEQ== X-Proofpoint-ORIG-GUID: ndKYaLsA3GN3Tu8eYsaE1qzr_OVX5lYD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-11_04,2026-06-11_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 adultscore=0 bulkscore=0 clxscore=1015 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606110195 Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org On 6/11/2026 7:49 AM, Paolo Bonzini wrote: > On Wed, Jun 10, 2026 at 7:01 PM Pierrick Bouvier > wrote: >> Your idea is to have one project per target, and use meson cross compile >> support for this? > > Yes, that was the idea. > >> `make check-tcg-aarch64-softmu` is supported out of the box with this >> series, without having to write a single line of Makefile. You can still >> do what you like: see cover letter usage, to run a suite or a single test. >> I don't see rewriting the cc_feat part in meson directly as a problem to >> be honest. Not all architectures needs to check specific feat (only >> aarch64, arm, i386, ppc64 and s390x). >> >> Also, calling: >> supported = run_command[cc, check_cflags, flags].returncode() == 0 >> vs >> cc.get_supported_arguments(flags) >> is not really much more complex IMHO, and not a huge reinvention. >> >> Also, the custom target is hidden inside tcg/tests/meson.build and not >> exposed to arch files. Even if we had multiple projects, I would stick >> to not exposing test() and executable() in arch files. > > Fair enough. > >> I would expect this file to disappear completely, and to rely on make >> check-tcg-arch-* targets at top level instead. Would that work for you? > > Yeah, you're right that at this point TCG tests are the last > stragglers in that file. That tilts the balance for me, it does make > sense to do this with custom_target() until Meson grows support for > something like multi-machine projects. Just please add an alias_target > 'build-tcg-tests-...' for compatibility with tests/Makefile.include. > Sure, that's a good idea. I was wondering as well if we should build those tests by default (as part of 'all' target). We should do this only if cross compiler is not using any container, to avoid triggering a confusing container build. Any opinion? > Paolo >