All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] tests/tcg: use x86_64 cross containers on all host architectures
@ 2026-09-23 18:57 Pierrick Bouvier
  2026-09-23 18:57 ` [PATCH v2 1/6] tests/tcg/meson.build: force use of linux/amd64 platform for containers Pierrick Bouvier
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Pierrick Bouvier @ 2026-09-23 18:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Richard Henderson, philmd, berrange, alex.bennee,
	pierrick.bouvier

To increase our testing surface on aarch64 and other hosts, and also to ease
maintenance of docker images, this series introduces x86_64 base containers.
We rely on qemu-user-binfmt (available at least on Fedora and Debian/Ubuntu) to
be installed to execute x86_64 binaries on other host arch.
With this, we can run the full tcg tests suite on any host architecture.

This series exposed an issue with on aarch64 hosts with test
loongarch64-softmmu-memory that was reported in issue:
https://gitlab.com/qemu-project/qemu/-/work_items/4567

v2
--

- Add comment in patch 1 to explain we detect x86_64 containers execution
  capability
- Replace the registry change patch with updated libvirt-ci, that now generates
  arch specific Dockerfiles by default
- Use lcitool --host-arch x86_64 to have stable refresh output on different host
  architectures
- Add a patch to speed up compilation of x86_64/test-avx.c.

Pierrick Bouvier (6):
  tests/tcg/meson.build: force use of linux/amd64 platform for
    containers
  tests/lcitool/refresh: generate dockerfiles using --host-arch x86_64
  tests/docker/dockerfiles/debian-all-test: remove arch specific bits
  tests/tcg/meson.build: remove cc_docker_host_arch
  tests/tcg/loongarch64/system: deactivate loongarch64-softmmu-memory
    (hang on aarch64 host)
  tests/tcg/x86_64: speed up compilation of avx, mmx and 3dnow tests

 tests/docker/dockerfiles/alpine.docker        |  2 +-
 tests/docker/dockerfiles/centos9.docker       |  2 +-
 .../dockerfiles/debian-all-test-cross.docker  | 39 +++++++++----------
 .../dockerfiles/debian-amd64-cross.docker     |  4 +-
 .../dockerfiles/debian-arm64-cross.docker     |  4 +-
 .../dockerfiles/debian-armhf-cross.docker     |  4 +-
 .../dockerfiles/debian-i686-cross.docker      |  4 +-
 .../dockerfiles/debian-ppc64el-cross.docker   |  4 +-
 .../dockerfiles/debian-riscv64-cross.docker   |  4 +-
 .../dockerfiles/debian-s390x-cross.docker     |  4 +-
 tests/docker/dockerfiles/debian.docker        |  4 +-
 .../dockerfiles/fedora-rust-nightly.docker    |  2 +-
 .../dockerfiles/fedora-win64-cross.docker     |  2 +-
 tests/docker/dockerfiles/fedora.docker        |  2 +-
 tests/docker/dockerfiles/opensuse-leap.docker |  2 +-
 tests/docker/dockerfiles/ubuntu2404.docker    |  2 +-
 tests/lcitool/libvirt-ci                      |  2 +-
 tests/lcitool/refresh                         | 37 +++++++++---------
 tests/tcg/aarch64/meson.build                 |  2 -
 tests/tcg/aarch64/system/meson.build          |  1 -
 tests/tcg/aarch64_be/meson.build              |  1 -
 tests/tcg/alpha/meson.build                   |  2 -
 tests/tcg/alpha/system/meson.build            |  1 -
 tests/tcg/arm/meson.build                     |  2 -
 tests/tcg/arm/system/meson.build              |  1 -
 tests/tcg/hexagon/meson.build                 |  1 -
 tests/tcg/hppa/meson.build                    |  1 -
 tests/tcg/i386/meson.build                    |  2 -
 tests/tcg/i386/system/meson.build             |  1 -
 tests/tcg/loongarch64/meson.build             |  2 -
 tests/tcg/loongarch64/system/meson.build      |  6 ++-
 tests/tcg/m68k/meson.build                    |  1 -
 tests/tcg/meson.build                         | 33 +++++++++-------
 tests/tcg/mips/meson.build                    |  1 -
 tests/tcg/mips64/meson.build                  |  1 -
 tests/tcg/mips64el/meson.build                |  1 -
 tests/tcg/or1k/meson.build                    |  1 -
 tests/tcg/ppc64/meson.build                   |  1 -
 tests/tcg/ppc64le/meson.build                 |  1 -
 tests/tcg/riscv64/meson.build                 |  2 -
 tests/tcg/riscv64/system/meson.build          |  1 -
 tests/tcg/s390x/meson.build                   |  2 -
 tests/tcg/s390x/system/meson.build            |  1 -
 tests/tcg/sh4/meson.build                     |  1 -
 tests/tcg/tricore/meson.build                 |  1 -
 tests/tcg/x86_64/meson.build                  |  8 ++--
 tests/tcg/x86_64/system/meson.build           |  1 -
 tests/tcg/xtensa/meson.build                  |  3 --
 48 files changed, 87 insertions(+), 120 deletions(-)

-- 
2.47.3



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-09-25 22:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-23 18:57 [PATCH v2 0/6] tests/tcg: use x86_64 cross containers on all host architectures Pierrick Bouvier
2026-09-23 18:57 ` [PATCH v2 1/6] tests/tcg/meson.build: force use of linux/amd64 platform for containers Pierrick Bouvier
2026-09-23 18:57 ` [PATCH v2 2/6] tests/lcitool/refresh: generate dockerfiles using --host-arch x86_64 Pierrick Bouvier
2026-09-24  4:56   ` Philippe Mathieu-Daudé
2026-09-24  8:57   ` Daniel P. Berrangé
2026-09-23 18:57 ` [PATCH v2 3/6] tests/docker/dockerfiles/debian-all-test: remove arch specific bits Pierrick Bouvier
2026-09-23 18:57 ` [PATCH v2 4/6] tests/tcg/meson.build: remove cc_docker_host_arch Pierrick Bouvier
2026-09-23 18:57 ` [PATCH v2 5/6] tests/tcg/loongarch64/system: deactivate loongarch64-softmmu-memory (hang on aarch64 host) Pierrick Bouvier
2026-09-23 18:57 ` [PATCH v2 6/6] tests/tcg/x86_64: speed up compilation of avx, mmx and 3dnow tests Pierrick Bouvier
2026-09-24 17:17 ` [PATCH v2 0/6] tests/tcg: use x86_64 cross containers on all host architectures Pierrick Bouvier
2026-09-25 22:17 ` Pierrick Bouvier

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.