From: "Alex Bennée" <alex.bennee@linaro.org>
To: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Cc: qemu-devel@nongnu.org, "Ilya Leoshkevich" <iii@linux.ibm.com>,
qemu-arm@nongnu.org, "Cornelia Huck" <cohuck@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@mailo.com>,
"John Snow" <jsnow@redhat.com>,
"David Hildenbrand" <david@kernel.org>,
"Thomas Huth" <th.huth+qemu@posteo.eu>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Cleber Rosa" <crosa@redhat.com>, "Warner Losh" <imp@bsdimp.com>,
"Song Gao" <gaosong@loongson.cn>,
"Kyle Evans" <kevans@freebsd.org>,
"Eric Farman" <farman@linux.ibm.com>,
"Brad Smith" <brad@comstyle.com>,
"Fabiano Rosas" <farosas@suse.de>, "Helge Deller" <deller@gmx.de>,
"Laurent Vivier" <laurent@vivier.eu>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
qemu-s390x@nongnu.org, "Matthew Rosato" <mjrosato@linux.ibm.com>,
"Brian Cain" <brian.cain@oss.qualcomm.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Jared Rossi" <jrossi@linux.ibm.com>
Subject: Re: [PATCH v4 03/19] Revert "tests/tcg/meson.build: implement ./configure containers options"
Date: Thu, 17 Sep 2026 10:27:27 +0100 [thread overview]
Message-ID: <87eces8by8.fsf@draig.linaro.org> (raw)
In-Reply-To: <ef0cab70-4f36-4de1-bfdb-18501d801728@oss.qualcomm.com> (Pierrick Bouvier's message of "Wed, 16 Sep 2026 09:33:50 -0700")
Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> writes:
> On 9/16/2026 8:29 AM, Alex Bennée wrote:
>> We want to keep the container configuration inside configure for the
>> firmware builds.
>>
>> This partially reverts commit 522b299ca4316d8cad57f9496ffcba87dcc20719
>> while keeping the plumbing to disable containers within meson.
>>
>> Tested-by: Eric Farman <farman@linux.ibm.com>
>> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
>> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
>> [AJB: untangle changes since]
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> Tested-by: Jared Rossi <jrossi@linux.ibm.com>
>>
>> ---
>> v4
>> - tweak revert to keep disable reported
>> - update commit msg
>> ---
>> configure | 14 ++++++++++----
>> meson_options.txt | 3 +++
>> tests/tcg/meson.build | 3 +++
>> 3 files changed, 16 insertions(+), 4 deletions(-)
>>
>> diff --git a/configure b/configure
>> index bedde58b8cf..6084a7a065e 100755
>> --- a/configure
>> +++ b/configure
>> @@ -260,7 +260,7 @@ ninja=""
>> python=
>> download="enabled"
>> skip_meson=no
>> -use_containers=""
>> +use_containers="yes"
>> rust="disabled"
>> rust_target_triple=""
>>
>> @@ -727,11 +727,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"
>
> Not sure if we want to keep this option (meson container_command).
> Related if in tests/tcg/meson.build can be removed also.
We want Makefile.include and meson to use the same container runtime
surely?
>
>> ;;
>> --rust-target-triple=*) rust_target_triple="$optarg"
>> ;;
>> @@ -1718,6 +1721,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
>> diff --git a/meson_options.txt b/meson_options.txt
>> index 66d3689d14c..daf301ed48a 100644
>> --- a/meson_options.txt
>> +++ b/meson_options.txt
>> @@ -389,6 +389,9 @@ option('rust', type: 'feature', value: 'disabled',
>> description: 'Rust support')
>> option('strict_rust_lints', type: 'boolean', value: false,
>> description: 'Enable stricter set of Rust warnings')
>> +option('container_registry', type: 'string',
>> + value: 'registry.gitlab.com/qemu-project/qemu',
>> + description: 'container registry to cache from')
>> option('containers', type: 'boolean', value: true,
>> description: 'use containers to cross compile tcg tests')
>> option('container_command', type: 'string',
>> diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build
>> index ce208e686ff..890da7b81e9 100644
>> --- a/tests/tcg/meson.build
>> +++ b/tests/tcg/meson.build
>> @@ -101,6 +101,9 @@ if get_option('containers')
>> endif
>> endif
>> tcg_tests_summary += {'container command': container_command}
>> +if get_option('container_registry') != ''
>> + tcg_tests_summary += {'container registry': get_option('container_registry')}
>> +endif
>>
>
> Rebase issue?
Possibly - it got messy with the reverts.
>
>> # plugins come first, as we need to build the list
>> test_plugins = {}
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2026-09-17 9:28 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 15:29 [PATCH v4 00/19] testing: various docker clean-ups post meson tcg conversion Alex Bennée
2026-09-16 15:29 ` [PATCH v4 01/19] Revert "configure: remove cross_cc and gdb detection logic" Alex Bennée
2026-09-16 15:29 ` [PATCH v4 02/19] Revert "tests/tcg/meson.build: implement ./configure -cross-cc-* options" Alex Bennée
2026-09-16 16:31 ` Pierrick Bouvier
2026-09-17 13:24 ` Alex Bennée
2026-09-17 16:57 ` Pierrick Bouvier
2026-09-16 15:29 ` [PATCH v4 03/19] Revert "tests/tcg/meson.build: implement ./configure containers options" Alex Bennée
2026-09-16 16:33 ` Pierrick Bouvier
2026-09-17 9:27 ` Alex Bennée [this message]
2026-09-17 16:58 ` Pierrick Bouvier
2026-09-16 15:29 ` [PATCH v4 04/19] configure: correctly honour --disable-containers Alex Bennée
2026-09-16 15:29 ` [PATCH v4 05/19] configure: re-purpose the tcg test compiler configs for vdso building Alex Bennée
2026-09-16 16:50 ` Pierrick Bouvier
2026-09-16 15:29 ` [PATCH v4 06/19] tests/tcg/s390x: Provide the libc bits needed by the system tests Alex Bennée
2026-09-16 15:30 ` [PATCH v4 07/19] tests/tcg: prefix meson built docker tags with qemu/ Alex Bennée
2026-09-16 20:15 ` Richard Henderson
2026-09-16 15:30 ` [PATCH v4 08/19] tests/tcg: use --add-current-user when building containers Alex Bennée
2026-09-16 16:35 ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 09/19] tests/tcg: don't define tests when missing compilers Alex Bennée
2026-09-16 16:41 ` Pierrick Bouvier
2026-09-17 0:00 ` Richard Henderson
2026-09-17 6:53 ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 10/19] tests/docker: add container registry to configure and use Alex Bennée
2026-09-16 16:41 ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 11/19] tests/docker: remove used _read_qemu_dockerfile Alex Bennée
2026-09-16 15:30 ` [PATCH v4 12/19] tests/docker: strip remaining caching logic from docker.py Alex Bennée
2026-09-16 15:30 ` [PATCH v4 13/19] tests/docker: add specific command to parser Alex Bennée
2026-09-16 15:30 ` [PATCH v4 14/19] tests/docker: swap --quiet for --verbose Alex Bennée
2026-09-16 16:49 ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 15/19] tests/docker: fix brown bag typo for docker-ccache Alex Bennée
2026-09-16 16:43 ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 16/19] gitlab: update the @user id mapping file Alex Bennée
2026-09-16 16:12 ` Amit Machhiwal
2026-09-16 15:30 ` [PATCH v4 17/19] scripts/make2mtest: add docker dependencies for check-tcg-% targets Alex Bennée
2026-09-16 16:30 ` Pierrick Bouvier
2026-09-17 9:29 ` Alex Bennée
2026-09-17 16:59 ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 18/19] tests/tcg: add console property to docker image custom target Alex Bennée
2026-09-16 16:53 ` Pierrick Bouvier
2026-09-16 15:30 ` [PATCH v4 19/19] tests/tcg: Fix building outside of the source tree Alex Bennée
2026-09-16 23:59 ` [PATCH v4 00/19] testing: various docker clean-ups post meson tcg conversion Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eces8by8.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=brad@comstyle.com \
--cc=brian.cain@oss.qualcomm.com \
--cc=cohuck@redhat.com \
--cc=crosa@redhat.com \
--cc=david@kernel.org \
--cc=deller@gmx.de \
--cc=farman@linux.ibm.com \
--cc=farosas@suse.de \
--cc=gaosong@loongson.cn \
--cc=iii@linux.ibm.com \
--cc=imp@bsdimp.com \
--cc=jiaxun.yang@flygoat.com \
--cc=jrossi@linux.ibm.com \
--cc=jsnow@redhat.com \
--cc=kevans@freebsd.org \
--cc=laurent@vivier.eu \
--cc=marcandre.lureau@redhat.com \
--cc=mjrosato@linux.ibm.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@mailo.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=th.huth+qemu@posteo.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.