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 EAFE0C982D9 for ; Thu, 17 Sep 2026 16:56:51 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x7FPJ-0007hW-OV; Thu, 17 Sep 2026 12:56:22 -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 1x7FP8-0007dg-AC for qemu-devel@nongnu.org; Thu, 17 Sep 2026 12:56:13 -0400 Received: from mail-wm2-x11.google.com ([2a00:1450:4864:31::11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1x7FP6-0000Yl-82 for qemu-devel@nongnu.org; Thu, 17 Sep 2026 12:56:10 -0400 Received: by mail-wm2-x11.google.com with SMTP id 5b1f17b1804b1-49e6b885ef8so6506025e9.1 for ; Thu, 17 Sep 2026 09:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1789664167; x=1790268967; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Do9KFjcXAIF5eGyCbBUaupWbA9FLoFPLY+nZFKwC9x4=; b=zx4Qly+qoSfsGafyl3m/uyV+9MFPnudd3JJAZBT0mHCTfpPs69AiMiT9azkNZx9mZ9 SN3CEZj4tME93knH4wZ4cHH1xJpBwBswTqiQ8hiWW5i389+5eZnj59ITiKWPmhfwTfeJ ZMA/kr7zwvm6mSmK58rkt6LNUd5Wh2BgX8xZA5cen9GAYRVMB3YY4UDNQfiFYmdpMMBG 18eVfK0N3sv2ZO17xIqW39z9//sUGGtDF7RKDNIOA+oUXOfEbtaRgIE3TDmsyo64dNq8 ePn1JkoVXkEsJy/4MVmJSwChDfxEX/Szyuz+WOc9Yc5O+eNnoeOoXrVmFuUczx/bjTcu dGlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789664167; x=1790268967; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Do9KFjcXAIF5eGyCbBUaupWbA9FLoFPLY+nZFKwC9x4=; b=RAcFSCCd01pqF5v+XMLCQIgSFg37zwPB+IgVMX3rvltsLx7xGv1Yx+JEV9hdD+IpLH ILviW+1UC6FHd0bIk2VRZXVlQAMiuxIHN+CS3Ob/ycuwIoAEHIy+Dyf6uyeLqwlUeksv UR3VnCOjipVAtQhfEgVqYDKtyiPmT/pIuJBKpYsVjh8hMFf0G9xmilGGtO6oH9U6Zcdo ewpakLpSpsmjcNcWHMUZxjKJwj3kQhbu7rtTxRSFsT8qhCvERtXG2HAkmCd55DzlTL9S 535U47z/EVKPpyResXyuL3djtQekeRmDQD5wkXntQscDvDNwlKztE/s8tz+0vA3yAJ38 nxag== X-Gm-Message-State: AFuF++mvTp7bC4ZEa1+7Zg7h9kEGWxS/W801CufhPaVK6L8A5+9jy+Hb MmdK/jCOHIBbpFupqfkZ9OipTZ+TOrADzeO5B3AYCcsfK+Z22ifcwjILzZxfkNDIvrY= X-Gm-Gg: AYBFou1uvOm6+/2Q5RkqR5Aw7+2lvWDf6RZWeTMmmKRtYtSQLhEiTynqObpPUf69Nz3 c7Pi3/q/XMt5+uV0rw+zJFJpaV8Ih4LPaYRMfrnfVkmXDSelwZ9P9QyYIkpaK9fPRCtz96tjyqx RMQtl/waeBCmE7h9TQRsF6ARuPICf6ISmC4bn8ZmppVs9ARmWaKr5dHj6sFPO6uYezCx2mTD3fT arroOZBfjs+1qqJPb3OEBWkhK4iFuUllrDRw1vGq/9333jdJJzm2szej6T6FJZx9u2111/9/ssw NP4vMxjjuJ0xYWiiJV9/VrEsGavfB2/VwE3LlzLsywC/DhQ4MfCNGlhUW6a4/wNk2GS/Fza2psK X1AEIDkOaxbaKETzkY1bAbZunVKibXXdgO47zrCx+2benup9oo3HMofzYVKNKFbs+PAu4ic8EDs BCy7OVQfT1h6w/mB0R4HyD9re/OQA6o2s5o2cKZN023ugfQjWyuGuVOJx2OstWTFww/XXtY6k= X-Received: by 2002:a05:600c:314a:b0:49e:799e:c1c3 with SMTP id 5b1f17b1804b1-49eb73263c6mr92839545e9.17.1789664166654; Thu, 17 Sep 2026 09:56:06 -0700 (PDT) Received: from draig.lan ([185.124.0.156]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4870bf37e69sm16783733f8f.29.2026.09.17.09.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2026 09:56:03 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 59BB75FA11; Thu, 17 Sep 2026 17:56:02 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , Helge Deller , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Fabiano Rosas , qemu-arm@nongnu.org, Brian Cain , Thomas Huth , Matthew Rosato , David Hildenbrand , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Song Gao , Warner Losh , John Snow , Eric Farman , Cornelia Huck , qemu-s390x@nongnu.org, Pierrick Bouvier , Jiaxun Yang , Paolo Bonzini , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Richard Henderson , Ilya Leoshkevich , Laurent Vivier , Brad Smith , Kyle Evans , Jared Rossi Subject: [PATCH v5 02/17] configure: ensure it also honours container configuration Date: Thu, 17 Sep 2026 17:55:46 +0100 Message-ID: <20260917165602.3405537-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260917165602.3405537-1-alex.bennee@linaro.org> References: <20260917165602.3405537-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:31::11; envelope-from=alex.bennee@linaro.org; helo=mail-wm2-x11.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, 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.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This partially reverts the bits of 522b299ca43 (tests/tcg/meson.build: implement ./configure containers options) so the configure script can also honour the container config while keeping the plumbing to control containers within meson. Tested-by: Richard Henderson Tested-by: Eric Farman Reviewed-by: Pierrick Bouvier Suggested-by: Paolo Bonzini [AJB: untangle changes since] Signed-off-by: Alex Bennée Tested-by: Jared Rossi --- v5 - reword and rename commit (we haven't actually reverted much) - rebase conflict - drop stray options - move registry bits v4 - tweak revert to keep disable reported - update commit msg --- configure | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 1973f023b1e..8f8fec4efc8 100755 --- a/configure +++ b/configure @@ -246,6 +246,7 @@ ninja="" python= download="enabled" skip_meson=no +use_containers="yes" rust="disabled" rust_target_triple="" @@ -722,11 +723,14 @@ for opt do ;; --disable-plugins) plugins="no" ;; - --enable-containers) # enabled by default + --enable-containers) use_containers="yes" + meson_option_add -Dcontainers=true ;; - --disable-containers) meson_option_add -Dcontainers=false + --disable-containers) use_containers="no" + meson_option_add -Dcontainers=false ;; - --container-command=*) meson_option_add -Dcontainer_command="$optarg" + --container-command=*) container_command="$optarg" + meson_option_add -Dcontainer_command="$optarg" ;; --rust-target-triple=*) rust_target_triple="$optarg" ;; @@ -1713,6 +1717,9 @@ echo all: >> $config_host_mak echo "SRC_PATH=$source_path" >> $config_host_mak echo "TARGET_DIRS=$target_list" >> $config_host_mak +if test "$container_command" != ""; then + echo "CONTAINER_COMMAND=$container_command" >> $config_host_mak +fi echo "SUBDIRS=$subdirs" >> $config_host_mak echo "PYTHON=$python" >> $config_host_mak echo "MKVENV_ENSUREGROUP=$mkvenv ensuregroup $mkvenv_online_flag" >> $config_host_mak -- 2.47.3