* [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS)
@ 2022-10-20 11:51 Alex Bennée
2022-10-20 11:51 ` [PATCH v3 01/26] tests/docker: update fedora-win[32|64]-cross with lcitool Alex Bennée
` (26 more replies)
0 siblings, 27 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Cornelia Huck, Thomas Huth,
open list:S390 general arch...
Hi,
The testing/next changes have accumulated a few more fixes since the
last posting. Including:
- a bunch of Bin Meng's test cleanups for windows
- some avocado test fixes and tweaks
- disabling an sh4 avocado test (possibly a missed recent intermittent regression)
- enabling some sh4 check-tcg tests (now bugs are fixed)
- a minor excursion into the s390 translator
The following still need review:
- target/s390x: fake instruction loading when handling 'ex'
- target/s390x: don't probe next pc for EXecuted insns
- target/s390x: don't use ld_code2 to probe next pc
- tests/tcg: re-enable threadcount for sh4
- tests/tcg: re-enable linux-test for sh4
- tests/avocado: disable sh4 rd2 tests on Gitlab
- tests/avocado: set -machine none for userfwd and vnc tests
- MAINTAINERS: fix-up for check-tcg Makefile changes
- MAINTAINERS: add features_to_c.sh to gdbstub files
- MAINTAINERS: add entries for the key build bits
- tests/tcg: use regular semihosting for nios2-softmmu
- tests/avocado: extend the timeout for x86_64 tcg tests
- configure: fix the --enable-static --disable-pie case
- configure: don't enable cross compilers unless in target_list
- tests/docker: update fedora-win[32|64]-cross with lcitool
Alex Bennée (16):
tests/docker: update fedora-win[32|64]-cross with lcitool
tests/docker: update test-mingw to run single build
configure: don't enable cross compilers unless in target_list
configure: fix the --enable-static --disable-pie case
tests/avocado: extend the timeout for x86_64 tcg tests
tests/tcg: use regular semihosting for nios2-softmmu
MAINTAINERS: add entries for the key build bits
MAINTAINERS: add features_to_c.sh to gdbstub files
MAINTAINERS: fix-up for check-tcg Makefile changes
tests/avocado: set -machine none for userfwd and vnc tests
tests/avocado: disable sh4 rd2 tests on Gitlab
tests/tcg: re-enable linux-test for sh4
tests/tcg: re-enable threadcount for sh4
target/s390x: don't use ld_code2 to probe next pc
target/s390x: don't probe next pc for EXecuted insns
target/s390x: fake instruction loading when handling 'ex'
Anton Johansson (2):
tests/docker: Add flex/bison to `debian-all-test`
tests/docker: Add flex/bison to `debian-hexagon-cross`
Bin Meng (6):
semihosting/arm-compat-semi: Avoid using hardcoded /tmp
tcg: Avoid using hardcoded /tmp
util/qemu-sockets: Use g_get_tmp_dir() to get the directory for
temporary files
block/vvfat: Unify the mkdir() call
fsdev/virtfs-proxy-helper: Use g_mkdir()
hw/usb: dev-mtp: Use g_mkdir()
Paolo Bonzini (1):
tests/tcg: include CONFIG_PLUGIN in config-host.mak
Peter Maydell (1):
tests/avocado: raspi2_initrd: Wait for guest shutdown message before
stopping
configure | 17 +-
include/exec/translator.h | 17 ++
block/vvfat.c | 9 +-
fsdev/virtfs-proxy-helper.c | 3 +-
hw/usb/dev-mtp.c | 4 +-
semihosting/arm-compat-semi.c | 3 +-
target/s390x/tcg/translate.c | 14 +-
tcg/tcg.c | 3 +-
util/qemu-sockets.c | 5 +-
MAINTAINERS | 28 ++-
tests/avocado/boot_linux.py | 1 +
tests/avocado/boot_linux_console.py | 6 +-
tests/avocado/info_usernet.py | 3 +
tests/avocado/vnc.py | 1 +
tests/docker/dockerfiles/alpine.docker | 2 +-
tests/docker/dockerfiles/centos8.docker | 2 +-
.../dockerfiles/debian-all-test-cross.docker | 2 +
.../dockerfiles/debian-amd64-cross.docker | 234 ++++++++---------
tests/docker/dockerfiles/debian-amd64.docker | 236 +++++++++---------
.../dockerfiles/debian-arm64-cross.docker | 232 ++++++++---------
.../dockerfiles/debian-armel-cross.docker | 230 ++++++++---------
.../dockerfiles/debian-armhf-cross.docker | 232 ++++++++---------
.../dockerfiles/debian-hexagon-cross.docker | 2 +-
.../dockerfiles/debian-mips64el-cross.docker | 226 ++++++++---------
.../dockerfiles/debian-mipsel-cross.docker | 226 ++++++++---------
.../dockerfiles/debian-ppc64el-cross.docker | 230 ++++++++---------
.../dockerfiles/debian-s390x-cross.docker | 228 ++++++++---------
.../dockerfiles/fedora-win32-cross.docker | 139 ++++++++---
.../dockerfiles/fedora-win64-cross.docker | 138 +++++++---
tests/docker/dockerfiles/fedora.docker | 230 ++++++++---------
tests/docker/dockerfiles/opensuse-leap.docker | 2 +-
tests/docker/dockerfiles/ubuntu2004.docker | 234 ++++++++---------
tests/docker/test-mingw | 16 +-
tests/lcitool/libvirt-ci | 2 +-
tests/lcitool/refresh | 48 ++--
tests/tcg/nios2/Makefile.softmmu-target | 3 +-
tests/tcg/sh4/Makefile.target | 12 -
37 files changed, 1600 insertions(+), 1420 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 72+ messages in thread
* [PATCH v3 01/26] tests/docker: update fedora-win[32|64]-cross with lcitool
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 22:07 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 02/26] tests/docker: update test-mingw to run single build Alex Bennée
` (25 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Philippe Mathieu-Daudé, Thomas Huth,
Wainer dos Santos Moschetta, Beraldo Leal
Convert another two dockerfiles to lcitool and update. I renamed the
helper because it is not Debian specific. We need an updated lcitool
for this to deal with the weirdness of a 32bit nsis tool for both 32
and 64 bit builds. As a result there are some minor whitespace and
re-order changes in a bunch of the docker files.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220929114231.583801-10-alex.bennee@linaro.org>
---
tests/docker/dockerfiles/alpine.docker | 2 +-
tests/docker/dockerfiles/centos8.docker | 2 +-
.../dockerfiles/debian-amd64-cross.docker | 234 ++++++++---------
tests/docker/dockerfiles/debian-amd64.docker | 236 +++++++++---------
.../dockerfiles/debian-arm64-cross.docker | 232 ++++++++---------
.../dockerfiles/debian-armel-cross.docker | 230 ++++++++---------
.../dockerfiles/debian-armhf-cross.docker | 232 ++++++++---------
.../dockerfiles/debian-mips64el-cross.docker | 226 ++++++++---------
.../dockerfiles/debian-mipsel-cross.docker | 226 ++++++++---------
.../dockerfiles/debian-ppc64el-cross.docker | 230 ++++++++---------
.../dockerfiles/debian-s390x-cross.docker | 228 ++++++++---------
.../dockerfiles/fedora-win32-cross.docker | 139 ++++++++---
.../dockerfiles/fedora-win64-cross.docker | 138 +++++++---
tests/docker/dockerfiles/fedora.docker | 230 ++++++++---------
tests/docker/dockerfiles/opensuse-leap.docker | 2 +-
tests/docker/dockerfiles/ubuntu2004.docker | 234 ++++++++---------
tests/lcitool/libvirt-ci | 2 +-
tests/lcitool/refresh | 48 ++--
18 files changed, 1499 insertions(+), 1372 deletions(-)
diff --git a/tests/docker/dockerfiles/alpine.docker b/tests/docker/dockerfiles/alpine.docker
index 9b7541261a..a854ae6b78 100644
--- a/tests/docker/dockerfiles/alpine.docker
+++ b/tests/docker/dockerfiles/alpine.docker
@@ -119,8 +119,8 @@ RUN apk update && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/tests/docker/dockerfiles/centos8.docker b/tests/docker/dockerfiles/centos8.docker
index d89113c0df..1f70d41aeb 100644
--- a/tests/docker/dockerfiles/centos8.docker
+++ b/tests/docker/dockerfiles/centos8.docker
@@ -130,8 +130,8 @@ RUN dnf distro-sync -y && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/tests/docker/dockerfiles/debian-amd64-cross.docker b/tests/docker/dockerfiles/debian-amd64-cross.docker
index 9047759e76..8311024632 100644
--- a/tests/docker/dockerfiles/debian-amd64-cross.docker
+++ b/tests/docker/dockerfiles/debian-amd64-cross.docker
@@ -11,62 +11,62 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libglib2.0-dev \
- libpcre2-dev \
- libspice-protocol-dev \
- llvm \
- locales \
- make \
- meson \
- ncat \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libglib2.0-dev \
+ libpcre2-dev \
+ libspice-protocol-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ ncat \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture amd64 && \
@@ -74,76 +74,76 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
- g++-x86-64-linux-gnu \
- gcc-x86-64-linux-gnu \
- libaio-dev:amd64 \
- libasan5:amd64 \
- libasound2-dev:amd64 \
- libattr1-dev:amd64 \
- libbpf-dev:amd64 \
- libbrlapi-dev:amd64 \
- libbz2-dev:amd64 \
- libc6-dev:amd64 \
- libcacard-dev:amd64 \
- libcap-ng-dev:amd64 \
- libcapstone-dev:amd64 \
- libcmocka-dev:amd64 \
- libcurl4-gnutls-dev:amd64 \
- libdaxctl-dev:amd64 \
- libdrm-dev:amd64 \
- libepoxy-dev:amd64 \
- libfdt-dev:amd64 \
- libffi-dev:amd64 \
- libfuse3-dev:amd64 \
- libgbm-dev:amd64 \
- libgcrypt20-dev:amd64 \
- libglib2.0-dev:amd64 \
- libglusterfs-dev:amd64 \
- libgnutls28-dev:amd64 \
- libgtk-3-dev:amd64 \
- libibumad-dev:amd64 \
- libibverbs-dev:amd64 \
- libiscsi-dev:amd64 \
- libjemalloc-dev:amd64 \
- libjpeg62-turbo-dev:amd64 \
- libjson-c-dev:amd64 \
- liblttng-ust-dev:amd64 \
- liblzo2-dev:amd64 \
- libncursesw5-dev:amd64 \
- libnfs-dev:amd64 \
- libnuma-dev:amd64 \
- libpam0g-dev:amd64 \
- libpixman-1-dev:amd64 \
- libpmem-dev:amd64 \
- libpng-dev:amd64 \
- libpulse-dev:amd64 \
- librbd-dev:amd64 \
- librdmacm-dev:amd64 \
- libsasl2-dev:amd64 \
- libsdl2-dev:amd64 \
- libsdl2-image-dev:amd64 \
- libseccomp-dev:amd64 \
- libselinux1-dev:amd64 \
- libslirp-dev:amd64 \
- libsnappy-dev:amd64 \
- libspice-server-dev:amd64 \
- libssh-gcrypt-dev:amd64 \
- libsystemd-dev:amd64 \
- libtasn1-6-dev:amd64 \
- libubsan1:amd64 \
- libudev-dev:amd64 \
- liburing-dev:amd64 \
- libusb-1.0-0-dev:amd64 \
- libusbredirhost-dev:amd64 \
- libvdeplug-dev:amd64 \
- libvirglrenderer-dev:amd64 \
- libvte-2.91-dev:amd64 \
- libxen-dev:amd64 \
- libzstd-dev:amd64 \
- nettle-dev:amd64 \
- systemtap-sdt-dev:amd64 \
- xfslibs-dev:amd64 \
- zlib1g-dev:amd64 && \
+ g++-x86-64-linux-gnu \
+ gcc-x86-64-linux-gnu \
+ libaio-dev:amd64 \
+ libasan5:amd64 \
+ libasound2-dev:amd64 \
+ libattr1-dev:amd64 \
+ libbpf-dev:amd64 \
+ libbrlapi-dev:amd64 \
+ libbz2-dev:amd64 \
+ libc6-dev:amd64 \
+ libcacard-dev:amd64 \
+ libcap-ng-dev:amd64 \
+ libcapstone-dev:amd64 \
+ libcmocka-dev:amd64 \
+ libcurl4-gnutls-dev:amd64 \
+ libdaxctl-dev:amd64 \
+ libdrm-dev:amd64 \
+ libepoxy-dev:amd64 \
+ libfdt-dev:amd64 \
+ libffi-dev:amd64 \
+ libfuse3-dev:amd64 \
+ libgbm-dev:amd64 \
+ libgcrypt20-dev:amd64 \
+ libglib2.0-dev:amd64 \
+ libglusterfs-dev:amd64 \
+ libgnutls28-dev:amd64 \
+ libgtk-3-dev:amd64 \
+ libibumad-dev:amd64 \
+ libibverbs-dev:amd64 \
+ libiscsi-dev:amd64 \
+ libjemalloc-dev:amd64 \
+ libjpeg62-turbo-dev:amd64 \
+ libjson-c-dev:amd64 \
+ liblttng-ust-dev:amd64 \
+ liblzo2-dev:amd64 \
+ libncursesw5-dev:amd64 \
+ libnfs-dev:amd64 \
+ libnuma-dev:amd64 \
+ libpam0g-dev:amd64 \
+ libpixman-1-dev:amd64 \
+ libpmem-dev:amd64 \
+ libpng-dev:amd64 \
+ libpulse-dev:amd64 \
+ librbd-dev:amd64 \
+ librdmacm-dev:amd64 \
+ libsasl2-dev:amd64 \
+ libsdl2-dev:amd64 \
+ libsdl2-image-dev:amd64 \
+ libseccomp-dev:amd64 \
+ libselinux1-dev:amd64 \
+ libslirp-dev:amd64 \
+ libsnappy-dev:amd64 \
+ libspice-server-dev:amd64 \
+ libssh-gcrypt-dev:amd64 \
+ libsystemd-dev:amd64 \
+ libtasn1-6-dev:amd64 \
+ libubsan1:amd64 \
+ libudev-dev:amd64 \
+ liburing-dev:amd64 \
+ libusb-1.0-0-dev:amd64 \
+ libusbredirhost-dev:amd64 \
+ libvdeplug-dev:amd64 \
+ libvirglrenderer-dev:amd64 \
+ libvte-2.91-dev:amd64 \
+ libxen-dev:amd64 \
+ libzstd-dev:amd64 \
+ nettle-dev:amd64 \
+ systemtap-sdt-dev:amd64 \
+ xfslibs-dev:amd64 \
+ zlib1g-dev:amd64 && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
mkdir -p /usr/local/share/meson/cross && \
diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
index a8b728ca64..6db3079321 100644
--- a/tests/docker/dockerfiles/debian-amd64.docker
+++ b/tests/docker/dockerfiles/debian-amd64.docker
@@ -11,123 +11,123 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- clang \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- g++ \
- gcc \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libaio-dev \
- libasan5 \
- libasound2-dev \
- libattr1-dev \
- libbpf-dev \
- libbrlapi-dev \
- libbz2-dev \
- libc6-dev \
- libcacard-dev \
- libcap-ng-dev \
- libcapstone-dev \
- libcmocka-dev \
- libcurl4-gnutls-dev \
- libdaxctl-dev \
- libdrm-dev \
- libepoxy-dev \
- libfdt-dev \
- libffi-dev \
- libfuse3-dev \
- libgbm-dev \
- libgcrypt20-dev \
- libglib2.0-dev \
- libglusterfs-dev \
- libgnutls28-dev \
- libgtk-3-dev \
- libibumad-dev \
- libibverbs-dev \
- libiscsi-dev \
- libjemalloc-dev \
- libjpeg62-turbo-dev \
- libjson-c-dev \
- liblttng-ust-dev \
- liblzo2-dev \
- libncursesw5-dev \
- libnfs-dev \
- libnuma-dev \
- libpam0g-dev \
- libpcre2-dev \
- libpixman-1-dev \
- libpmem-dev \
- libpng-dev \
- libpulse-dev \
- librbd-dev \
- librdmacm-dev \
- libsasl2-dev \
- libsdl2-dev \
- libsdl2-image-dev \
- libseccomp-dev \
- libselinux1-dev \
- libslirp-dev \
- libsnappy-dev \
- libspice-protocol-dev \
- libspice-server-dev \
- libssh-gcrypt-dev \
- libsystemd-dev \
- libtasn1-6-dev \
- libubsan1 \
- libudev-dev \
- liburing-dev \
- libusb-1.0-0-dev \
- libusbredirhost-dev \
- libvdeplug-dev \
- libvirglrenderer-dev \
- libvte-2.91-dev \
- libxen-dev \
- libzstd-dev \
- llvm \
- locales \
- make \
- meson \
- multipath-tools \
- ncat \
- nettle-dev \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- systemtap-sdt-dev \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo \
- xfslibs-dev \
- zlib1g-dev && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ clang \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ g++ \
+ gcc \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libaio-dev \
+ libasan5 \
+ libasound2-dev \
+ libattr1-dev \
+ libbpf-dev \
+ libbrlapi-dev \
+ libbz2-dev \
+ libc6-dev \
+ libcacard-dev \
+ libcap-ng-dev \
+ libcapstone-dev \
+ libcmocka-dev \
+ libcurl4-gnutls-dev \
+ libdaxctl-dev \
+ libdrm-dev \
+ libepoxy-dev \
+ libfdt-dev \
+ libffi-dev \
+ libfuse3-dev \
+ libgbm-dev \
+ libgcrypt20-dev \
+ libglib2.0-dev \
+ libglusterfs-dev \
+ libgnutls28-dev \
+ libgtk-3-dev \
+ libibumad-dev \
+ libibverbs-dev \
+ libiscsi-dev \
+ libjemalloc-dev \
+ libjpeg62-turbo-dev \
+ libjson-c-dev \
+ liblttng-ust-dev \
+ liblzo2-dev \
+ libncursesw5-dev \
+ libnfs-dev \
+ libnuma-dev \
+ libpam0g-dev \
+ libpcre2-dev \
+ libpixman-1-dev \
+ libpmem-dev \
+ libpng-dev \
+ libpulse-dev \
+ librbd-dev \
+ librdmacm-dev \
+ libsasl2-dev \
+ libsdl2-dev \
+ libsdl2-image-dev \
+ libseccomp-dev \
+ libselinux1-dev \
+ libslirp-dev \
+ libsnappy-dev \
+ libspice-protocol-dev \
+ libspice-server-dev \
+ libssh-gcrypt-dev \
+ libsystemd-dev \
+ libtasn1-6-dev \
+ libubsan1 \
+ libudev-dev \
+ liburing-dev \
+ libusb-1.0-0-dev \
+ libusbredirhost-dev \
+ libvdeplug-dev \
+ libvirglrenderer-dev \
+ libvte-2.91-dev \
+ libxen-dev \
+ libzstd-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ multipath-tools \
+ ncat \
+ nettle-dev \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ systemtap-sdt-dev \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo \
+ xfslibs-dev \
+ zlib1g-dev && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
@@ -140,11 +140,11 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
# netmap/cscope/global
RUN DEBIAN_FRONTEND=noninteractive eatmydata \
apt install -y --no-install-recommends \
diff --git a/tests/docker/dockerfiles/debian-arm64-cross.docker b/tests/docker/dockerfiles/debian-arm64-cross.docker
index 17a5709245..1fbe2b1376 100644
--- a/tests/docker/dockerfiles/debian-arm64-cross.docker
+++ b/tests/docker/dockerfiles/debian-arm64-cross.docker
@@ -11,62 +11,62 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libglib2.0-dev \
- libpcre2-dev \
- libspice-protocol-dev \
- llvm \
- locales \
- make \
- meson \
- ncat \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libglib2.0-dev \
+ libpcre2-dev \
+ libspice-protocol-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ ncat \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture arm64 && \
@@ -74,75 +74,75 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
- g++-aarch64-linux-gnu \
- gcc-aarch64-linux-gnu \
- libaio-dev:arm64 \
- libasan5:arm64 \
- libasound2-dev:arm64 \
- libattr1-dev:arm64 \
- libbpf-dev:arm64 \
- libbrlapi-dev:arm64 \
- libbz2-dev:arm64 \
- libc6-dev:arm64 \
- libcacard-dev:arm64 \
- libcap-ng-dev:arm64 \
- libcapstone-dev:arm64 \
- libcmocka-dev:arm64 \
- libcurl4-gnutls-dev:arm64 \
- libdaxctl-dev:arm64 \
- libdrm-dev:arm64 \
- libepoxy-dev:arm64 \
- libfdt-dev:arm64 \
- libffi-dev:arm64 \
- libfuse3-dev:arm64 \
- libgbm-dev:arm64 \
- libgcrypt20-dev:arm64 \
- libglib2.0-dev:arm64 \
- libglusterfs-dev:arm64 \
- libgnutls28-dev:arm64 \
- libgtk-3-dev:arm64 \
- libibumad-dev:arm64 \
- libibverbs-dev:arm64 \
- libiscsi-dev:arm64 \
- libjemalloc-dev:arm64 \
- libjpeg62-turbo-dev:arm64 \
- libjson-c-dev:arm64 \
- liblttng-ust-dev:arm64 \
- liblzo2-dev:arm64 \
- libncursesw5-dev:arm64 \
- libnfs-dev:arm64 \
- libnuma-dev:arm64 \
- libpam0g-dev:arm64 \
- libpixman-1-dev:arm64 \
- libpng-dev:arm64 \
- libpulse-dev:arm64 \
- librbd-dev:arm64 \
- librdmacm-dev:arm64 \
- libsasl2-dev:arm64 \
- libsdl2-dev:arm64 \
- libsdl2-image-dev:arm64 \
- libseccomp-dev:arm64 \
- libselinux1-dev:arm64 \
- libslirp-dev:arm64 \
- libsnappy-dev:arm64 \
- libspice-server-dev:arm64 \
- libssh-gcrypt-dev:arm64 \
- libsystemd-dev:arm64 \
- libtasn1-6-dev:arm64 \
- libubsan1:arm64 \
- libudev-dev:arm64 \
- liburing-dev:arm64 \
- libusb-1.0-0-dev:arm64 \
- libusbredirhost-dev:arm64 \
- libvdeplug-dev:arm64 \
- libvirglrenderer-dev:arm64 \
- libvte-2.91-dev:arm64 \
- libxen-dev:arm64 \
- libzstd-dev:arm64 \
- nettle-dev:arm64 \
- systemtap-sdt-dev:arm64 \
- xfslibs-dev:arm64 \
- zlib1g-dev:arm64 && \
+ g++-aarch64-linux-gnu \
+ gcc-aarch64-linux-gnu \
+ libaio-dev:arm64 \
+ libasan5:arm64 \
+ libasound2-dev:arm64 \
+ libattr1-dev:arm64 \
+ libbpf-dev:arm64 \
+ libbrlapi-dev:arm64 \
+ libbz2-dev:arm64 \
+ libc6-dev:arm64 \
+ libcacard-dev:arm64 \
+ libcap-ng-dev:arm64 \
+ libcapstone-dev:arm64 \
+ libcmocka-dev:arm64 \
+ libcurl4-gnutls-dev:arm64 \
+ libdaxctl-dev:arm64 \
+ libdrm-dev:arm64 \
+ libepoxy-dev:arm64 \
+ libfdt-dev:arm64 \
+ libffi-dev:arm64 \
+ libfuse3-dev:arm64 \
+ libgbm-dev:arm64 \
+ libgcrypt20-dev:arm64 \
+ libglib2.0-dev:arm64 \
+ libglusterfs-dev:arm64 \
+ libgnutls28-dev:arm64 \
+ libgtk-3-dev:arm64 \
+ libibumad-dev:arm64 \
+ libibverbs-dev:arm64 \
+ libiscsi-dev:arm64 \
+ libjemalloc-dev:arm64 \
+ libjpeg62-turbo-dev:arm64 \
+ libjson-c-dev:arm64 \
+ liblttng-ust-dev:arm64 \
+ liblzo2-dev:arm64 \
+ libncursesw5-dev:arm64 \
+ libnfs-dev:arm64 \
+ libnuma-dev:arm64 \
+ libpam0g-dev:arm64 \
+ libpixman-1-dev:arm64 \
+ libpng-dev:arm64 \
+ libpulse-dev:arm64 \
+ librbd-dev:arm64 \
+ librdmacm-dev:arm64 \
+ libsasl2-dev:arm64 \
+ libsdl2-dev:arm64 \
+ libsdl2-image-dev:arm64 \
+ libseccomp-dev:arm64 \
+ libselinux1-dev:arm64 \
+ libslirp-dev:arm64 \
+ libsnappy-dev:arm64 \
+ libspice-server-dev:arm64 \
+ libssh-gcrypt-dev:arm64 \
+ libsystemd-dev:arm64 \
+ libtasn1-6-dev:arm64 \
+ libubsan1:arm64 \
+ libudev-dev:arm64 \
+ liburing-dev:arm64 \
+ libusb-1.0-0-dev:arm64 \
+ libusbredirhost-dev:arm64 \
+ libvdeplug-dev:arm64 \
+ libvirglrenderer-dev:arm64 \
+ libvte-2.91-dev:arm64 \
+ libxen-dev:arm64 \
+ libzstd-dev:arm64 \
+ nettle-dev:arm64 \
+ systemtap-sdt-dev:arm64 \
+ xfslibs-dev:arm64 \
+ zlib1g-dev:arm64 && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
mkdir -p /usr/local/share/meson/cross && \
diff --git a/tests/docker/dockerfiles/debian-armel-cross.docker b/tests/docker/dockerfiles/debian-armel-cross.docker
index 701fc70db0..a430900505 100644
--- a/tests/docker/dockerfiles/debian-armel-cross.docker
+++ b/tests/docker/dockerfiles/debian-armel-cross.docker
@@ -11,62 +11,62 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libglib2.0-dev \
- libpcre2-dev \
- libspice-protocol-dev \
- llvm \
- locales \
- make \
- meson \
- ncat \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libglib2.0-dev \
+ libpcre2-dev \
+ libspice-protocol-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ ncat \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture armel && \
@@ -74,74 +74,74 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
- g++-arm-linux-gnueabi \
- gcc-arm-linux-gnueabi \
- libaio-dev:armel \
- libasan5:armel \
- libasound2-dev:armel \
- libattr1-dev:armel \
- libbpf-dev:armel \
- libbrlapi-dev:armel \
- libbz2-dev:armel \
- libc6-dev:armel \
- libcacard-dev:armel \
- libcap-ng-dev:armel \
- libcapstone-dev:armel \
- libcmocka-dev:armel \
- libcurl4-gnutls-dev:armel \
- libdaxctl-dev:armel \
- libdrm-dev:armel \
- libepoxy-dev:armel \
- libfdt-dev:armel \
- libffi-dev:armel \
- libfuse3-dev:armel \
- libgbm-dev:armel \
- libgcrypt20-dev:armel \
- libglib2.0-dev:armel \
- libglusterfs-dev:armel \
- libgnutls28-dev:armel \
- libgtk-3-dev:armel \
- libibumad-dev:armel \
- libibverbs-dev:armel \
- libiscsi-dev:armel \
- libjemalloc-dev:armel \
- libjpeg62-turbo-dev:armel \
- libjson-c-dev:armel \
- liblttng-ust-dev:armel \
- liblzo2-dev:armel \
- libncursesw5-dev:armel \
- libnfs-dev:armel \
- libnuma-dev:armel \
- libpam0g-dev:armel \
- libpixman-1-dev:armel \
- libpng-dev:armel \
- libpulse-dev:armel \
- librbd-dev:armel \
- librdmacm-dev:armel \
- libsasl2-dev:armel \
- libsdl2-dev:armel \
- libsdl2-image-dev:armel \
- libseccomp-dev:armel \
- libselinux1-dev:armel \
- libslirp-dev:armel \
- libsnappy-dev:armel \
- libspice-server-dev:armel \
- libssh-gcrypt-dev:armel \
- libsystemd-dev:armel \
- libtasn1-6-dev:armel \
- libubsan1:armel \
- libudev-dev:armel \
- liburing-dev:armel \
- libusb-1.0-0-dev:armel \
- libusbredirhost-dev:armel \
- libvdeplug-dev:armel \
- libvirglrenderer-dev:armel \
- libvte-2.91-dev:armel \
- libzstd-dev:armel \
- nettle-dev:armel \
- systemtap-sdt-dev:armel \
- xfslibs-dev:armel \
- zlib1g-dev:armel && \
+ g++-arm-linux-gnueabi \
+ gcc-arm-linux-gnueabi \
+ libaio-dev:armel \
+ libasan5:armel \
+ libasound2-dev:armel \
+ libattr1-dev:armel \
+ libbpf-dev:armel \
+ libbrlapi-dev:armel \
+ libbz2-dev:armel \
+ libc6-dev:armel \
+ libcacard-dev:armel \
+ libcap-ng-dev:armel \
+ libcapstone-dev:armel \
+ libcmocka-dev:armel \
+ libcurl4-gnutls-dev:armel \
+ libdaxctl-dev:armel \
+ libdrm-dev:armel \
+ libepoxy-dev:armel \
+ libfdt-dev:armel \
+ libffi-dev:armel \
+ libfuse3-dev:armel \
+ libgbm-dev:armel \
+ libgcrypt20-dev:armel \
+ libglib2.0-dev:armel \
+ libglusterfs-dev:armel \
+ libgnutls28-dev:armel \
+ libgtk-3-dev:armel \
+ libibumad-dev:armel \
+ libibverbs-dev:armel \
+ libiscsi-dev:armel \
+ libjemalloc-dev:armel \
+ libjpeg62-turbo-dev:armel \
+ libjson-c-dev:armel \
+ liblttng-ust-dev:armel \
+ liblzo2-dev:armel \
+ libncursesw5-dev:armel \
+ libnfs-dev:armel \
+ libnuma-dev:armel \
+ libpam0g-dev:armel \
+ libpixman-1-dev:armel \
+ libpng-dev:armel \
+ libpulse-dev:armel \
+ librbd-dev:armel \
+ librdmacm-dev:armel \
+ libsasl2-dev:armel \
+ libsdl2-dev:armel \
+ libsdl2-image-dev:armel \
+ libseccomp-dev:armel \
+ libselinux1-dev:armel \
+ libslirp-dev:armel \
+ libsnappy-dev:armel \
+ libspice-server-dev:armel \
+ libssh-gcrypt-dev:armel \
+ libsystemd-dev:armel \
+ libtasn1-6-dev:armel \
+ libubsan1:armel \
+ libudev-dev:armel \
+ liburing-dev:armel \
+ libusb-1.0-0-dev:armel \
+ libusbredirhost-dev:armel \
+ libvdeplug-dev:armel \
+ libvirglrenderer-dev:armel \
+ libvte-2.91-dev:armel \
+ libzstd-dev:armel \
+ nettle-dev:armel \
+ systemtap-sdt-dev:armel \
+ xfslibs-dev:armel \
+ zlib1g-dev:armel && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
mkdir -p /usr/local/share/meson/cross && \
diff --git a/tests/docker/dockerfiles/debian-armhf-cross.docker b/tests/docker/dockerfiles/debian-armhf-cross.docker
index 5a11fe3900..4c54898420 100644
--- a/tests/docker/dockerfiles/debian-armhf-cross.docker
+++ b/tests/docker/dockerfiles/debian-armhf-cross.docker
@@ -11,62 +11,62 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libglib2.0-dev \
- libpcre2-dev \
- libspice-protocol-dev \
- llvm \
- locales \
- make \
- meson \
- ncat \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libglib2.0-dev \
+ libpcre2-dev \
+ libspice-protocol-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ ncat \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture armhf && \
@@ -74,75 +74,75 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
- g++-arm-linux-gnueabihf \
- gcc-arm-linux-gnueabihf \
- libaio-dev:armhf \
- libasan5:armhf \
- libasound2-dev:armhf \
- libattr1-dev:armhf \
- libbpf-dev:armhf \
- libbrlapi-dev:armhf \
- libbz2-dev:armhf \
- libc6-dev:armhf \
- libcacard-dev:armhf \
- libcap-ng-dev:armhf \
- libcapstone-dev:armhf \
- libcmocka-dev:armhf \
- libcurl4-gnutls-dev:armhf \
- libdaxctl-dev:armhf \
- libdrm-dev:armhf \
- libepoxy-dev:armhf \
- libfdt-dev:armhf \
- libffi-dev:armhf \
- libfuse3-dev:armhf \
- libgbm-dev:armhf \
- libgcrypt20-dev:armhf \
- libglib2.0-dev:armhf \
- libglusterfs-dev:armhf \
- libgnutls28-dev:armhf \
- libgtk-3-dev:armhf \
- libibumad-dev:armhf \
- libibverbs-dev:armhf \
- libiscsi-dev:armhf \
- libjemalloc-dev:armhf \
- libjpeg62-turbo-dev:armhf \
- libjson-c-dev:armhf \
- liblttng-ust-dev:armhf \
- liblzo2-dev:armhf \
- libncursesw5-dev:armhf \
- libnfs-dev:armhf \
- libnuma-dev:armhf \
- libpam0g-dev:armhf \
- libpixman-1-dev:armhf \
- libpng-dev:armhf \
- libpulse-dev:armhf \
- librbd-dev:armhf \
- librdmacm-dev:armhf \
- libsasl2-dev:armhf \
- libsdl2-dev:armhf \
- libsdl2-image-dev:armhf \
- libseccomp-dev:armhf \
- libselinux1-dev:armhf \
- libslirp-dev:armhf \
- libsnappy-dev:armhf \
- libspice-server-dev:armhf \
- libssh-gcrypt-dev:armhf \
- libsystemd-dev:armhf \
- libtasn1-6-dev:armhf \
- libubsan1:armhf \
- libudev-dev:armhf \
- liburing-dev:armhf \
- libusb-1.0-0-dev:armhf \
- libusbredirhost-dev:armhf \
- libvdeplug-dev:armhf \
- libvirglrenderer-dev:armhf \
- libvte-2.91-dev:armhf \
- libxen-dev:armhf \
- libzstd-dev:armhf \
- nettle-dev:armhf \
- systemtap-sdt-dev:armhf \
- xfslibs-dev:armhf \
- zlib1g-dev:armhf && \
+ g++-arm-linux-gnueabihf \
+ gcc-arm-linux-gnueabihf \
+ libaio-dev:armhf \
+ libasan5:armhf \
+ libasound2-dev:armhf \
+ libattr1-dev:armhf \
+ libbpf-dev:armhf \
+ libbrlapi-dev:armhf \
+ libbz2-dev:armhf \
+ libc6-dev:armhf \
+ libcacard-dev:armhf \
+ libcap-ng-dev:armhf \
+ libcapstone-dev:armhf \
+ libcmocka-dev:armhf \
+ libcurl4-gnutls-dev:armhf \
+ libdaxctl-dev:armhf \
+ libdrm-dev:armhf \
+ libepoxy-dev:armhf \
+ libfdt-dev:armhf \
+ libffi-dev:armhf \
+ libfuse3-dev:armhf \
+ libgbm-dev:armhf \
+ libgcrypt20-dev:armhf \
+ libglib2.0-dev:armhf \
+ libglusterfs-dev:armhf \
+ libgnutls28-dev:armhf \
+ libgtk-3-dev:armhf \
+ libibumad-dev:armhf \
+ libibverbs-dev:armhf \
+ libiscsi-dev:armhf \
+ libjemalloc-dev:armhf \
+ libjpeg62-turbo-dev:armhf \
+ libjson-c-dev:armhf \
+ liblttng-ust-dev:armhf \
+ liblzo2-dev:armhf \
+ libncursesw5-dev:armhf \
+ libnfs-dev:armhf \
+ libnuma-dev:armhf \
+ libpam0g-dev:armhf \
+ libpixman-1-dev:armhf \
+ libpng-dev:armhf \
+ libpulse-dev:armhf \
+ librbd-dev:armhf \
+ librdmacm-dev:armhf \
+ libsasl2-dev:armhf \
+ libsdl2-dev:armhf \
+ libsdl2-image-dev:armhf \
+ libseccomp-dev:armhf \
+ libselinux1-dev:armhf \
+ libslirp-dev:armhf \
+ libsnappy-dev:armhf \
+ libspice-server-dev:armhf \
+ libssh-gcrypt-dev:armhf \
+ libsystemd-dev:armhf \
+ libtasn1-6-dev:armhf \
+ libubsan1:armhf \
+ libudev-dev:armhf \
+ liburing-dev:armhf \
+ libusb-1.0-0-dev:armhf \
+ libusbredirhost-dev:armhf \
+ libvdeplug-dev:armhf \
+ libvirglrenderer-dev:armhf \
+ libvte-2.91-dev:armhf \
+ libxen-dev:armhf \
+ libzstd-dev:armhf \
+ nettle-dev:armhf \
+ systemtap-sdt-dev:armhf \
+ xfslibs-dev:armhf \
+ zlib1g-dev:armhf && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
mkdir -p /usr/local/share/meson/cross && \
diff --git a/tests/docker/dockerfiles/debian-mips64el-cross.docker b/tests/docker/dockerfiles/debian-mips64el-cross.docker
index 9b90a4d6ff..c0d4b0df17 100644
--- a/tests/docker/dockerfiles/debian-mips64el-cross.docker
+++ b/tests/docker/dockerfiles/debian-mips64el-cross.docker
@@ -11,62 +11,62 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libglib2.0-dev \
- libpcre2-dev \
- libspice-protocol-dev \
- llvm \
- locales \
- make \
- meson \
- ncat \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libglib2.0-dev \
+ libpcre2-dev \
+ libspice-protocol-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ ncat \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mips64el && \
@@ -74,72 +74,72 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
- g++-mips64el-linux-gnuabi64 \
- gcc-mips64el-linux-gnuabi64 \
- libaio-dev:mips64el \
- libasound2-dev:mips64el \
- libattr1-dev:mips64el \
- libbpf-dev:mips64el \
- libbrlapi-dev:mips64el \
- libbz2-dev:mips64el \
- libc6-dev:mips64el \
- libcacard-dev:mips64el \
- libcap-ng-dev:mips64el \
- libcapstone-dev:mips64el \
- libcmocka-dev:mips64el \
- libcurl4-gnutls-dev:mips64el \
- libdaxctl-dev:mips64el \
- libdrm-dev:mips64el \
- libepoxy-dev:mips64el \
- libfdt-dev:mips64el \
- libffi-dev:mips64el \
- libfuse3-dev:mips64el \
- libgbm-dev:mips64el \
- libgcrypt20-dev:mips64el \
- libglib2.0-dev:mips64el \
- libglusterfs-dev:mips64el \
- libgnutls28-dev:mips64el \
- libgtk-3-dev:mips64el \
- libibumad-dev:mips64el \
- libibverbs-dev:mips64el \
- libiscsi-dev:mips64el \
- libjemalloc-dev:mips64el \
- libjpeg62-turbo-dev:mips64el \
- libjson-c-dev:mips64el \
- liblttng-ust-dev:mips64el \
- liblzo2-dev:mips64el \
- libncursesw5-dev:mips64el \
- libnfs-dev:mips64el \
- libnuma-dev:mips64el \
- libpam0g-dev:mips64el \
- libpixman-1-dev:mips64el \
- libpng-dev:mips64el \
- libpulse-dev:mips64el \
- librbd-dev:mips64el \
- librdmacm-dev:mips64el \
- libsasl2-dev:mips64el \
- libsdl2-dev:mips64el \
- libsdl2-image-dev:mips64el \
- libseccomp-dev:mips64el \
- libselinux1-dev:mips64el \
- libslirp-dev:mips64el \
- libsnappy-dev:mips64el \
- libspice-server-dev:mips64el \
- libssh-gcrypt-dev:mips64el \
- libsystemd-dev:mips64el \
- libtasn1-6-dev:mips64el \
- libudev-dev:mips64el \
- liburing-dev:mips64el \
- libusb-1.0-0-dev:mips64el \
- libusbredirhost-dev:mips64el \
- libvdeplug-dev:mips64el \
- libvirglrenderer-dev:mips64el \
- libvte-2.91-dev:mips64el \
- libzstd-dev:mips64el \
- nettle-dev:mips64el \
- systemtap-sdt-dev:mips64el \
- xfslibs-dev:mips64el \
- zlib1g-dev:mips64el && \
+ g++-mips64el-linux-gnuabi64 \
+ gcc-mips64el-linux-gnuabi64 \
+ libaio-dev:mips64el \
+ libasound2-dev:mips64el \
+ libattr1-dev:mips64el \
+ libbpf-dev:mips64el \
+ libbrlapi-dev:mips64el \
+ libbz2-dev:mips64el \
+ libc6-dev:mips64el \
+ libcacard-dev:mips64el \
+ libcap-ng-dev:mips64el \
+ libcapstone-dev:mips64el \
+ libcmocka-dev:mips64el \
+ libcurl4-gnutls-dev:mips64el \
+ libdaxctl-dev:mips64el \
+ libdrm-dev:mips64el \
+ libepoxy-dev:mips64el \
+ libfdt-dev:mips64el \
+ libffi-dev:mips64el \
+ libfuse3-dev:mips64el \
+ libgbm-dev:mips64el \
+ libgcrypt20-dev:mips64el \
+ libglib2.0-dev:mips64el \
+ libglusterfs-dev:mips64el \
+ libgnutls28-dev:mips64el \
+ libgtk-3-dev:mips64el \
+ libibumad-dev:mips64el \
+ libibverbs-dev:mips64el \
+ libiscsi-dev:mips64el \
+ libjemalloc-dev:mips64el \
+ libjpeg62-turbo-dev:mips64el \
+ libjson-c-dev:mips64el \
+ liblttng-ust-dev:mips64el \
+ liblzo2-dev:mips64el \
+ libncursesw5-dev:mips64el \
+ libnfs-dev:mips64el \
+ libnuma-dev:mips64el \
+ libpam0g-dev:mips64el \
+ libpixman-1-dev:mips64el \
+ libpng-dev:mips64el \
+ libpulse-dev:mips64el \
+ librbd-dev:mips64el \
+ librdmacm-dev:mips64el \
+ libsasl2-dev:mips64el \
+ libsdl2-dev:mips64el \
+ libsdl2-image-dev:mips64el \
+ libseccomp-dev:mips64el \
+ libselinux1-dev:mips64el \
+ libslirp-dev:mips64el \
+ libsnappy-dev:mips64el \
+ libspice-server-dev:mips64el \
+ libssh-gcrypt-dev:mips64el \
+ libsystemd-dev:mips64el \
+ libtasn1-6-dev:mips64el \
+ libudev-dev:mips64el \
+ liburing-dev:mips64el \
+ libusb-1.0-0-dev:mips64el \
+ libusbredirhost-dev:mips64el \
+ libvdeplug-dev:mips64el \
+ libvirglrenderer-dev:mips64el \
+ libvte-2.91-dev:mips64el \
+ libzstd-dev:mips64el \
+ nettle-dev:mips64el \
+ systemtap-sdt-dev:mips64el \
+ xfslibs-dev:mips64el \
+ zlib1g-dev:mips64el && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
mkdir -p /usr/local/share/meson/cross && \
diff --git a/tests/docker/dockerfiles/debian-mipsel-cross.docker b/tests/docker/dockerfiles/debian-mipsel-cross.docker
index 02feaf26cb..940b6794d1 100644
--- a/tests/docker/dockerfiles/debian-mipsel-cross.docker
+++ b/tests/docker/dockerfiles/debian-mipsel-cross.docker
@@ -11,62 +11,62 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libglib2.0-dev \
- libpcre2-dev \
- libspice-protocol-dev \
- llvm \
- locales \
- make \
- meson \
- ncat \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libglib2.0-dev \
+ libpcre2-dev \
+ libspice-protocol-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ ncat \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mipsel && \
@@ -74,72 +74,72 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
- g++-mipsel-linux-gnu \
- gcc-mipsel-linux-gnu \
- libaio-dev:mipsel \
- libasound2-dev:mipsel \
- libattr1-dev:mipsel \
- libbpf-dev:mipsel \
- libbrlapi-dev:mipsel \
- libbz2-dev:mipsel \
- libc6-dev:mipsel \
- libcacard-dev:mipsel \
- libcap-ng-dev:mipsel \
- libcapstone-dev:mipsel \
- libcmocka-dev:mipsel \
- libcurl4-gnutls-dev:mipsel \
- libdaxctl-dev:mipsel \
- libdrm-dev:mipsel \
- libepoxy-dev:mipsel \
- libfdt-dev:mipsel \
- libffi-dev:mipsel \
- libfuse3-dev:mipsel \
- libgbm-dev:mipsel \
- libgcrypt20-dev:mipsel \
- libglib2.0-dev:mipsel \
- libglusterfs-dev:mipsel \
- libgnutls28-dev:mipsel \
- libgtk-3-dev:mipsel \
- libibumad-dev:mipsel \
- libibverbs-dev:mipsel \
- libiscsi-dev:mipsel \
- libjemalloc-dev:mipsel \
- libjpeg62-turbo-dev:mipsel \
- libjson-c-dev:mipsel \
- liblttng-ust-dev:mipsel \
- liblzo2-dev:mipsel \
- libncursesw5-dev:mipsel \
- libnfs-dev:mipsel \
- libnuma-dev:mipsel \
- libpam0g-dev:mipsel \
- libpixman-1-dev:mipsel \
- libpng-dev:mipsel \
- libpulse-dev:mipsel \
- librbd-dev:mipsel \
- librdmacm-dev:mipsel \
- libsasl2-dev:mipsel \
- libsdl2-dev:mipsel \
- libsdl2-image-dev:mipsel \
- libseccomp-dev:mipsel \
- libselinux1-dev:mipsel \
- libslirp-dev:mipsel \
- libsnappy-dev:mipsel \
- libspice-server-dev:mipsel \
- libssh-gcrypt-dev:mipsel \
- libsystemd-dev:mipsel \
- libtasn1-6-dev:mipsel \
- libudev-dev:mipsel \
- liburing-dev:mipsel \
- libusb-1.0-0-dev:mipsel \
- libusbredirhost-dev:mipsel \
- libvdeplug-dev:mipsel \
- libvirglrenderer-dev:mipsel \
- libvte-2.91-dev:mipsel \
- libzstd-dev:mipsel \
- nettle-dev:mipsel \
- systemtap-sdt-dev:mipsel \
- xfslibs-dev:mipsel \
- zlib1g-dev:mipsel && \
+ g++-mipsel-linux-gnu \
+ gcc-mipsel-linux-gnu \
+ libaio-dev:mipsel \
+ libasound2-dev:mipsel \
+ libattr1-dev:mipsel \
+ libbpf-dev:mipsel \
+ libbrlapi-dev:mipsel \
+ libbz2-dev:mipsel \
+ libc6-dev:mipsel \
+ libcacard-dev:mipsel \
+ libcap-ng-dev:mipsel \
+ libcapstone-dev:mipsel \
+ libcmocka-dev:mipsel \
+ libcurl4-gnutls-dev:mipsel \
+ libdaxctl-dev:mipsel \
+ libdrm-dev:mipsel \
+ libepoxy-dev:mipsel \
+ libfdt-dev:mipsel \
+ libffi-dev:mipsel \
+ libfuse3-dev:mipsel \
+ libgbm-dev:mipsel \
+ libgcrypt20-dev:mipsel \
+ libglib2.0-dev:mipsel \
+ libglusterfs-dev:mipsel \
+ libgnutls28-dev:mipsel \
+ libgtk-3-dev:mipsel \
+ libibumad-dev:mipsel \
+ libibverbs-dev:mipsel \
+ libiscsi-dev:mipsel \
+ libjemalloc-dev:mipsel \
+ libjpeg62-turbo-dev:mipsel \
+ libjson-c-dev:mipsel \
+ liblttng-ust-dev:mipsel \
+ liblzo2-dev:mipsel \
+ libncursesw5-dev:mipsel \
+ libnfs-dev:mipsel \
+ libnuma-dev:mipsel \
+ libpam0g-dev:mipsel \
+ libpixman-1-dev:mipsel \
+ libpng-dev:mipsel \
+ libpulse-dev:mipsel \
+ librbd-dev:mipsel \
+ librdmacm-dev:mipsel \
+ libsasl2-dev:mipsel \
+ libsdl2-dev:mipsel \
+ libsdl2-image-dev:mipsel \
+ libseccomp-dev:mipsel \
+ libselinux1-dev:mipsel \
+ libslirp-dev:mipsel \
+ libsnappy-dev:mipsel \
+ libspice-server-dev:mipsel \
+ libssh-gcrypt-dev:mipsel \
+ libsystemd-dev:mipsel \
+ libtasn1-6-dev:mipsel \
+ libudev-dev:mipsel \
+ liburing-dev:mipsel \
+ libusb-1.0-0-dev:mipsel \
+ libusbredirhost-dev:mipsel \
+ libvdeplug-dev:mipsel \
+ libvirglrenderer-dev:mipsel \
+ libvte-2.91-dev:mipsel \
+ libzstd-dev:mipsel \
+ nettle-dev:mipsel \
+ systemtap-sdt-dev:mipsel \
+ xfslibs-dev:mipsel \
+ zlib1g-dev:mipsel && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
mkdir -p /usr/local/share/meson/cross && \
diff --git a/tests/docker/dockerfiles/debian-ppc64el-cross.docker b/tests/docker/dockerfiles/debian-ppc64el-cross.docker
index 97d3872ee2..2d59288622 100644
--- a/tests/docker/dockerfiles/debian-ppc64el-cross.docker
+++ b/tests/docker/dockerfiles/debian-ppc64el-cross.docker
@@ -11,62 +11,62 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libglib2.0-dev \
- libpcre2-dev \
- libspice-protocol-dev \
- llvm \
- locales \
- make \
- meson \
- ncat \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libglib2.0-dev \
+ libpcre2-dev \
+ libspice-protocol-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ ncat \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture ppc64el && \
@@ -74,74 +74,74 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
- g++-powerpc64le-linux-gnu \
- gcc-powerpc64le-linux-gnu \
- libaio-dev:ppc64el \
- libasan5:ppc64el \
- libasound2-dev:ppc64el \
- libattr1-dev:ppc64el \
- libbpf-dev:ppc64el \
- libbrlapi-dev:ppc64el \
- libbz2-dev:ppc64el \
- libc6-dev:ppc64el \
- libcacard-dev:ppc64el \
- libcap-ng-dev:ppc64el \
- libcapstone-dev:ppc64el \
- libcmocka-dev:ppc64el \
- libcurl4-gnutls-dev:ppc64el \
- libdaxctl-dev:ppc64el \
- libdrm-dev:ppc64el \
- libepoxy-dev:ppc64el \
- libfdt-dev:ppc64el \
- libffi-dev:ppc64el \
- libfuse3-dev:ppc64el \
- libgbm-dev:ppc64el \
- libgcrypt20-dev:ppc64el \
- libglib2.0-dev:ppc64el \
- libglusterfs-dev:ppc64el \
- libgnutls28-dev:ppc64el \
- libgtk-3-dev:ppc64el \
- libibumad-dev:ppc64el \
- libibverbs-dev:ppc64el \
- libiscsi-dev:ppc64el \
- libjemalloc-dev:ppc64el \
- libjpeg62-turbo-dev:ppc64el \
- libjson-c-dev:ppc64el \
- liblttng-ust-dev:ppc64el \
- liblzo2-dev:ppc64el \
- libncursesw5-dev:ppc64el \
- libnfs-dev:ppc64el \
- libnuma-dev:ppc64el \
- libpam0g-dev:ppc64el \
- libpixman-1-dev:ppc64el \
- libpng-dev:ppc64el \
- libpulse-dev:ppc64el \
- librbd-dev:ppc64el \
- librdmacm-dev:ppc64el \
- libsasl2-dev:ppc64el \
- libsdl2-dev:ppc64el \
- libsdl2-image-dev:ppc64el \
- libseccomp-dev:ppc64el \
- libselinux1-dev:ppc64el \
- libslirp-dev:ppc64el \
- libsnappy-dev:ppc64el \
- libspice-server-dev:ppc64el \
- libssh-gcrypt-dev:ppc64el \
- libsystemd-dev:ppc64el \
- libtasn1-6-dev:ppc64el \
- libubsan1:ppc64el \
- libudev-dev:ppc64el \
- liburing-dev:ppc64el \
- libusb-1.0-0-dev:ppc64el \
- libusbredirhost-dev:ppc64el \
- libvdeplug-dev:ppc64el \
- libvirglrenderer-dev:ppc64el \
- libvte-2.91-dev:ppc64el \
- libzstd-dev:ppc64el \
- nettle-dev:ppc64el \
- systemtap-sdt-dev:ppc64el \
- xfslibs-dev:ppc64el \
- zlib1g-dev:ppc64el && \
+ g++-powerpc64le-linux-gnu \
+ gcc-powerpc64le-linux-gnu \
+ libaio-dev:ppc64el \
+ libasan5:ppc64el \
+ libasound2-dev:ppc64el \
+ libattr1-dev:ppc64el \
+ libbpf-dev:ppc64el \
+ libbrlapi-dev:ppc64el \
+ libbz2-dev:ppc64el \
+ libc6-dev:ppc64el \
+ libcacard-dev:ppc64el \
+ libcap-ng-dev:ppc64el \
+ libcapstone-dev:ppc64el \
+ libcmocka-dev:ppc64el \
+ libcurl4-gnutls-dev:ppc64el \
+ libdaxctl-dev:ppc64el \
+ libdrm-dev:ppc64el \
+ libepoxy-dev:ppc64el \
+ libfdt-dev:ppc64el \
+ libffi-dev:ppc64el \
+ libfuse3-dev:ppc64el \
+ libgbm-dev:ppc64el \
+ libgcrypt20-dev:ppc64el \
+ libglib2.0-dev:ppc64el \
+ libglusterfs-dev:ppc64el \
+ libgnutls28-dev:ppc64el \
+ libgtk-3-dev:ppc64el \
+ libibumad-dev:ppc64el \
+ libibverbs-dev:ppc64el \
+ libiscsi-dev:ppc64el \
+ libjemalloc-dev:ppc64el \
+ libjpeg62-turbo-dev:ppc64el \
+ libjson-c-dev:ppc64el \
+ liblttng-ust-dev:ppc64el \
+ liblzo2-dev:ppc64el \
+ libncursesw5-dev:ppc64el \
+ libnfs-dev:ppc64el \
+ libnuma-dev:ppc64el \
+ libpam0g-dev:ppc64el \
+ libpixman-1-dev:ppc64el \
+ libpng-dev:ppc64el \
+ libpulse-dev:ppc64el \
+ librbd-dev:ppc64el \
+ librdmacm-dev:ppc64el \
+ libsasl2-dev:ppc64el \
+ libsdl2-dev:ppc64el \
+ libsdl2-image-dev:ppc64el \
+ libseccomp-dev:ppc64el \
+ libselinux1-dev:ppc64el \
+ libslirp-dev:ppc64el \
+ libsnappy-dev:ppc64el \
+ libspice-server-dev:ppc64el \
+ libssh-gcrypt-dev:ppc64el \
+ libsystemd-dev:ppc64el \
+ libtasn1-6-dev:ppc64el \
+ libubsan1:ppc64el \
+ libudev-dev:ppc64el \
+ liburing-dev:ppc64el \
+ libusb-1.0-0-dev:ppc64el \
+ libusbredirhost-dev:ppc64el \
+ libvdeplug-dev:ppc64el \
+ libvirglrenderer-dev:ppc64el \
+ libvte-2.91-dev:ppc64el \
+ libzstd-dev:ppc64el \
+ nettle-dev:ppc64el \
+ systemtap-sdt-dev:ppc64el \
+ xfslibs-dev:ppc64el \
+ zlib1g-dev:ppc64el && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
mkdir -p /usr/local/share/meson/cross && \
diff --git a/tests/docker/dockerfiles/debian-s390x-cross.docker b/tests/docker/dockerfiles/debian-s390x-cross.docker
index 95585e9e56..a105c1066e 100644
--- a/tests/docker/dockerfiles/debian-s390x-cross.docker
+++ b/tests/docker/dockerfiles/debian-s390x-cross.docker
@@ -11,62 +11,62 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdextrautils \
- bzip2 \
- ca-certificates \
- ccache \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libglib2.0-dev \
- libpcre2-dev \
- libspice-protocol-dev \
- llvm \
- locales \
- make \
- meson \
- ncat \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo && \
+ bash \
+ bc \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libglib2.0-dev \
+ libpcre2-dev \
+ libspice-protocol-dev \
+ llvm \
+ locales \
+ make \
+ meson \
+ ncat \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture s390x && \
@@ -74,73 +74,73 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
- g++-s390x-linux-gnu \
- gcc-s390x-linux-gnu \
- libaio-dev:s390x \
- libasan5:s390x \
- libasound2-dev:s390x \
- libattr1-dev:s390x \
- libbpf-dev:s390x \
- libbrlapi-dev:s390x \
- libbz2-dev:s390x \
- libc6-dev:s390x \
- libcacard-dev:s390x \
- libcap-ng-dev:s390x \
- libcapstone-dev:s390x \
- libcmocka-dev:s390x \
- libcurl4-gnutls-dev:s390x \
- libdaxctl-dev:s390x \
- libdrm-dev:s390x \
- libepoxy-dev:s390x \
- libfdt-dev:s390x \
- libffi-dev:s390x \
- libfuse3-dev:s390x \
- libgbm-dev:s390x \
- libgcrypt20-dev:s390x \
- libglib2.0-dev:s390x \
- libglusterfs-dev:s390x \
- libgnutls28-dev:s390x \
- libgtk-3-dev:s390x \
- libibumad-dev:s390x \
- libibverbs-dev:s390x \
- libiscsi-dev:s390x \
- libjemalloc-dev:s390x \
- libjpeg62-turbo-dev:s390x \
- libjson-c-dev:s390x \
- liblttng-ust-dev:s390x \
- liblzo2-dev:s390x \
- libncursesw5-dev:s390x \
- libnfs-dev:s390x \
- libnuma-dev:s390x \
- libpam0g-dev:s390x \
- libpixman-1-dev:s390x \
- libpng-dev:s390x \
- libpulse-dev:s390x \
- librbd-dev:s390x \
- librdmacm-dev:s390x \
- libsasl2-dev:s390x \
- libsdl2-dev:s390x \
- libsdl2-image-dev:s390x \
- libseccomp-dev:s390x \
- libselinux1-dev:s390x \
- libslirp-dev:s390x \
- libsnappy-dev:s390x \
- libssh-gcrypt-dev:s390x \
- libsystemd-dev:s390x \
- libtasn1-6-dev:s390x \
- libubsan1:s390x \
- libudev-dev:s390x \
- liburing-dev:s390x \
- libusb-1.0-0-dev:s390x \
- libusbredirhost-dev:s390x \
- libvdeplug-dev:s390x \
- libvirglrenderer-dev:s390x \
- libvte-2.91-dev:s390x \
- libzstd-dev:s390x \
- nettle-dev:s390x \
- systemtap-sdt-dev:s390x \
- xfslibs-dev:s390x \
- zlib1g-dev:s390x && \
+ g++-s390x-linux-gnu \
+ gcc-s390x-linux-gnu \
+ libaio-dev:s390x \
+ libasan5:s390x \
+ libasound2-dev:s390x \
+ libattr1-dev:s390x \
+ libbpf-dev:s390x \
+ libbrlapi-dev:s390x \
+ libbz2-dev:s390x \
+ libc6-dev:s390x \
+ libcacard-dev:s390x \
+ libcap-ng-dev:s390x \
+ libcapstone-dev:s390x \
+ libcmocka-dev:s390x \
+ libcurl4-gnutls-dev:s390x \
+ libdaxctl-dev:s390x \
+ libdrm-dev:s390x \
+ libepoxy-dev:s390x \
+ libfdt-dev:s390x \
+ libffi-dev:s390x \
+ libfuse3-dev:s390x \
+ libgbm-dev:s390x \
+ libgcrypt20-dev:s390x \
+ libglib2.0-dev:s390x \
+ libglusterfs-dev:s390x \
+ libgnutls28-dev:s390x \
+ libgtk-3-dev:s390x \
+ libibumad-dev:s390x \
+ libibverbs-dev:s390x \
+ libiscsi-dev:s390x \
+ libjemalloc-dev:s390x \
+ libjpeg62-turbo-dev:s390x \
+ libjson-c-dev:s390x \
+ liblttng-ust-dev:s390x \
+ liblzo2-dev:s390x \
+ libncursesw5-dev:s390x \
+ libnfs-dev:s390x \
+ libnuma-dev:s390x \
+ libpam0g-dev:s390x \
+ libpixman-1-dev:s390x \
+ libpng-dev:s390x \
+ libpulse-dev:s390x \
+ librbd-dev:s390x \
+ librdmacm-dev:s390x \
+ libsasl2-dev:s390x \
+ libsdl2-dev:s390x \
+ libsdl2-image-dev:s390x \
+ libseccomp-dev:s390x \
+ libselinux1-dev:s390x \
+ libslirp-dev:s390x \
+ libsnappy-dev:s390x \
+ libssh-gcrypt-dev:s390x \
+ libsystemd-dev:s390x \
+ libtasn1-6-dev:s390x \
+ libubsan1:s390x \
+ libudev-dev:s390x \
+ liburing-dev:s390x \
+ libusb-1.0-0-dev:s390x \
+ libusbredirhost-dev:s390x \
+ libvdeplug-dev:s390x \
+ libvirglrenderer-dev:s390x \
+ libvte-2.91-dev:s390x \
+ libzstd-dev:s390x \
+ nettle-dev:s390x \
+ systemtap-sdt-dev:s390x \
+ xfslibs-dev:s390x \
+ zlib1g-dev:s390x && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
mkdir -p /usr/local/share/meson/cross && \
diff --git a/tests/docker/dockerfiles/fedora-win32-cross.docker b/tests/docker/dockerfiles/fedora-win32-cross.docker
index aca37aabc4..75383ba185 100644
--- a/tests/docker/dockerfiles/fedora-win32-cross.docker
+++ b/tests/docker/dockerfiles/fedora-win32-cross.docker
@@ -1,46 +1,103 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --layers all --cross mingw32 fedora-35 qemu
+#
+# https://gitlab.com/libvirt/libvirt-ci
+
FROM registry.fedoraproject.org/fedora:35
-# Please keep this list sorted alphabetically
-ENV PACKAGES \
- bc \
- bison \
- bzip2 \
- ccache \
- diffutils \
- findutils \
- flex \
- gcc \
- gettext \
- git \
- glib2-devel \
- hostname \
- make \
- meson \
- mingw32-bzip2 \
- mingw32-curl \
- mingw32-glib2 \
- mingw32-gmp \
- mingw32-gnutls \
- mingw32-gtk3 \
- mingw32-libffi \
- mingw32-libjpeg-turbo \
- mingw32-libpng \
- mingw32-libtasn1 \
- mingw32-libusbx \
- mingw32-nettle \
- mingw32-nsis \
- mingw32-pixman \
- mingw32-pkg-config \
- mingw32-SDL2 \
- msitools \
- perl \
- python3 \
- python3-PyYAML \
- tar \
- which
+RUN dnf install -y nosync && \
+ echo -e '#!/bin/sh\n\
+if test -d /usr/lib64\n\
+then\n\
+ export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
+else\n\
+ export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
+fi\n\
+exec "$@"' > /usr/bin/nosync && \
+ chmod +x /usr/bin/nosync && \
+ nosync dnf update -y && \
+ nosync dnf install -y \
+ bash \
+ bc \
+ bison \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ ctags \
+ dbus-daemon \
+ diffutils \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ git \
+ glib2-devel \
+ glibc-langpack-en \
+ hostname \
+ llvm \
+ make \
+ meson \
+ ninja-build \
+ nmap-ncat \
+ openssh-clients \
+ pcre-static \
+ perl-base \
+ python3 \
+ python3-PyYAML \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx_rtd_theme \
+ rpm \
+ sed \
+ sparse \
+ spice-protocol \
+ tar \
+ tesseract \
+ tesseract-langpack-eng \
+ texinfo \
+ util-linux \
+ which && \
+ nosync dnf autoremove -y && \
+ nosync dnf clean all -y
+
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV NINJA "/usr/bin/ninja"
+ENV PYTHON "/usr/bin/python3"
-RUN dnf install -y $PACKAGES
-RUN rpm -q $PACKAGES | sort > /packages.txt
+RUN nosync dnf install -y \
+ mingw32-SDL2 \
+ mingw32-SDL2_image \
+ mingw32-bzip2 \
+ mingw32-curl \
+ mingw32-gcc \
+ mingw32-gcc-c++ \
+ mingw32-gettext \
+ mingw32-glib2 \
+ mingw32-gnutls \
+ mingw32-gtk3 \
+ mingw32-libgcrypt \
+ mingw32-libjpeg-turbo \
+ mingw32-libpng \
+ mingw32-libtasn1 \
+ mingw32-nettle \
+ mingw32-nsis \
+ mingw32-pixman \
+ mingw32-pkg-config && \
+ nosync dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-c++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-g++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-gcc
-# Specify the cross prefix for this image (see tests/docker/common.rc)
+ENV ABI "i686-w64-mingw32"
+ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw32.meson"
ENV QEMU_CONFIGURE_OPTS --cross-prefix=i686-w64-mingw32-
+ENV DEF_TARGET_LIST i386-softmmu
diff --git a/tests/docker/dockerfiles/fedora-win64-cross.docker b/tests/docker/dockerfiles/fedora-win64-cross.docker
index 3642766479..98c03dc13b 100644
--- a/tests/docker/dockerfiles/fedora-win64-cross.docker
+++ b/tests/docker/dockerfiles/fedora-win64-cross.docker
@@ -1,43 +1,103 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --layers all --cross mingw64 fedora-35 qemu
+#
+# https://gitlab.com/libvirt/libvirt-ci
+
FROM registry.fedoraproject.org/fedora:35
-# Please keep this list sorted alphabetically
-ENV PACKAGES \
- bc \
- bison \
- bzip2 \
- ccache \
- diffutils \
- findutils \
- flex \
- gcc \
- gettext \
- git \
- glib2-devel \
- hostname \
- make \
- meson \
- mingw32-nsis \
- mingw64-bzip2 \
- mingw64-curl \
- mingw64-glib2 \
- mingw64-gmp \
- mingw64-gtk3 \
- mingw64-libffi \
- mingw64-libjpeg-turbo \
- mingw64-libpng \
- mingw64-libtasn1 \
- mingw64-libusbx \
- mingw64-pixman \
- mingw64-pkg-config \
- msitools \
- perl \
- python3 \
- python3-PyYAML \
- tar \
- which
+RUN dnf install -y nosync && \
+ echo -e '#!/bin/sh\n\
+if test -d /usr/lib64\n\
+then\n\
+ export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
+else\n\
+ export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
+fi\n\
+exec "$@"' > /usr/bin/nosync && \
+ chmod +x /usr/bin/nosync && \
+ nosync dnf update -y && \
+ nosync dnf install -y \
+ bash \
+ bc \
+ bison \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ ctags \
+ dbus-daemon \
+ diffutils \
+ findutils \
+ flex \
+ gcovr \
+ genisoimage \
+ git \
+ glib2-devel \
+ glibc-langpack-en \
+ hostname \
+ llvm \
+ make \
+ meson \
+ ninja-build \
+ nmap-ncat \
+ openssh-clients \
+ pcre-static \
+ perl-base \
+ python3 \
+ python3-PyYAML \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx_rtd_theme \
+ rpm \
+ sed \
+ sparse \
+ spice-protocol \
+ tar \
+ tesseract \
+ tesseract-langpack-eng \
+ texinfo \
+ util-linux \
+ which && \
+ nosync dnf autoremove -y && \
+ nosync dnf clean all -y
+
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV NINJA "/usr/bin/ninja"
+ENV PYTHON "/usr/bin/python3"
-RUN dnf install -y $PACKAGES
-RUN rpm -q $PACKAGES | sort > /packages.txt
+RUN nosync dnf install -y \
+ mingw32-nsis \
+ mingw64-SDL2 \
+ mingw64-SDL2_image \
+ mingw64-bzip2 \
+ mingw64-curl \
+ mingw64-gcc \
+ mingw64-gcc-c++ \
+ mingw64-gettext \
+ mingw64-glib2 \
+ mingw64-gnutls \
+ mingw64-gtk3 \
+ mingw64-libgcrypt \
+ mingw64-libjpeg-turbo \
+ mingw64-libpng \
+ mingw64-libtasn1 \
+ mingw64-nettle \
+ mingw64-pixman \
+ mingw64-pkg-config && \
+ nosync dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-c++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-g++ && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-gcc
-# Specify the cross prefix for this image (see tests/docker/common.rc)
-ENV QEMU_CONFIGURE_OPTS --cross-prefix=x86_64-w64-mingw32- --disable-capstone
+ENV ABI "x86_64-w64-mingw32"
+ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw64.meson"
+ENV QEMU_CONFIGURE_OPTS --cross-prefix=x86_64-w64-mingw32-
+ENV DEF_TARGET_LIST x86_64-softmmu
diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfiles/fedora.docker
index fe84166ca1..d200c7fc10 100644
--- a/tests/docker/dockerfiles/fedora.docker
+++ b/tests/docker/dockerfiles/fedora.docker
@@ -18,120 +18,120 @@ exec "$@"' > /usr/bin/nosync && \
chmod +x /usr/bin/nosync && \
nosync dnf update -y && \
nosync dnf install -y \
- SDL2-devel \
- SDL2_image-devel \
- alsa-lib-devel \
- bash \
- bc \
- bison \
- brlapi-devel \
- bzip2 \
- bzip2-devel \
- ca-certificates \
- capstone-devel \
- ccache \
- clang \
- ctags \
- cyrus-sasl-devel \
- daxctl-devel \
- dbus-daemon \
- device-mapper-multipath-devel \
- diffutils \
- findutils \
- flex \
- fuse3-devel \
- gcc \
- gcc-c++ \
- gcovr \
- genisoimage \
- gettext \
- git \
- glib2-devel \
- glib2-static \
- glibc-langpack-en \
- glibc-static \
- glusterfs-api-devel \
- gnutls-devel \
- gtk3-devel \
- hostname \
- jemalloc-devel \
- json-c-devel \
- libaio-devel \
- libasan \
- libattr-devel \
- libbpf-devel \
- libcacard-devel \
- libcap-ng-devel \
- libcmocka-devel \
- libcurl-devel \
- libdrm-devel \
- libepoxy-devel \
- libfdt-devel \
- libffi-devel \
- libgcrypt-devel \
- libiscsi-devel \
- libjpeg-devel \
- libnfs-devel \
- libpmem-devel \
- libpng-devel \
- librbd-devel \
- libseccomp-devel \
- libselinux-devel \
- libslirp-devel \
- libssh-devel \
- libtasn1-devel \
- libubsan \
- liburing-devel \
- libusbx-devel \
- libzstd-devel \
- llvm \
- lttng-ust-devel \
- lzo-devel \
- make \
- mesa-libgbm-devel \
- meson \
- ncurses-devel \
- nettle-devel \
- ninja-build \
- nmap-ncat \
- numactl-devel \
- openssh-clients \
- pam-devel \
- pcre-static \
- perl-base \
- pixman-devel \
- pkgconfig \
- pulseaudio-libs-devel \
- python3 \
- python3-PyYAML \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-sphinx \
- python3-sphinx_rtd_theme \
- rdma-core-devel \
- rpm \
- sed \
- snappy-devel \
- sparse \
- spice-protocol \
- spice-server-devel \
- systemd-devel \
- systemtap-sdt-devel \
- tar \
- tesseract \
- tesseract-langpack-eng \
- texinfo \
- usbredir-devel \
- util-linux \
- virglrenderer-devel \
- vte291-devel \
- which \
- xen-devel \
- xfsprogs-devel \
- zlib-devel \
- zlib-static && \
+ SDL2-devel \
+ SDL2_image-devel \
+ alsa-lib-devel \
+ bash \
+ bc \
+ bison \
+ brlapi-devel \
+ bzip2 \
+ bzip2-devel \
+ ca-certificates \
+ capstone-devel \
+ ccache \
+ clang \
+ ctags \
+ cyrus-sasl-devel \
+ daxctl-devel \
+ dbus-daemon \
+ device-mapper-multipath-devel \
+ diffutils \
+ findutils \
+ flex \
+ fuse3-devel \
+ gcc \
+ gcc-c++ \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ glib2-devel \
+ glib2-static \
+ glibc-langpack-en \
+ glibc-static \
+ glusterfs-api-devel \
+ gnutls-devel \
+ gtk3-devel \
+ hostname \
+ jemalloc-devel \
+ json-c-devel \
+ libaio-devel \
+ libasan \
+ libattr-devel \
+ libbpf-devel \
+ libcacard-devel \
+ libcap-ng-devel \
+ libcmocka-devel \
+ libcurl-devel \
+ libdrm-devel \
+ libepoxy-devel \
+ libfdt-devel \
+ libffi-devel \
+ libgcrypt-devel \
+ libiscsi-devel \
+ libjpeg-devel \
+ libnfs-devel \
+ libpmem-devel \
+ libpng-devel \
+ librbd-devel \
+ libseccomp-devel \
+ libselinux-devel \
+ libslirp-devel \
+ libssh-devel \
+ libtasn1-devel \
+ libubsan \
+ liburing-devel \
+ libusbx-devel \
+ libzstd-devel \
+ llvm \
+ lttng-ust-devel \
+ lzo-devel \
+ make \
+ mesa-libgbm-devel \
+ meson \
+ ncurses-devel \
+ nettle-devel \
+ ninja-build \
+ nmap-ncat \
+ numactl-devel \
+ openssh-clients \
+ pam-devel \
+ pcre-static \
+ perl-base \
+ pixman-devel \
+ pkgconfig \
+ pulseaudio-libs-devel \
+ python3 \
+ python3-PyYAML \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-sphinx \
+ python3-sphinx_rtd_theme \
+ rdma-core-devel \
+ rpm \
+ sed \
+ snappy-devel \
+ sparse \
+ spice-protocol \
+ spice-server-devel \
+ systemd-devel \
+ systemtap-sdt-devel \
+ tar \
+ tesseract \
+ tesseract-langpack-eng \
+ texinfo \
+ usbredir-devel \
+ util-linux \
+ virglrenderer-devel \
+ vte291-devel \
+ which \
+ xen-devel \
+ xfsprogs-devel \
+ zlib-devel \
+ zlib-static && \
nosync dnf autoremove -y && \
nosync dnf clean all -y && \
rpm -qa | sort > /packages.txt && \
@@ -142,8 +142,8 @@ exec "$@"' > /usr/bin/nosync && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/tests/docker/dockerfiles/opensuse-leap.docker b/tests/docker/dockerfiles/opensuse-leap.docker
index d80064756f..361979d6b3 100644
--- a/tests/docker/dockerfiles/opensuse-leap.docker
+++ b/tests/docker/dockerfiles/opensuse-leap.docker
@@ -132,8 +132,8 @@ RUN zypper update -y && \
RUN /usr/bin/pip3 install meson==0.56.0
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/tests/docker/dockerfiles/ubuntu2004.docker b/tests/docker/dockerfiles/ubuntu2004.docker
index 24594afc15..ac16383da7 100644
--- a/tests/docker/dockerfiles/ubuntu2004.docker
+++ b/tests/docker/dockerfiles/ubuntu2004.docker
@@ -11,122 +11,122 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
- bash \
- bc \
- bison \
- bsdmainutils \
- bzip2 \
- ca-certificates \
- ccache \
- clang \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- g++ \
- gcc \
- gcovr \
- genisoimage \
- gettext \
- git \
- hostname \
- libaio-dev \
- libasan5 \
- libasound2-dev \
- libattr1-dev \
- libbrlapi-dev \
- libbz2-dev \
- libc6-dev \
- libcacard-dev \
- libcap-ng-dev \
- libcapstone-dev \
- libcmocka-dev \
- libcurl4-gnutls-dev \
- libdaxctl-dev \
- libdrm-dev \
- libepoxy-dev \
- libfdt-dev \
- libffi-dev \
- libfuse3-dev \
- libgbm-dev \
- libgcrypt20-dev \
- libglib2.0-dev \
- libglusterfs-dev \
- libgnutls28-dev \
- libgtk-3-dev \
- libibumad-dev \
- libibverbs-dev \
- libiscsi-dev \
- libjemalloc-dev \
- libjpeg-turbo8-dev \
- libjson-c-dev \
- liblttng-ust-dev \
- liblzo2-dev \
- libncursesw5-dev \
- libnfs-dev \
- libnuma-dev \
- libpam0g-dev \
- libpcre2-dev \
- libpixman-1-dev \
- libpmem-dev \
- libpng-dev \
- libpulse-dev \
- librbd-dev \
- librdmacm-dev \
- libsasl2-dev \
- libsdl2-dev \
- libsdl2-image-dev \
- libseccomp-dev \
- libselinux1-dev \
- libslirp-dev \
- libsnappy-dev \
- libspice-protocol-dev \
- libspice-server-dev \
- libssh-dev \
- libsystemd-dev \
- libtasn1-6-dev \
- libubsan1 \
- libudev-dev \
- libusb-1.0-0-dev \
- libusbredirhost-dev \
- libvdeplug-dev \
- libvirglrenderer-dev \
- libvte-2.91-dev \
- libxen-dev \
- libzstd-dev \
- llvm \
- locales \
- make \
- multipath-tools \
- ncat \
- nettle-dev \
- ninja-build \
- openssh-client \
- perl-base \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-setuptools \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-venv \
- python3-wheel \
- python3-yaml \
- rpm2cpio \
- sed \
- sparse \
- systemtap-sdt-dev \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- texinfo \
- xfslibs-dev \
- zlib1g-dev && \
+ bash \
+ bc \
+ bison \
+ bsdmainutils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ clang \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ g++ \
+ gcc \
+ gcovr \
+ genisoimage \
+ gettext \
+ git \
+ hostname \
+ libaio-dev \
+ libasan5 \
+ libasound2-dev \
+ libattr1-dev \
+ libbrlapi-dev \
+ libbz2-dev \
+ libc6-dev \
+ libcacard-dev \
+ libcap-ng-dev \
+ libcapstone-dev \
+ libcmocka-dev \
+ libcurl4-gnutls-dev \
+ libdaxctl-dev \
+ libdrm-dev \
+ libepoxy-dev \
+ libfdt-dev \
+ libffi-dev \
+ libfuse3-dev \
+ libgbm-dev \
+ libgcrypt20-dev \
+ libglib2.0-dev \
+ libglusterfs-dev \
+ libgnutls28-dev \
+ libgtk-3-dev \
+ libibumad-dev \
+ libibverbs-dev \
+ libiscsi-dev \
+ libjemalloc-dev \
+ libjpeg-turbo8-dev \
+ libjson-c-dev \
+ liblttng-ust-dev \
+ liblzo2-dev \
+ libncursesw5-dev \
+ libnfs-dev \
+ libnuma-dev \
+ libpam0g-dev \
+ libpcre2-dev \
+ libpixman-1-dev \
+ libpmem-dev \
+ libpng-dev \
+ libpulse-dev \
+ librbd-dev \
+ librdmacm-dev \
+ libsasl2-dev \
+ libsdl2-dev \
+ libsdl2-image-dev \
+ libseccomp-dev \
+ libselinux1-dev \
+ libslirp-dev \
+ libsnappy-dev \
+ libspice-protocol-dev \
+ libspice-server-dev \
+ libssh-dev \
+ libsystemd-dev \
+ libtasn1-6-dev \
+ libubsan1 \
+ libudev-dev \
+ libusb-1.0-0-dev \
+ libusbredirhost-dev \
+ libvdeplug-dev \
+ libvirglrenderer-dev \
+ libvte-2.91-dev \
+ libxen-dev \
+ libzstd-dev \
+ llvm \
+ locales \
+ make \
+ multipath-tools \
+ ncat \
+ nettle-dev \
+ ninja-build \
+ openssh-client \
+ perl-base \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-setuptools \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-venv \
+ python3-wheel \
+ python3-yaml \
+ rpm2cpio \
+ sed \
+ sparse \
+ systemtap-sdt-dev \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ texinfo \
+ xfslibs-dev \
+ zlib1g-dev && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
@@ -141,11 +141,11 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
RUN /usr/bin/pip3 install meson==0.56.0
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
# Apply patch https://reviews.llvm.org/D75820
# This is required for TSan in clang-10 to compile with QEMU.
RUN sed -i 's/^const/static const/g' /usr/lib/llvm-10/lib/clang/10.0.0/include/sanitizer/tsan_interface.h
diff --git a/tests/lcitool/libvirt-ci b/tests/lcitool/libvirt-ci
index e3712b7912..a2633997ff 160000
--- a/tests/lcitool/libvirt-ci
+++ b/tests/lcitool/libvirt-ci
@@ -1 +1 @@
-Subproject commit e3712b79122180fdb3b7a7ea8cbee47ece253f97
+Subproject commit a2633997ffb3830acc96c98c70122885d83bebf4
diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
index e45c99adbe..ce0b24c0b1 100755
--- a/tests/lcitool/refresh
+++ b/tests/lcitool/refresh
@@ -93,7 +93,7 @@ debian11_extras = [
]
-def debian_cross_build(prefix, targets):
+def cross_build(prefix, targets):
conf = "ENV QEMU_CONFIGURE_OPTS --cross-prefix=%s\n" % (prefix)
targets = "ENV DEF_TARGET_LIST %s\n" % (targets)
return "".join([conf, targets])
@@ -121,45 +121,55 @@ try:
#
generate_dockerfile("debian-amd64-cross", "debian-11",
cross="x86_64",
- trailer=debian_cross_build("x86_64-linux-gnu-",
- "x86_64-softmmu,"
- "x86_64-linux-user,"
- "i386-softmmu,i386-linux-user"))
+ trailer=cross_build("x86_64-linux-gnu-",
+ "x86_64-softmmu,"
+ "x86_64-linux-user,"
+ "i386-softmmu,i386-linux-user"))
generate_dockerfile("debian-arm64-cross", "debian-11",
cross="aarch64",
- trailer=debian_cross_build("aarch64-linux-gnu-",
- "aarch64-softmmu,aarch64-linux-user"))
+ trailer=cross_build("aarch64-linux-gnu-",
+ "aarch64-softmmu,aarch64-linux-user"))
generate_dockerfile("debian-armel-cross", "debian-11",
cross="armv6l",
- trailer=debian_cross_build("arm-linux-gnueabi-",
- "arm-softmmu,arm-linux-user,armeb-linux-user"))
+ trailer=cross_build("arm-linux-gnueabi-",
+ "arm-softmmu,arm-linux-user,armeb-linux-user"))
generate_dockerfile("debian-armhf-cross", "debian-11",
cross="armv7l",
- trailer=debian_cross_build("arm-linux-gnueabihf-",
- "arm-softmmu,arm-linux-user"))
+ trailer=cross_build("arm-linux-gnueabihf-",
+ "arm-softmmu,arm-linux-user"))
generate_dockerfile("debian-mips64el-cross", "debian-11",
cross="mips64el",
- trailer=debian_cross_build("mips64el-linux-gnuabi64-",
- "mips64el-softmmu,mips64el-linux-user"))
+ trailer=cross_build("mips64el-linux-gnuabi64-",
+ "mips64el-softmmu,mips64el-linux-user"))
generate_dockerfile("debian-mipsel-cross", "debian-11",
cross="mipsel",
- trailer=debian_cross_build("mipsel-linux-gnu-",
- "mipsel-softmmu,mipsel-linux-user"))
+ trailer=cross_build("mipsel-linux-gnu-",
+ "mipsel-softmmu,mipsel-linux-user"))
generate_dockerfile("debian-ppc64el-cross", "debian-11",
cross="ppc64le",
- trailer=debian_cross_build("powerpc64le-linux-gnu-",
- "ppc64-softmmu,ppc64-linux-user"))
+ trailer=cross_build("powerpc64le-linux-gnu-",
+ "ppc64-softmmu,ppc64-linux-user"))
generate_dockerfile("debian-s390x-cross", "debian-11",
cross="s390x",
- trailer=debian_cross_build("s390x-linux-gnu-",
- "s390x-softmmu,s390x-linux-user"))
+ trailer=cross_build("s390x-linux-gnu-",
+ "s390x-softmmu,s390x-linux-user"))
+
+ generate_dockerfile("fedora-win32-cross", "fedora-35",
+ cross="mingw32",
+ trailer=cross_build("i686-w64-mingw32-",
+ "i386-softmmu"))
+
+ generate_dockerfile("fedora-win64-cross", "fedora-35",
+ cross="mingw64",
+ trailer=cross_build("x86_64-w64-mingw32-",
+ "x86_64-softmmu"))
#
# Cirrus packages lists for GitLab
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 02/26] tests/docker: update test-mingw to run single build
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
2022-10-20 11:51 ` [PATCH v3 01/26] tests/docker: update fedora-win[32|64]-cross with lcitool Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 11:51 ` [PATCH v3 03/26] tests/docker: Add flex/bison to `debian-all-test` Alex Bennée
` (24 subsequent siblings)
26 siblings, 0 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Philippe Mathieu-Daudé, Thomas Huth,
Wainer dos Santos Moschetta, Beraldo Leal
While the test-build test happily run for mingw the test-mingw case
runs more of the packaging inline with what our CI does. It however
fails if we don't find both compilers and expects to be run on a
docker image with both.
Remove that distinction and make it work more like the other build
test scripts.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/docker/test-mingw | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw
index 0bc6d78872..18366972eb 100755
--- a/tests/docker/test-mingw
+++ b/tests/docker/test-mingw
@@ -13,14 +13,12 @@
. common.rc
-requires_binary x86_64-w64-mingw32-gcc
-requires_binary i686-w64-mingw32-gcc
+requires_binary x86_64-w64-mingw32-gcc i686-w64-mingw32-gcc
cd "$BUILD_DIR"
-for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
- TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
- build_qemu --cross-prefix=$prefix \
+TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
+build_qemu \
--enable-trace-backends=simple \
--enable-gnutls \
--enable-nettle \
@@ -29,8 +27,6 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
--enable-bzip2 \
--enable-guest-agent \
--enable-docs
- install_qemu
- make installer
- make clean
-
-done
+install_qemu
+make installer
+make clean
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 03/26] tests/docker: Add flex/bison to `debian-all-test`
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
2022-10-20 11:51 ` [PATCH v3 01/26] tests/docker: update fedora-win[32|64]-cross with lcitool Alex Bennée
2022-10-20 11:51 ` [PATCH v3 02/26] tests/docker: update test-mingw to run single build Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 11:54 ` Thomas Huth
2022-10-20 11:51 ` [PATCH v3 04/26] configure: don't enable cross compilers unless in target_list Alex Bennée
` (23 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Anton Johansson, Alex Bennée, Philippe Mathieu-Daudé,
Thomas Huth, Wainer dos Santos Moschetta, Beraldo Leal
From: Anton Johansson <anjo@rev.ng>
Adds flex/bison to the debian-all-test-cross container which was missed
in the previous CI patch. These dependencies are required by the
idef-parser patchset for target/hexagon.
Signed-off-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221011173229.57909-1-anjo@rev.ng>
---
tests/docker/dockerfiles/debian-all-test-cross.docker | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker b/tests/docker/dockerfiles/debian-all-test-cross.docker
index 2beb077fb4..8dc5e1b5de 100644
--- a/tests/docker/dockerfiles/debian-all-test-cross.docker
+++ b/tests/docker/dockerfiles/debian-all-test-cross.docker
@@ -20,8 +20,10 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
# Add extra build tools and as many cross compilers as we can for testing
RUN DEBIAN_FRONTEND=noninteractive eatmydata \
apt install -y --no-install-recommends \
+ bison \
ccache \
clang \
+ flex \
git \
ninja-build \
gcc-aarch64-linux-gnu \
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 04/26] configure: don't enable cross compilers unless in target_list
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (2 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 03/26] tests/docker: Add flex/bison to `debian-all-test` Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 22:10 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 05/26] configure: fix the --enable-static --disable-pie case Alex Bennée
` (22 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée
This avoids the unfortunate effect of always builds the pc-bios blobs
for targets the user isn't interested in.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/configure b/configure
index 81561be7c1..dd6f58dcde 100755
--- a/configure
+++ b/configure
@@ -1877,6 +1877,15 @@ probe_target_compiler() {
container_cross_ranlib=
container_cross_strip=
+ # We shall skip configuring the target compiler if the user didn't
+ # bother enabling an appropriate guest. This avoids building
+ # extraneous firmware images and tests.
+ if test "${target_list#*$1}" != "$1"; then
+ break;
+ else
+ return 1
+ fi
+
target_arch=${1%%-*}
case $target_arch in
aarch64) container_hosts="x86_64 aarch64" ;;
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 05/26] configure: fix the --enable-static --disable-pie case
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (3 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 04/26] configure: don't enable cross compilers unless in target_list Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 22:09 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 06/26] tests/avocado: extend the timeout for x86_64 tcg tests Alex Bennée
` (21 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée
The previous tweak was incomplete as it missed a leg.
Fixes: abafb64b6d (configure: explicitly set cflags for --disable-pie)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index dd6f58dcde..8c2c4c1a04 100755
--- a/configure
+++ b/configure
@@ -1327,6 +1327,8 @@ static THREAD int tls_var;
int main(void) { return tls_var; }
EOF
+# Meson currently only handles pie as a boolean for now so if we have
+# explicitly disabled PIE we need to extend our cflags because it wont.
if test "$static" = "yes"; then
if test "$pie" != "no" && compile_prog "-Werror -fPIE -DPIE" "-static-pie"; then
CONFIGURE_CFLAGS="-fPIE -DPIE $CONFIGURE_CFLAGS"
@@ -1335,13 +1337,12 @@ if test "$static" = "yes"; then
error_exit "-static-pie not available due to missing toolchain support"
else
pie="no"
+ QEMU_CFLAGS="-fno-pie -no-pie $QEMU_CFLAGS"
fi
elif test "$pie" = "no"; then
if compile_prog "-Werror -fno-pie" "-no-pie"; then
CONFIGURE_CFLAGS="-fno-pie $CONFIGURE_CFLAGS"
CONFIGURE_LDFLAGS="-no-pie $CONFIGURE_LDFLAGS"
- # Meson currently only handles pie as a boolean for now so if we have
- # explicitly disabled PIE we need to extend our cflags because it wont.
QEMU_CFLAGS="-fno-pie -no-pie $QEMU_CFLAGS"
fi
elif compile_prog "-Werror -fPIE -DPIE" "-pie"; then
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 06/26] tests/avocado: extend the timeout for x86_64 tcg tests
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (4 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 05/26] configure: fix the --enable-static --disable-pie case Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 13:05 ` Thomas Huth
2022-10-20 22:11 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 07/26] tests/docker: Add flex/bison to `debian-hexagon-cross` Alex Bennée
` (20 subsequent siblings)
26 siblings, 2 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
These are timeing out on gitlab.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/avocado/boot_linux.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
index b7522ad3a1..571d33882a 100644
--- a/tests/avocado/boot_linux.py
+++ b/tests/avocado/boot_linux.py
@@ -19,6 +19,7 @@ class BootLinuxX8664(LinuxTest):
"""
:avocado: tags=arch:x86_64
"""
+ timeout = 480
def test_pc_i440fx_tcg(self):
"""
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 07/26] tests/docker: Add flex/bison to `debian-hexagon-cross`
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (5 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 06/26] tests/avocado: extend the timeout for x86_64 tcg tests Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 11:55 ` Thomas Huth
2022-10-20 11:51 ` [PATCH v3 08/26] tests/tcg: use regular semihosting for nios2-softmmu Alex Bennée
` (19 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Anton Johansson, Alex Bennée, Philippe Mathieu-Daudé,
Thomas Huth, Wainer dos Santos Moschetta, Beraldo Leal
From: Anton Johansson <anjo@rev.ng>
debian-hexagon-cross contains two images, one to build the toolchain
used for building the Hexagon tests themselves, and one image to build
QEMU and run the tests.
This commit adds flex/bison to the final image that builds QEMU so that
it can also build idef-parser.
Note: This container is not built by the CI and needs to be rebuilt and
updated manually.
Signed-off-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20221014223642.147845-1-anjo@rev.ng>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/docker/dockerfiles/debian-hexagon-cross.docker | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/docker/dockerfiles/debian-hexagon-cross.docker b/tests/docker/dockerfiles/debian-hexagon-cross.docker
index 8d219bb81d..c4238e893f 100644
--- a/tests/docker/dockerfiles/debian-hexagon-cross.docker
+++ b/tests/docker/dockerfiles/debian-hexagon-cross.docker
@@ -43,7 +43,7 @@ RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.lis
# Install QEMU build deps for use in CI
RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
- DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy git ninja-build && \
+ DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy bison flex git ninja-build && \
DEBIAN_FRONTEND=noninteractive eatmydata \
apt build-dep -yy --arch-only qemu
COPY --from=0 /usr/local /usr/local
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 08/26] tests/tcg: use regular semihosting for nios2-softmmu
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (6 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 07/26] tests/docker: Add flex/bison to `debian-hexagon-cross` Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 22:12 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 09/26] semihosting/arm-compat-semi: Avoid using hardcoded /tmp Alex Bennée
` (18 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée
The nios2 code now plugs into the common semihosting code so we can
use the same redirect invocation as the other boards. There is however
a bug raised for the fact the tests don't seem to be completing
properly and silently passing anyway:
https://gitlab.com/qemu-project/qemu/-/issues/1258
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/tcg/nios2/Makefile.softmmu-target | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/tcg/nios2/Makefile.softmmu-target b/tests/tcg/nios2/Makefile.softmmu-target
index c3d0594a39..bc7fd55060 100644
--- a/tests/tcg/nios2/Makefile.softmmu-target
+++ b/tests/tcg/nios2/Makefile.softmmu-target
@@ -25,8 +25,7 @@ LDFLAGS += -Wl,-T$(LINK_SCRIPT) -static -nostdlib $(CRT_OBJS) -lgcc
%: %.o $(LINK_SCRIPT) $(CRT_OBJS)
$(call quiet-command, $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS), LD, $@)
-# FIXME: nios2 semihosting writes to stdout, not a chardev
-QEMU_OPTS = -M 10m50-ghrd,vic=on -semihosting >$@.out -kernel
+QEMU_OPTS = -M 10m50-ghrd,vic=on -semihosting-config enable=on,target=native,chardev=output -kernel
memory: CFLAGS+=-DCHECK_UNALIGNED=0
TESTS += $(MULTIARCH_TESTS)
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 09/26] semihosting/arm-compat-semi: Avoid using hardcoded /tmp
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (7 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 08/26] tests/tcg: use regular semihosting for nios2-softmmu Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 15:53 ` Philippe Mathieu-Daudé
2022-10-20 22:13 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 10/26] tcg: " Alex Bennée
` (17 subsequent siblings)
26 siblings, 2 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Alex Bennée
From: Bin Meng <bin.meng@windriver.com>
Use g_get_tmp_dir() to get the directory to use for temporary files.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221006151927.2079583-2-bmeng.cn@gmail.com>
---
semihosting/arm-compat-semi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/semihosting/arm-compat-semi.c b/semihosting/arm-compat-semi.c
index bfea9e9337..62d8bae97f 100644
--- a/semihosting/arm-compat-semi.c
+++ b/semihosting/arm-compat-semi.c
@@ -503,7 +503,8 @@ void do_common_semihosting(CPUState *cs)
GET_ARG(0);
GET_ARG(1);
GET_ARG(2);
- len = asprintf(&s, "/tmp/qemu-%x%02x", getpid(), (int)arg1 & 0xff);
+ len = asprintf(&s, "%s/qemu-%x%02x", g_get_tmp_dir(),
+ getpid(), (int)arg1 & 0xff);
if (len < 0) {
common_semi_set_ret(cs, -1);
break;
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 10/26] tcg: Avoid using hardcoded /tmp
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (8 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 09/26] semihosting/arm-compat-semi: Avoid using hardcoded /tmp Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 15:54 ` Philippe Mathieu-Daudé
2022-10-20 11:51 ` [PATCH v3 11/26] util/qemu-sockets: Use g_get_tmp_dir() to get the directory for temporary files Alex Bennée
` (16 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Marc-André Lureau, Alex Bennée,
Richard Henderson
From: Bin Meng <bin.meng@windriver.com>
Use g_get_tmp_dir() to get the directory to use for temporary files.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221006151927.2079583-3-bmeng.cn@gmail.com>
---
tcg/tcg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 612a12f58f..84921b64f7 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -4729,7 +4729,8 @@ static void tcg_register_jit_int(const void *buf_ptr, size_t buf_size,
/* Enable this block to be able to debug the ELF image file creation.
One can use readelf, objdump, or other inspection utilities. */
{
- FILE *f = fopen("/tmp/qemu.jit", "w+b");
+ g_autofree char *jit = g_strdup_printf("%s/qemu.jit", g_get_tmp_dir());
+ FILE *f = fopen(jit, "w+b");
if (f) {
if (fwrite(img, img_size, 1, f) != img_size) {
/* Avoid stupid unused return value warning for fwrite. */
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 11/26] util/qemu-sockets: Use g_get_tmp_dir() to get the directory for temporary files
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (9 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 10/26] tcg: " Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 15:58 ` Philippe Mathieu-Daudé
2022-10-20 11:51 ` [PATCH v3 12/26] block/vvfat: Unify the mkdir() call Alex Bennée
` (15 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Marc-André Lureau, Alex Bennée
From: Bin Meng <bin.meng@windriver.com>
Replace the existing logic to get the directory for temporary files
with g_get_tmp_dir(), which works for win32 too.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221006151927.2079583-4-bmeng.cn@gmail.com>
---
util/qemu-sockets.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/util/qemu-sockets.c b/util/qemu-sockets.c
index 83f4bd6fd2..0c41ca9e42 100644
--- a/util/qemu-sockets.c
+++ b/util/qemu-sockets.c
@@ -919,9 +919,8 @@ static int unix_listen_saddr(UnixSocketAddress *saddr,
if (saddr->path[0] || abstract) {
path = saddr->path;
} else {
- const char *tmpdir = getenv("TMPDIR");
- tmpdir = tmpdir ? tmpdir : "/tmp";
- path = pathbuf = g_strdup_printf("%s/qemu-socket-XXXXXX", tmpdir);
+ path = pathbuf = g_strdup_printf("%s/qemu-socket-XXXXXX",
+ g_get_tmp_dir());
}
pathlen = strlen(path);
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 12/26] block/vvfat: Unify the mkdir() call
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (10 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 11/26] util/qemu-sockets: Use g_get_tmp_dir() to get the directory for temporary files Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 15:59 ` Philippe Mathieu-Daudé
2022-10-21 8:10 ` Kevin Wolf
2022-10-20 11:51 ` [PATCH v3 13/26] fsdev/virtfs-proxy-helper: Use g_mkdir() Alex Bennée
` (14 subsequent siblings)
26 siblings, 2 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Marc-André Lureau, Alex Bennée, Kevin Wolf,
Hanna Reitz, open list:vvfat
From: Bin Meng <bin.meng@windriver.com>
There is a difference in the mkdir() call for win32 and non-win32
platforms, and currently is handled in the codes with #ifdefs.
glib provides a portable g_mkdir() API and we can use it to unify
the codes without #ifdefs.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221006151927.2079583-6-bmeng.cn@gmail.com>
---
block/vvfat.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index d6dd919683..723beef025 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -25,6 +25,7 @@
#include "qemu/osdep.h"
#include <dirent.h>
+#include <glib/gstdio.h>
#include "qapi/error.h"
#include "block/block_int.h"
#include "block/qdict.h"
@@ -2726,13 +2727,9 @@ static int handle_renames_and_mkdirs(BDRVVVFATState* s)
mapping_t* mapping;
int j, parent_path_len;
-#ifdef __MINGW32__
- if (mkdir(commit->path))
+ if (g_mkdir(commit->path, 0755)) {
return -5;
-#else
- if (mkdir(commit->path, 0755))
- return -5;
-#endif
+ }
mapping = insert_mapping(s, commit->param.mkdir.cluster,
commit->param.mkdir.cluster + 1);
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 13/26] fsdev/virtfs-proxy-helper: Use g_mkdir()
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (11 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 12/26] block/vvfat: Unify the mkdir() call Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 15:59 ` Philippe Mathieu-Daudé
2022-10-25 13:37 ` Christian Schoenebeck
2022-10-20 11:51 ` [PATCH v3 14/26] hw/usb: dev-mtp: " Alex Bennée
` (13 subsequent siblings)
26 siblings, 2 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Christian Schoenebeck, Alex Bennée, Greg Kurz
From: Bin Meng <bin.meng@windriver.com>
Use g_mkdir() to create a directory on all platforms.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221006151927.2079583-7-bmeng.cn@gmail.com>
---
fsdev/virtfs-proxy-helper.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c
index 2dde27922f..5cafcd7703 100644
--- a/fsdev/virtfs-proxy-helper.c
+++ b/fsdev/virtfs-proxy-helper.c
@@ -10,6 +10,7 @@
*/
#include "qemu/osdep.h"
+#include <glib/gstdio.h>
#include <sys/resource.h>
#include <getopt.h>
#include <syslog.h>
@@ -639,7 +640,7 @@ static int do_create_others(int type, struct iovec *iovec)
if (retval < 0) {
goto err_out;
}
- retval = mkdir(path.data, mode);
+ retval = g_mkdir(path.data, mode);
break;
case T_SYMLINK:
retval = proxy_unmarshal(iovec, offset, "ss", &oldpath, &path);
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 14/26] hw/usb: dev-mtp: Use g_mkdir()
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (12 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 13/26] fsdev/virtfs-proxy-helper: Use g_mkdir() Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 16:00 ` Philippe Mathieu-Daudé
2022-10-20 11:51 ` [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits Alex Bennée
` (12 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Gerd Hoffmann, Alex Bennée
From: Bin Meng <bin.meng@windriver.com>
Use g_mkdir() to create a directory on all platforms.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221006151927.2079583-8-bmeng.cn@gmail.com>
---
hw/usb/dev-mtp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c
index 5831395cef..1cac1cd435 100644
--- a/hw/usb/dev-mtp.c
+++ b/hw/usb/dev-mtp.c
@@ -14,7 +14,7 @@
#include "qemu/error-report.h"
#include <wchar.h>
#include <dirent.h>
-
+#include <glib/gstdio.h>
#include <sys/statvfs.h>
@@ -1622,7 +1622,7 @@ static void usb_mtp_write_data(MTPState *s, uint32_t handle)
if (s->dataset.filename) {
path = g_strdup_printf("%s/%s", parent->path, s->dataset.filename);
if (s->dataset.format == FMT_ASSOCIATION) {
- ret = mkdir(path, mask);
+ ret = g_mkdir(path, mask);
if (!ret) {
usb_mtp_queue_result(s, RES_OK, d->trans, 3,
QEMU_STORAGE_ID,
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (13 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 14/26] hw/usb: dev-mtp: " Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 16:01 ` Philippe Mathieu-Daudé
2022-10-27 16:02 ` Thomas Huth
2022-10-20 11:51 ` [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files Alex Bennée
` (11 subsequent siblings)
26 siblings, 2 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée
Changes to the build files are a bit special in that they usually go
through other maintainer trees. However considering the build system
is the root of everything a developer is likely to do we should at
least set it out in MAINTAINERS.
I'm going to nominate Paolo for meson stuff given the conversion was
his passion project. I'm happy to cast an eye over configure stuff
considering a lot of the cross compile logic is in there anyway.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
---
v2
- s/Odd Fixes/Maintained/
- nominate more reviewers
---
MAINTAINERS | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e3d5b7e09c..6a6f4d62bd 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3764,6 +3764,30 @@ F: docs/about/deprecated.rst
Build System
------------
+Meson
+M: Paolo Bonzini <pbonzini@redhat.com>
+R: Marc-André Lureau <marcandre.lureau@redhat.com>
+R: Daniel P. Berrange <berrange@redhat.com>
+R: Thomas Huth <thuth@redhat.com>
+R: Philippe Mathieu-Daudé <philmd@linaro.org>
+S: Maintained
+F: meson.build
+F: meson_options.txt
+F: scripts/meson-buildoptions.*
+F: scripts/check_sparse.py
+F: scripts/entitlement.sh
+F: scripts/symlink-install-tree.py
+F: scripts/nsis.py
+
+TL Makefile and configure
+M: Paolo Bonzini <pbonzini@redhat.com>
+R: Alex Bennée <alex.bennee@linaro.org>
+S: Maintained
+F: Makefile
+F: configure
+F: scripts/mtest2make.py
+F: tests/Makefile.include
+
GIT submodules
M: Daniel P. Berrange <berrange@redhat.com>
S: Odd Fixes
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (14 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits Alex Bennée
@ 2022-10-20 11:51 ` Alex Bennée
2022-10-20 22:16 ` Richard Henderson
2022-10-24 13:06 ` Philippe Mathieu-Daudé
2022-10-20 11:52 ` [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes Alex Bennée
` (10 subsequent siblings)
26 siblings, 2 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:51 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 6a6f4d62bd..0f4c50e8eb 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2693,6 +2693,7 @@ F: gdbstub/*
F: include/exec/gdbstub.h
F: gdb-xml/
F: tests/tcg/multiarch/gdbstub/
+F: scripts/feature_to_c.sh
Memory API
M: Paolo Bonzini <pbonzini@redhat.com>
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (15 preceding siblings ...)
2022-10-20 11:51 ` [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 16:02 ` Philippe Mathieu-Daudé
2022-10-20 22:16 ` Richard Henderson
2022-10-20 11:52 ` [PATCH v3 18/26] tests/avocado: set -machine none for userfwd and vnc tests Alex Bennée
` (9 subsequent siblings)
26 siblings, 2 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
MAINTAINERS | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0f4c50e8eb..1b41daba88 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3727,8 +3727,7 @@ Guest Test Compilation Support
M: Alex Bennée <alex.bennee@linaro.org>
R: Philippe Mathieu-Daudé <philmd@linaro.org>
S: Maintained
-F: tests/tcg/Makefile
-F: tests/tcg/Makefile.include
+F: tests/tcg/Makefile.target
Integration Testing with the Avocado framework
W: https://trello.com/b/6Qi1pxVn/avocado-qemu
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 18/26] tests/avocado: set -machine none for userfwd and vnc tests
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (16 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 16:03 ` Philippe Mathieu-Daudé
2022-10-20 11:52 ` [PATCH v3 19/26] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping Alex Bennée
` (8 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
These are exercising core QEMU features and don't actually run code.
Not specifying a machine will fail when avocado chooses the native
arch binary to run. Be explicit.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/avocado/info_usernet.py | 3 +++
tests/avocado/vnc.py | 1 +
2 files changed, 4 insertions(+)
diff --git a/tests/avocado/info_usernet.py b/tests/avocado/info_usernet.py
index b862a47dba..fdc4d90c42 100644
--- a/tests/avocado/info_usernet.py
+++ b/tests/avocado/info_usernet.py
@@ -14,6 +14,9 @@
class InfoUsernet(QemuSystemTest):
+ """
+ :avocado: tags=machine:none
+ """
def test_hostfwd(self):
self.require_netdev('user')
diff --git a/tests/avocado/vnc.py b/tests/avocado/vnc.py
index 187fd3febc..aeeefc70be 100644
--- a/tests/avocado/vnc.py
+++ b/tests/avocado/vnc.py
@@ -53,6 +53,7 @@ def find_free_ports(count: int) -> List[int]:
class Vnc(QemuSystemTest):
"""
:avocado: tags=vnc,quick
+ :avocado: tags=machine:none
"""
def test_no_vnc(self):
self.vm.add_args('-nodefaults', '-S')
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 19/26] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (17 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 18/26] tests/avocado: set -machine none for userfwd and vnc tests Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 15:48 ` Philippe Mathieu-Daudé
2022-10-27 16:03 ` Thomas Huth
2022-10-20 11:52 ` [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab Alex Bennée
` (7 subsequent siblings)
26 siblings, 2 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Peter Maydell, Alex Bennée, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
From: Peter Maydell <peter.maydell@linaro.org>
The avocado test
tests/avocado/boot_linux_console.py:BootLinuxConsole.test_arm_raspi2_initrd
finishes wiith
exec_command(self, 'halt')
# Wait for VM to shut down gracefully
self.vm.wait()
In theory this should be fine. In practice it runs into two bugs:
* when the test calls self.vm.wait() Avocado closes the socket
connection to the guest serial console immediately, so the
avocado logs don't have the last part of the guest output:
https://gitlab.com/qemu-project/qemu/-/issues/1265
* when the socket is closed, a bug in the QEMU socket chardev
means that it loses any data that the guest UART has not
yet consumed. This means that the guest doesn't always read
the full 'halt' command string, so the test intermittently
fails with a timeout:
https://gitlab.com/qemu-project/qemu/-/issues/1264
Work around both of these by waiting for the guest to print the
string that means it has completed the shutdown process. This fixes
a very long standing intermittent failure in this test.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/636
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221020102012.3015662-1-peter.maydell@linaro.org>
---
tests/avocado/boot_linux_console.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py
index ca9d09b0d7..eed4b49e6e 100644
--- a/tests/avocado/boot_linux_console.py
+++ b/tests/avocado/boot_linux_console.py
@@ -489,7 +489,7 @@ def test_arm_raspi2_initrd(self):
'BCM2835')
exec_command_and_wait_for_pattern(self, 'cat /proc/iomem',
'/soc/cprman@7e101000')
- exec_command(self, 'halt')
+ exec_command_and_wait_for_pattern(self, 'halt', 'reboot: System halted')
# Wait for VM to shut down gracefully
self.vm.wait()
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (18 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 19/26] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 15:49 ` Philippe Mathieu-Daudé
` (2 more replies)
2022-10-20 11:52 ` [PATCH v3 21/26] tests/tcg: re-enable linux-test for sh4 Alex Bennée
` (6 subsequent siblings)
26 siblings, 3 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Thomas Huth, Yoshinori Sato, Magnus Damm,
Philippe Mathieu-Daudé, Wainer dos Santos Moschetta,
Beraldo Leal
Running repeated invocations on a number of test boxes show a fairly
high error rate:
$ retry.py -n 100 -c -- ./tests/venv/bin/avocado run tests/avocado/boot_linux_console.py:BootLinuxConsole.test_sh4_r2d
retry.py called with ['./tests/venv/bin/avocado', 'run', 'tests/avocado/boot_linux_console.py:BootLinuxConsole.test_sh4_r2d']
Results:
Run, Ret, Pass/Fail, Time, Total Pass, Total Run
...
Results summary:
0: 94 times (94.00%), avg time 2.254 (0.00 varience/0.04 deviation)
1: 3 times (3.00%), avg time 1.837 (0.02 varience/0.14 deviation)
8: 3 times (3.00%), avg time 91.288 (0.02 varience/0.15 deviation)
Examining the logs they fall into various categories of un-handled
unaligned access by user space and unexpected FPU usage by the kernel
which ultimately lead to the failure to reach the login prompt. This
could be bugs in the translator that only get hit occasionally or just
a flaky kernel - its hard to tell. To avoid these failures gating CI
lets skip on GitLab.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Thomas Huth <thuth@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Magnus Damm <magnus.damm@gmail.com>
---
tests/avocado/boot_linux_console.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py
index eed4b49e6e..26eaf1a119 100644
--- a/tests/avocado/boot_linux_console.py
+++ b/tests/avocado/boot_linux_console.py
@@ -1175,6 +1175,10 @@ def test_ppc_mac99(self):
self.vm.add_args('-M', 'graphics=off')
self.do_test_advcal_2018('15', tar_hash, 'invaders.elf')
+ # This test has a 6-10% failure rate on various hosts that look
+ # like issues with a buggy kernel. As a result we don't want it
+ # gating releases on Gitlab.
+ @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
def test_sh4_r2d(self):
"""
:avocado: tags=arch:sh4
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 21/26] tests/tcg: re-enable linux-test for sh4
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (19 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 15:50 ` Philippe Mathieu-Daudé
2022-10-20 11:52 ` [PATCH v3 22/26] tests/tcg: re-enable threadcount " Alex Bennée
` (5 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Yoshinori Sato
This test was marked as broken due to bug #704 which was fixed by
aee14c77f4 (linux-user: Rewrite do_getdents, do_getdents64). Local
testing shows this is solid now so lets re-enable the test.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
---
tests/tcg/sh4/Makefile.target | 6 ------
1 file changed, 6 deletions(-)
diff --git a/tests/tcg/sh4/Makefile.target b/tests/tcg/sh4/Makefile.target
index 35ebe6b4e3..32b019bdf1 100644
--- a/tests/tcg/sh4/Makefile.target
+++ b/tests/tcg/sh4/Makefile.target
@@ -13,12 +13,6 @@ run-signals: signals
run-plugin-signals-with-%:
$(call skip-test, $<, "BROKEN")
-# This test is currently broken: https://gitlab.com/qemu-project/qemu/-/issues/704
-run-linux-test: linux-test
- $(call skip-test, $<, "BROKEN")
-run-plugin-linux-test-with-%:
- $(call skip-test, $<, "BROKEN")
-
# This test is currently unreliable: https://gitlab.com/qemu-project/qemu/-/issues/856
run-threadcount:
$(call skip-test, $<, "BROKEN")
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 22/26] tests/tcg: re-enable threadcount for sh4
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (20 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 21/26] tests/tcg: re-enable linux-test for sh4 Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 16:03 ` Philippe Mathieu-Daudé
2022-10-20 11:52 ` [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc Alex Bennée
` (4 subsequent siblings)
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Yoshinori Sato
This test was marked as broken due to bug #856 which was fixed by
ab419fd8a0 (target/sh4: Fix TB_FLAG_UNALIGN). Local testing shows this
is solid now so lets re-enable the test.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
---
tests/tcg/sh4/Makefile.target | 6 ------
1 file changed, 6 deletions(-)
diff --git a/tests/tcg/sh4/Makefile.target b/tests/tcg/sh4/Makefile.target
index 32b019bdf1..47c39a44b6 100644
--- a/tests/tcg/sh4/Makefile.target
+++ b/tests/tcg/sh4/Makefile.target
@@ -12,9 +12,3 @@ run-signals: signals
$(call skip-test, $<, "BROKEN")
run-plugin-signals-with-%:
$(call skip-test, $<, "BROKEN")
-
-# This test is currently unreliable: https://gitlab.com/qemu-project/qemu/-/issues/856
-run-threadcount:
- $(call skip-test, $<, "BROKEN")
-run-plugin-threadcount-with-%:
- $(call skip-test, $<, "BROKEN")
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (21 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 22/26] tests/tcg: re-enable threadcount " Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 12:06 ` Richard Henderson
` (2 more replies)
2022-10-20 11:52 ` [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns Alex Bennée
` (3 subsequent siblings)
26 siblings, 3 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Richard Henderson, David Hildenbrand,
Cornelia Huck, Thomas Huth, open list:S390 TCG CPUs
This isn't an translator picking up an instruction so we shouldn't use
the translator_lduw function which has side effects for plugins.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
target/s390x/tcg/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index 1d2dddab1c..f4de8efe3a 100644
--- a/target/s390x/tcg/translate.c
+++ b/target/s390x/tcg/translate.c
@@ -6612,7 +6612,7 @@ static void s390x_tr_insn_start(DisasContextBase *dcbase, CPUState *cs)
static target_ulong get_next_pc(CPUS390XState *env, DisasContext *s,
uint64_t pc)
{
- uint64_t insn = ld_code2(env, s, pc);
+ uint64_t insn = cpu_lduw_code(env, pc);
return pc + get_ilen((insn >> 8) & 0xff);
}
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (22 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 12:06 ` Richard Henderson
` (2 more replies)
2022-10-20 11:52 ` [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex' Alex Bennée
` (2 subsequent siblings)
26 siblings, 3 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Richard Henderson, David Hildenbrand,
Cornelia Huck, Thomas Huth, open list:S390 TCG CPUs
We have finished the TB anyway so we can shortcut the other tests by
checking dc->ex_value first.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
target/s390x/tcg/translate.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index f4de8efe3a..95279e5dc3 100644
--- a/target/s390x/tcg/translate.c
+++ b/target/s390x/tcg/translate.c
@@ -6624,9 +6624,9 @@ static void s390x_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
dc->base.is_jmp = translate_one(env, dc);
if (dc->base.is_jmp == DISAS_NEXT) {
- if (!is_same_page(dcbase, dc->base.pc_next) ||
- !is_same_page(dcbase, get_next_pc(env, dc, dc->base.pc_next)) ||
- dc->ex_value) {
+ if (dc->ex_value ||
+ !is_same_page(dcbase, dc->base.pc_next) ||
+ !is_same_page(dcbase, get_next_pc(env, dc, dc->base.pc_next))) {
dc->base.is_jmp = DISAS_TOO_MANY;
}
}
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex'
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (23 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-20 12:06 ` Richard Henderson
` (2 more replies)
2022-10-20 11:52 ` [PATCH v3 26/26] tests/tcg: include CONFIG_PLUGIN in config-host.mak Alex Bennée
2022-10-27 15:06 ` [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Bin Meng
26 siblings, 3 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Richard Henderson, David Hildenbrand,
Cornelia Huck, Thomas Huth, open list:S390 TCG CPUs
The s390x EXecute instruction is a bit weird as we synthesis the
executed instruction from what we have stored in memory. This missed
the plugin instrumentation.
Work around this with a special helper to inform the rest of the
translator about the instruction so things stay consistent.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Richard Henderson <richard.henderson@linaro.org>
---
v2
- s/w/b/ for translator_fake_ldb
- add comment to extract_insn
- reword commit message
---
include/exec/translator.h | 17 +++++++++++++++++
target/s390x/tcg/translate.c | 6 ++++++
2 files changed, 23 insertions(+)
diff --git a/include/exec/translator.h b/include/exec/translator.h
index 3b77f5f4aa..af2ff95cd5 100644
--- a/include/exec/translator.h
+++ b/include/exec/translator.h
@@ -211,6 +211,23 @@ translator_ldq_swap(CPUArchState *env, DisasContextBase *db,
return ret;
}
+/**
+ * translator_fake_ldb - fake instruction load
+ * @insn8: byte of instruction
+ * @pc: program counter of instruction
+ *
+ * This is a special case helper used where the instruction we are
+ * about to translate comes from somewhere else (e.g. being
+ * re-synthesised for s390x "ex"). It ensures we update other areas of
+ * the translator with details of the executed instruction.
+ */
+
+static inline void translator_fake_ldb(uint8_t insn8, abi_ptr pc)
+{
+ plugin_insn_append(pc, &insn8, sizeof(insn8));
+}
+
+
/*
* Return whether addr is on the same page as where disassembly started.
* Translators can use this to enforce the rule that only single-insn
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index 95279e5dc3..8101f5f569 100644
--- a/target/s390x/tcg/translate.c
+++ b/target/s390x/tcg/translate.c
@@ -6317,12 +6317,18 @@ static const DisasInsn *extract_insn(CPUS390XState *env, DisasContext *s)
if (unlikely(s->ex_value)) {
/* Drop the EX data now, so that it's clear on exception paths. */
TCGv_i64 zero = tcg_const_i64(0);
+ int i;
tcg_gen_st_i64(zero, cpu_env, offsetof(CPUS390XState, ex_value));
tcg_temp_free_i64(zero);
/* Extract the values saved by EXECUTE. */
insn = s->ex_value & 0xffffffffffff0000ull;
ilen = s->ex_value & 0xf;
+ /* register insn bytes with translator so plugins work */
+ for (i = 0; i < ilen; i++) {
+ uint8_t byte = extract64(insn, 56 - (i * 8), 8);
+ translator_fake_ldb(byte, pc + i);
+ }
op = insn >> 56;
} else {
insn = ld_code2(env, s, pc);
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* [PATCH v3 26/26] tests/tcg: include CONFIG_PLUGIN in config-host.mak
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (24 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex' Alex Bennée
@ 2022-10-20 11:52 ` Alex Bennée
2022-10-27 16:11 ` Thomas Huth
2022-10-27 15:06 ` [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Bin Meng
26 siblings, 1 reply; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 11:52 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée
From: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221013131304.623740-1-pbonzini@redhat.com>
---
configure | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure b/configure
index 8c2c4c1a04..4275f5419f 100755
--- a/configure
+++ b/configure
@@ -2486,6 +2486,9 @@ echo "HOST_CC=$host_cc" >> $config_host_mak
if test -n "$gdb_bin"; then
echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
fi
+if test "$plugins" = "yes" ; then
+ echo "CONFIG_PLUGIN=y" >> $config_host_mak
+fi
tcg_tests_targets=
for target in $target_list; do
--
2.34.1
^ permalink raw reply related [flat|nested] 72+ messages in thread
* Re: [PATCH v3 03/26] tests/docker: Add flex/bison to `debian-all-test`
2022-10-20 11:51 ` [PATCH v3 03/26] tests/docker: Add flex/bison to `debian-all-test` Alex Bennée
@ 2022-10-20 11:54 ` Thomas Huth
0 siblings, 0 replies; 72+ messages in thread
From: Thomas Huth @ 2022-10-20 11:54 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Anton Johansson, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
On 20/10/2022 13.51, Alex Bennée wrote:
> From: Anton Johansson <anjo@rev.ng>
>
> Adds flex/bison to the debian-all-test-cross container which was missed
> in the previous CI patch. These dependencies are required by the
> idef-parser patchset for target/hexagon.
>
> Signed-off-by: Anton Johansson <anjo@rev.ng>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221011173229.57909-1-anjo@rev.ng>
> ---
> tests/docker/dockerfiles/debian-all-test-cross.docker | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker b/tests/docker/dockerfiles/debian-all-test-cross.docker
> index 2beb077fb4..8dc5e1b5de 100644
> --- a/tests/docker/dockerfiles/debian-all-test-cross.docker
> +++ b/tests/docker/dockerfiles/debian-all-test-cross.docker
> @@ -20,8 +20,10 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
> # Add extra build tools and as many cross compilers as we can for testing
> RUN DEBIAN_FRONTEND=noninteractive eatmydata \
> apt install -y --no-install-recommends \
> + bison \
> ccache \
> clang \
> + flex \
> git \
> ninja-build \
> gcc-aarch64-linux-gnu \
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 07/26] tests/docker: Add flex/bison to `debian-hexagon-cross`
2022-10-20 11:51 ` [PATCH v3 07/26] tests/docker: Add flex/bison to `debian-hexagon-cross` Alex Bennée
@ 2022-10-20 11:55 ` Thomas Huth
0 siblings, 0 replies; 72+ messages in thread
From: Thomas Huth @ 2022-10-20 11:55 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Anton Johansson, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
On 20/10/2022 13.51, Alex Bennée wrote:
> From: Anton Johansson <anjo@rev.ng>
>
> debian-hexagon-cross contains two images, one to build the toolchain
> used for building the Hexagon tests themselves, and one image to build
> QEMU and run the tests.
>
> This commit adds flex/bison to the final image that builds QEMU so that
> it can also build idef-parser.
>
> Note: This container is not built by the CI and needs to be rebuilt and
> updated manually.
>
> Signed-off-by: Anton Johansson <anjo@rev.ng>
> Message-Id: <20221014223642.147845-1-anjo@rev.ng>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/docker/dockerfiles/debian-hexagon-cross.docker | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/docker/dockerfiles/debian-hexagon-cross.docker b/tests/docker/dockerfiles/debian-hexagon-cross.docker
> index 8d219bb81d..c4238e893f 100644
> --- a/tests/docker/dockerfiles/debian-hexagon-cross.docker
> +++ b/tests/docker/dockerfiles/debian-hexagon-cross.docker
> @@ -43,7 +43,7 @@ RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.lis
> # Install QEMU build deps for use in CI
> RUN apt update && \
> DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
> - DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy git ninja-build && \
> + DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy bison flex git ninja-build && \
> DEBIAN_FRONTEND=noninteractive eatmydata \
> apt build-dep -yy --arch-only qemu
> COPY --from=0 /usr/local /usr/local
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex'
2022-10-20 11:52 ` [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex' Alex Bennée
@ 2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:24 ` David Hildenbrand
2022-10-21 10:56 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 12:06 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
David Hildenbrand, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On 10/20/22 21:52, Alex Bennée wrote:
> The s390x EXecute instruction is a bit weird as we synthesis the
> executed instruction from what we have stored in memory. This missed
> the plugin instrumentation.
>
> Work around this with a special helper to inform the rest of the
> translator about the instruction so things stay consistent.
>
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> Cc: Richard Henderson<richard.henderson@linaro.org>
>
> ---
> v2
> - s/w/b/ for translator_fake_ldb
> - add comment to extract_insn
> - reword commit message
> ---
> include/exec/translator.h | 17 +++++++++++++++++
> target/s390x/tcg/translate.c | 6 ++++++
> 2 files changed, 23 insertions(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc
2022-10-20 11:52 ` [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc Alex Bennée
@ 2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:22 ` David Hildenbrand
2022-10-21 10:35 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 12:06 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
David Hildenbrand, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On 10/20/22 21:52, Alex Bennée wrote:
> This isn't an translator picking up an instruction so we shouldn't use
> the translator_lduw function which has side effects for plugins.
>
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
> target/s390x/tcg/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns
2022-10-20 11:52 ` [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns Alex Bennée
@ 2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:22 ` David Hildenbrand
2022-10-21 10:37 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 12:06 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
David Hildenbrand, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On 10/20/22 21:52, Alex Bennée wrote:
> We have finished the TB anyway so we can shortcut the other tests by
> checking dc->ex_value first.
>
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
> target/s390x/tcg/translate.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 06/26] tests/avocado: extend the timeout for x86_64 tcg tests
2022-10-20 11:51 ` [PATCH v3 06/26] tests/avocado: extend the timeout for x86_64 tcg tests Alex Bennée
@ 2022-10-20 13:05 ` Thomas Huth
2022-10-20 22:11 ` Richard Henderson
1 sibling, 0 replies; 72+ messages in thread
From: Thomas Huth @ 2022-10-20 13:05 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Philippe Mathieu-Daudé, Wainer dos Santos Moschetta,
Beraldo Leal
On 20/10/2022 13.51, Alex Bennée wrote:
> These are timeing out on gitlab.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/avocado/boot_linux.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
> index b7522ad3a1..571d33882a 100644
> --- a/tests/avocado/boot_linux.py
> +++ b/tests/avocado/boot_linux.py
> @@ -19,6 +19,7 @@ class BootLinuxX8664(LinuxTest):
> """
> :avocado: tags=arch:x86_64
> """
> + timeout = 480
>
> def test_pc_i440fx_tcg(self):
> """
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc
2022-10-20 11:52 ` [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc Alex Bennée
2022-10-20 12:06 ` Richard Henderson
@ 2022-10-20 13:22 ` David Hildenbrand
2022-10-21 10:35 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: David Hildenbrand @ 2022-10-20 13:22 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Richard Henderson, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On 20.10.22 13:52, Alex Bennée wrote:
> This isn't an translator picking up an instruction so we shouldn't use
> the translator_lduw function which has side effects for plugins.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> target/s390x/tcg/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
> index 1d2dddab1c..f4de8efe3a 100644
> --- a/target/s390x/tcg/translate.c
> +++ b/target/s390x/tcg/translate.c
> @@ -6612,7 +6612,7 @@ static void s390x_tr_insn_start(DisasContextBase *dcbase, CPUState *cs)
> static target_ulong get_next_pc(CPUS390XState *env, DisasContext *s,
> uint64_t pc)
> {
> - uint64_t insn = ld_code2(env, s, pc);
> + uint64_t insn = cpu_lduw_code(env, pc);
>
> return pc + get_ilen((insn >> 8) & 0xff);
> }
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns
2022-10-20 11:52 ` [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns Alex Bennée
2022-10-20 12:06 ` Richard Henderson
@ 2022-10-20 13:22 ` David Hildenbrand
2022-10-21 10:37 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: David Hildenbrand @ 2022-10-20 13:22 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Richard Henderson, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On 20.10.22 13:52, Alex Bennée wrote:
> We have finished the TB anyway so we can shortcut the other tests by
> checking dc->ex_value first.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> target/s390x/tcg/translate.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
> index f4de8efe3a..95279e5dc3 100644
> --- a/target/s390x/tcg/translate.c
> +++ b/target/s390x/tcg/translate.c
> @@ -6624,9 +6624,9 @@ static void s390x_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
>
> dc->base.is_jmp = translate_one(env, dc);
> if (dc->base.is_jmp == DISAS_NEXT) {
> - if (!is_same_page(dcbase, dc->base.pc_next) ||
> - !is_same_page(dcbase, get_next_pc(env, dc, dc->base.pc_next)) ||
> - dc->ex_value) {
> + if (dc->ex_value ||
> + !is_same_page(dcbase, dc->base.pc_next) ||
> + !is_same_page(dcbase, get_next_pc(env, dc, dc->base.pc_next))) {
> dc->base.is_jmp = DISAS_TOO_MANY;
> }
> }
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex'
2022-10-20 11:52 ` [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex' Alex Bennée
2022-10-20 12:06 ` Richard Henderson
@ 2022-10-20 13:24 ` David Hildenbrand
2022-10-21 10:56 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: David Hildenbrand @ 2022-10-20 13:24 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Richard Henderson, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On 20.10.22 13:52, Alex Bennée wrote:
> The s390x EXecute instruction is a bit weird as we synthesis the
> executed instruction from what we have stored in memory. This missed
> the plugin instrumentation.
>
> Work around this with a special helper to inform the rest of the
> translator about the instruction so things stay consistent.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Richard Henderson <richard.henderson@linaro.org>
>
> ---
> v2
> - s/w/b/ for translator_fake_ldb
> - add comment to extract_insn
> - reword commit message
> ---
> include/exec/translator.h | 17 +++++++++++++++++
> target/s390x/tcg/translate.c | 6 ++++++
> 2 files changed, 23 insertions(+)
>
> diff --git a/include/exec/translator.h b/include/exec/translator.h
> index 3b77f5f4aa..af2ff95cd5 100644
> --- a/include/exec/translator.h
> +++ b/include/exec/translator.h
> @@ -211,6 +211,23 @@ translator_ldq_swap(CPUArchState *env, DisasContextBase *db,
> return ret;
> }
>
> +/**
> + * translator_fake_ldb - fake instruction load
> + * @insn8: byte of instruction
> + * @pc: program counter of instruction
> + *
> + * This is a special case helper used where the instruction we are
> + * about to translate comes from somewhere else (e.g. being
> + * re-synthesised for s390x "ex"). It ensures we update other areas of
> + * the translator with details of the executed instruction.
> + */
> +
> +static inline void translator_fake_ldb(uint8_t insn8, abi_ptr pc)
> +{
> + plugin_insn_append(pc, &insn8, sizeof(insn8));
> +}
> +
> +
^ nit: one emtpy line would have been sufficient
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 19/26] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping
2022-10-20 11:52 ` [PATCH v3 19/26] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping Alex Bennée
@ 2022-10-20 15:48 ` Philippe Mathieu-Daudé
2022-10-27 16:03 ` Thomas Huth
1 sibling, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 15:48 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Peter Maydell, Wainer dos Santos Moschetta, Beraldo Leal
On 20/10/22 13:52, Alex Bennée wrote:
> From: Peter Maydell <peter.maydell@linaro.org>
>
> The avocado test
> tests/avocado/boot_linux_console.py:BootLinuxConsole.test_arm_raspi2_initrd
> finishes wiith
Typo "with".
>
> exec_command(self, 'halt')
> # Wait for VM to shut down gracefully
> self.vm.wait()
>
> In theory this should be fine. In practice it runs into two bugs:
>
> * when the test calls self.vm.wait() Avocado closes the socket
> connection to the guest serial console immediately, so the
> avocado logs don't have the last part of the guest output:
> https://gitlab.com/qemu-project/qemu/-/issues/1265
> * when the socket is closed, a bug in the QEMU socket chardev
> means that it loses any data that the guest UART has not
> yet consumed. This means that the guest doesn't always read
> the full 'halt' command string, so the test intermittently
> fails with a timeout:
> https://gitlab.com/qemu-project/qemu/-/issues/1264
>
> Work around both of these by waiting for the guest to print the
> string that means it has completed the shutdown process. This fixes
> a very long standing intermittent failure in this test.
>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/636
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221020102012.3015662-1-peter.maydell@linaro.org>
> ---
> tests/avocado/boot_linux_console.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab
2022-10-20 11:52 ` [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab Alex Bennée
@ 2022-10-20 15:49 ` Philippe Mathieu-Daudé
2022-10-20 15:56 ` Alex Bennée
2022-10-21 11:59 ` Alex Bennée
2 siblings, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 15:49 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Thomas Huth, Yoshinori Sato, Magnus Damm,
Wainer dos Santos Moschetta, Beraldo Leal
On 20/10/22 13:52, Alex Bennée wrote:
> Running repeated invocations on a number of test boxes show a fairly
> high error rate:
>
> $ retry.py -n 100 -c -- ./tests/venv/bin/avocado run tests/avocado/boot_linux_console.py:BootLinuxConsole.test_sh4_r2d
> retry.py called with ['./tests/venv/bin/avocado', 'run', 'tests/avocado/boot_linux_console.py:BootLinuxConsole.test_sh4_r2d']
> Results:
> Run, Ret, Pass/Fail, Time, Total Pass, Total Run
> ...
> Results summary:
> 0: 94 times (94.00%), avg time 2.254 (0.00 varience/0.04 deviation)
> 1: 3 times (3.00%), avg time 1.837 (0.02 varience/0.14 deviation)
> 8: 3 times (3.00%), avg time 91.288 (0.02 varience/0.15 deviation)
>
> Examining the logs they fall into various categories of un-handled
> unaligned access by user space and unexpected FPU usage by the kernel
> which ultimately lead to the failure to reach the login prompt. This
> could be bugs in the translator that only get hit occasionally or just
> a flaky kernel - its hard to tell. To avoid these failures gating CI
> lets skip on GitLab.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Thomas Huth <thuth@redhat.com>
> Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> ---
> tests/avocado/boot_linux_console.py | 4 ++++
> 1 file changed, 4 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 21/26] tests/tcg: re-enable linux-test for sh4
2022-10-20 11:52 ` [PATCH v3 21/26] tests/tcg: re-enable linux-test for sh4 Alex Bennée
@ 2022-10-20 15:50 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 15:50 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Yoshinori Sato
On 20/10/22 13:52, Alex Bennée wrote:
> This test was marked as broken due to bug #704 which was fixed by
> aee14c77f4 (linux-user: Rewrite do_getdents, do_getdents64). Local
> testing shows this is solid now so lets re-enable the test.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> ---
> tests/tcg/sh4/Makefile.target | 6 ------
> 1 file changed, 6 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 09/26] semihosting/arm-compat-semi: Avoid using hardcoded /tmp
2022-10-20 11:51 ` [PATCH v3 09/26] semihosting/arm-compat-semi: Avoid using hardcoded /tmp Alex Bennée
@ 2022-10-20 15:53 ` Philippe Mathieu-Daudé
2022-10-20 22:13 ` Richard Henderson
1 sibling, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 15:53 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng
On 20/10/22 13:51, Alex Bennée wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> Use g_get_tmp_dir() to get the directory to use for temporary files.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221006151927.2079583-2-bmeng.cn@gmail.com>
> ---
> semihosting/arm-compat-semi.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 10/26] tcg: Avoid using hardcoded /tmp
2022-10-20 11:51 ` [PATCH v3 10/26] tcg: " Alex Bennée
@ 2022-10-20 15:54 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 15:54 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Marc-André Lureau, Richard Henderson
On 20/10/22 13:51, Alex Bennée wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> Use g_get_tmp_dir() to get the directory to use for temporary files.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221006151927.2079583-3-bmeng.cn@gmail.com>
> ---
> tcg/tcg.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab
2022-10-20 11:52 ` [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab Alex Bennée
2022-10-20 15:49 ` Philippe Mathieu-Daudé
@ 2022-10-20 15:56 ` Alex Bennée
2022-10-21 11:59 ` Alex Bennée
2 siblings, 0 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-20 15:56 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Thomas Huth, Yoshinori Sato, Magnus Damm,
Philippe Mathieu-Daudé, Wainer dos Santos Moschetta,
Beraldo Leal, Richard Henderson
Alex Bennée <alex.bennee@linaro.org> writes:
> Running repeated invocations on a number of test boxes show a fairly
> high error rate:
>
> $ retry.py -n 100 -c -- ./tests/venv/bin/avocado run tests/avocado/boot_linux_console.py:BootLinuxConsole.test_sh4_r2d
> retry.py called with ['./tests/venv/bin/avocado', 'run', 'tests/avocado/boot_linux_console.py:BootLinuxConsole.test_sh4_r2d']
> Results:
> Run, Ret, Pass/Fail, Time, Total Pass, Total Run
> ...
> Results summary:
> 0: 94 times (94.00%), avg time 2.254 (0.00 varience/0.04 deviation)
> 1: 3 times (3.00%), avg time 1.837 (0.02 varience/0.14 deviation)
> 8: 3 times (3.00%), avg time 91.288 (0.02 varience/0.15 deviation)
>
> Examining the logs they fall into various categories of un-handled
> unaligned access by user space and unexpected FPU usage by the kernel
> which ultimately lead to the failure to reach the login prompt. This
> could be bugs in the translator that only get hit occasionally or just
> a flaky kernel - its hard to tell. To avoid these failures gating CI
> lets skip on GitLab.
I've managed to bisect this regression to ab419fd8a0 (target/sh4: Fix
TB_FLAG_UNALIGN).
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Thomas Huth <thuth@redhat.com>
> Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> ---
> tests/avocado/boot_linux_console.py | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py
> index eed4b49e6e..26eaf1a119 100644
> --- a/tests/avocado/boot_linux_console.py
> +++ b/tests/avocado/boot_linux_console.py
> @@ -1175,6 +1175,10 @@ def test_ppc_mac99(self):
> self.vm.add_args('-M', 'graphics=off')
> self.do_test_advcal_2018('15', tar_hash, 'invaders.elf')
>
> + # This test has a 6-10% failure rate on various hosts that look
> + # like issues with a buggy kernel. As a result we don't want it
> + # gating releases on Gitlab.
> + @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
> def test_sh4_r2d(self):
> """
> :avocado: tags=arch:sh4
--
Alex Bennée
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 11/26] util/qemu-sockets: Use g_get_tmp_dir() to get the directory for temporary files
2022-10-20 11:51 ` [PATCH v3 11/26] util/qemu-sockets: Use g_get_tmp_dir() to get the directory for temporary files Alex Bennée
@ 2022-10-20 15:58 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 15:58 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Marc-André Lureau
On 20/10/22 13:51, Alex Bennée wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> Replace the existing logic to get the directory for temporary files
> with g_get_tmp_dir(), which works for win32 too.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221006151927.2079583-4-bmeng.cn@gmail.com>
> ---
> util/qemu-sockets.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/util/qemu-sockets.c b/util/qemu-sockets.c
> index 83f4bd6fd2..0c41ca9e42 100644
> --- a/util/qemu-sockets.c
> +++ b/util/qemu-sockets.c
> @@ -919,9 +919,8 @@ static int unix_listen_saddr(UnixSocketAddress *saddr,
> if (saddr->path[0] || abstract) {
> path = saddr->path;
> } else {
> - const char *tmpdir = getenv("TMPDIR");
> - tmpdir = tmpdir ? tmpdir : "/tmp";
> - path = pathbuf = g_strdup_printf("%s/qemu-socket-XXXXXX", tmpdir);
> + path = pathbuf = g_strdup_printf("%s/qemu-socket-XXXXXX",
> + g_get_tmp_dir());
IIUC this code is not reachable on win32; anyhow using g_get_tmp_dir()
is a good cleanup for the codebase.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 12/26] block/vvfat: Unify the mkdir() call
2022-10-20 11:51 ` [PATCH v3 12/26] block/vvfat: Unify the mkdir() call Alex Bennée
@ 2022-10-20 15:59 ` Philippe Mathieu-Daudé
2022-10-21 8:10 ` Kevin Wolf
1 sibling, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 15:59 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Marc-André Lureau, Kevin Wolf, Hanna Reitz,
open list:vvfat
On 20/10/22 13:51, Alex Bennée wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> There is a difference in the mkdir() call for win32 and non-win32
> platforms, and currently is handled in the codes with #ifdefs.
>
> glib provides a portable g_mkdir() API and we can use it to unify
> the codes without #ifdefs.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221006151927.2079583-6-bmeng.cn@gmail.com>
> ---
> block/vvfat.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 13/26] fsdev/virtfs-proxy-helper: Use g_mkdir()
2022-10-20 11:51 ` [PATCH v3 13/26] fsdev/virtfs-proxy-helper: Use g_mkdir() Alex Bennée
@ 2022-10-20 15:59 ` Philippe Mathieu-Daudé
2022-10-25 13:37 ` Christian Schoenebeck
1 sibling, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 15:59 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Christian Schoenebeck, Greg Kurz
On 20/10/22 13:51, Alex Bennée wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> Use g_mkdir() to create a directory on all platforms.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221006151927.2079583-7-bmeng.cn@gmail.com>
> ---
> fsdev/virtfs-proxy-helper.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 14/26] hw/usb: dev-mtp: Use g_mkdir()
2022-10-20 11:51 ` [PATCH v3 14/26] hw/usb: dev-mtp: " Alex Bennée
@ 2022-10-20 16:00 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 16:00 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Gerd Hoffmann
On 20/10/22 13:51, Alex Bennée wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> Use g_mkdir() to create a directory on all platforms.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221006151927.2079583-8-bmeng.cn@gmail.com>
> ---
> hw/usb/dev-mtp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits
2022-10-20 11:51 ` [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits Alex Bennée
@ 2022-10-20 16:01 ` Philippe Mathieu-Daudé
2022-10-27 16:02 ` Thomas Huth
1 sibling, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 16:01 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 20/10/22 13:51, Alex Bennée wrote:
> Changes to the build files are a bit special in that they usually go
> through other maintainer trees. However considering the build system
> is the root of everything a developer is likely to do we should at
> least set it out in MAINTAINERS.
>
> I'm going to nominate Paolo for meson stuff given the conversion was
> his passion project. I'm happy to cast an eye over configure stuff
> considering a lot of the cross compile logic is in there anyway.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
>
> ---
> v2
> - s/Odd Fixes/Maintained/
> - nominate more reviewers
> ---
> MAINTAINERS | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index e3d5b7e09c..6a6f4d62bd 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -3764,6 +3764,30 @@ F: docs/about/deprecated.rst
>
> Build System
> ------------
> +Meson
> +M: Paolo Bonzini <pbonzini@redhat.com>
> +R: Marc-André Lureau <marcandre.lureau@redhat.com>
> +R: Daniel P. Berrange <berrange@redhat.com>
> +R: Thomas Huth <thuth@redhat.com>
> +R: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> +S: Maintained
> +F: meson.build
> +F: meson_options.txt
> +F: scripts/meson-buildoptions.*
> +F: scripts/check_sparse.py
> +F: scripts/entitlement.sh
> +F: scripts/symlink-install-tree.py
> +F: scripts/nsis.py
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes
2022-10-20 11:52 ` [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes Alex Bennée
@ 2022-10-20 16:02 ` Philippe Mathieu-Daudé
2022-10-20 22:16 ` Richard Henderson
1 sibling, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 16:02 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 20/10/22 13:52, Alex Bennée wrote:
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> MAINTAINERS | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 0f4c50e8eb..1b41daba88 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -3727,8 +3727,7 @@ Guest Test Compilation Support
> M: Alex Bennée <alex.bennee@linaro.org>
> R: Philippe Mathieu-Daudé <philmd@linaro.org>
> S: Maintained
> -F: tests/tcg/Makefile
> -F: tests/tcg/Makefile.include
> +F: tests/tcg/Makefile.target
Fixes: fc76c56d3f ("tests/tcg: cleanup Makefile inclusions")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 18/26] tests/avocado: set -machine none for userfwd and vnc tests
2022-10-20 11:52 ` [PATCH v3 18/26] tests/avocado: set -machine none for userfwd and vnc tests Alex Bennée
@ 2022-10-20 16:03 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 16:03 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Wainer dos Santos Moschetta, Beraldo Leal
On 20/10/22 13:52, Alex Bennée wrote:
> These are exercising core QEMU features and don't actually run code.
> Not specifying a machine will fail when avocado chooses the native
> arch binary to run. Be explicit.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/avocado/info_usernet.py | 3 +++
> tests/avocado/vnc.py | 1 +
> 2 files changed, 4 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 22/26] tests/tcg: re-enable threadcount for sh4
2022-10-20 11:52 ` [PATCH v3 22/26] tests/tcg: re-enable threadcount " Alex Bennée
@ 2022-10-20 16:03 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-20 16:03 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Yoshinori Sato
On 20/10/22 13:52, Alex Bennée wrote:
> This test was marked as broken due to bug #856 which was fixed by
> ab419fd8a0 (target/sh4: Fix TB_FLAG_UNALIGN). Local testing shows this
> is solid now so lets re-enable the test.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> ---
> tests/tcg/sh4/Makefile.target | 6 ------
> 1 file changed, 6 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 01/26] tests/docker: update fedora-win[32|64]-cross with lcitool
2022-10-20 11:51 ` [PATCH v3 01/26] tests/docker: update fedora-win[32|64]-cross with lcitool Alex Bennée
@ 2022-10-20 22:07 ` Richard Henderson
0 siblings, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 22:07 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Philippe Mathieu-Daudé, Thomas Huth,
Wainer dos Santos Moschetta, Beraldo Leal
On 10/20/22 21:51, Alex Bennée wrote:
> Convert another two dockerfiles to lcitool and update. I renamed the
> helper because it is not Debian specific. We need an updated lcitool
> for this to deal with the weirdness of a 32bit nsis tool for both 32
> and 64 bit builds. As a result there are some minor whitespace and
> re-order changes in a bunch of the docker files.
>
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> Message-Id:<20220929114231.583801-10-alex.bennee@linaro.org>
> ---
> tests/docker/dockerfiles/alpine.docker | 2 +-
> tests/docker/dockerfiles/centos8.docker | 2 +-
> .../dockerfiles/debian-amd64-cross.docker | 234 ++++++++---------
> tests/docker/dockerfiles/debian-amd64.docker | 236 +++++++++---------
> .../dockerfiles/debian-arm64-cross.docker | 232 ++++++++---------
> .../dockerfiles/debian-armel-cross.docker | 230 ++++++++---------
> .../dockerfiles/debian-armhf-cross.docker | 232 ++++++++---------
> .../dockerfiles/debian-mips64el-cross.docker | 226 ++++++++---------
> .../dockerfiles/debian-mipsel-cross.docker | 226 ++++++++---------
> .../dockerfiles/debian-ppc64el-cross.docker | 230 ++++++++---------
> .../dockerfiles/debian-s390x-cross.docker | 228 ++++++++---------
> .../dockerfiles/fedora-win32-cross.docker | 139 ++++++++---
> .../dockerfiles/fedora-win64-cross.docker | 138 +++++++---
> tests/docker/dockerfiles/fedora.docker | 230 ++++++++---------
> tests/docker/dockerfiles/opensuse-leap.docker | 2 +-
> tests/docker/dockerfiles/ubuntu2004.docker | 234 ++++++++---------
> tests/lcitool/libvirt-ci | 2 +-
> tests/lcitool/refresh | 48 ++--
> 18 files changed, 1499 insertions(+), 1372 deletions(-)
Acked-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 05/26] configure: fix the --enable-static --disable-pie case
2022-10-20 11:51 ` [PATCH v3 05/26] configure: fix the --enable-static --disable-pie case Alex Bennée
@ 2022-10-20 22:09 ` Richard Henderson
0 siblings, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 22:09 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 10/20/22 21:51, Alex Bennée wrote:
> The previous tweak was incomplete as it missed a leg.
>
> Fixes: abafb64b6d (configure: explicitly set cflags for --disable-pie)
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
> configure | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 04/26] configure: don't enable cross compilers unless in target_list
2022-10-20 11:51 ` [PATCH v3 04/26] configure: don't enable cross compilers unless in target_list Alex Bennée
@ 2022-10-20 22:10 ` Richard Henderson
2023-01-02 13:24 ` Stefan Weil via
0 siblings, 1 reply; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 22:10 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 10/20/22 21:51, Alex Bennée wrote:
> This avoids the unfortunate effect of always builds the pc-bios blobs
> for targets the user isn't interested in.
>
> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> configure | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/configure b/configure
> index 81561be7c1..dd6f58dcde 100755
> --- a/configure
> +++ b/configure
> @@ -1877,6 +1877,15 @@ probe_target_compiler() {
> container_cross_ranlib=
> container_cross_strip=
>
> + # We shall skip configuring the target compiler if the user didn't
> + # bother enabling an appropriate guest. This avoids building
> + # extraneous firmware images and tests.
> + if test "${target_list#*$1}" != "$1"; then
> + break;
> + else
> + return 1
> + fi
> +
> target_arch=${1%%-*}
> case $target_arch in
> aarch64) container_hosts="x86_64 aarch64" ;;
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 06/26] tests/avocado: extend the timeout for x86_64 tcg tests
2022-10-20 11:51 ` [PATCH v3 06/26] tests/avocado: extend the timeout for x86_64 tcg tests Alex Bennée
2022-10-20 13:05 ` Thomas Huth
@ 2022-10-20 22:11 ` Richard Henderson
1 sibling, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 22:11 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Philippe Mathieu-Daudé, Wainer dos Santos Moschetta,
Beraldo Leal
On 10/20/22 21:51, Alex Bennée wrote:
> These are timeing out on gitlab.
timing.
Acked-by: Richard Henderson <richard.henderson@linaro.org>
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/avocado/boot_linux.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
> index b7522ad3a1..571d33882a 100644
> --- a/tests/avocado/boot_linux.py
> +++ b/tests/avocado/boot_linux.py
> @@ -19,6 +19,7 @@ class BootLinuxX8664(LinuxTest):
> """
> :avocado: tags=arch:x86_64
> """
> + timeout = 480
>
> def test_pc_i440fx_tcg(self):
> """
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 08/26] tests/tcg: use regular semihosting for nios2-softmmu
2022-10-20 11:51 ` [PATCH v3 08/26] tests/tcg: use regular semihosting for nios2-softmmu Alex Bennée
@ 2022-10-20 22:12 ` Richard Henderson
0 siblings, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 22:12 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 10/20/22 21:51, Alex Bennée wrote:
> The nios2 code now plugs into the common semihosting code so we can
> use the same redirect invocation as the other boards. There is however
> a bug raised for the fact the tests don't seem to be completing
> properly and silently passing anyway:
>
> https://gitlab.com/qemu-project/qemu/-/issues/1258
>
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
> tests/tcg/nios2/Makefile.softmmu-target | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 09/26] semihosting/arm-compat-semi: Avoid using hardcoded /tmp
2022-10-20 11:51 ` [PATCH v3 09/26] semihosting/arm-compat-semi: Avoid using hardcoded /tmp Alex Bennée
2022-10-20 15:53 ` Philippe Mathieu-Daudé
@ 2022-10-20 22:13 ` Richard Henderson
1 sibling, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 22:13 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng
On 10/20/22 21:51, Alex Bennée wrote:
> From: Bin Meng<bin.meng@windriver.com>
>
> Use g_get_tmp_dir() to get the directory to use for temporary files.
>
> Signed-off-by: Bin Meng<bin.meng@windriver.com>
> Reviewed-by: Alex Bennée<alex.bennee@linaro.org>
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> Message-Id:<20221006151927.2079583-2-bmeng.cn@gmail.com>
> ---
> semihosting/arm-compat-semi.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files
2022-10-20 11:51 ` [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files Alex Bennée
@ 2022-10-20 22:16 ` Richard Henderson
2022-10-24 13:06 ` Philippe Mathieu-Daudé
1 sibling, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 22:16 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 10/20/22 21:51, Alex Bennée wrote:
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> MAINTAINERS | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 6a6f4d62bd..0f4c50e8eb 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2693,6 +2693,7 @@ F: gdbstub/*
> F: include/exec/gdbstub.h
> F: gdb-xml/
> F: tests/tcg/multiarch/gdbstub/
> +F: scripts/feature_to_c.sh
>
> Memory API
> M: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes
2022-10-20 11:52 ` [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes Alex Bennée
2022-10-20 16:02 ` Philippe Mathieu-Daudé
@ 2022-10-20 22:16 ` Richard Henderson
1 sibling, 0 replies; 72+ messages in thread
From: Richard Henderson @ 2022-10-20 22:16 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 10/20/22 21:52, Alex Bennée wrote:
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> MAINTAINERS | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 0f4c50e8eb..1b41daba88 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -3727,8 +3727,7 @@ Guest Test Compilation Support
> M: Alex Bennée <alex.bennee@linaro.org>
> R: Philippe Mathieu-Daudé <philmd@linaro.org>
> S: Maintained
> -F: tests/tcg/Makefile
> -F: tests/tcg/Makefile.include
> +F: tests/tcg/Makefile.target
>
> Integration Testing with the Avocado framework
> W: https://trello.com/b/6Qi1pxVn/avocado-qemu
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 12/26] block/vvfat: Unify the mkdir() call
2022-10-20 11:51 ` [PATCH v3 12/26] block/vvfat: Unify the mkdir() call Alex Bennée
2022-10-20 15:59 ` Philippe Mathieu-Daudé
@ 2022-10-21 8:10 ` Kevin Wolf
1 sibling, 0 replies; 72+ messages in thread
From: Kevin Wolf @ 2022-10-21 8:10 UTC (permalink / raw)
To: Alex Bennée
Cc: qemu-devel, fam, berrange, f4bug, aurelien, pbonzini, stefanha,
crosa, Bin Meng, Marc-André Lureau, Hanna Reitz,
open list:vvfat
Am 20.10.2022 um 13:51 hat Alex Bennée geschrieben:
> From: Bin Meng <bin.meng@windriver.com>
>
> There is a difference in the mkdir() call for win32 and non-win32
> platforms, and currently is handled in the codes with #ifdefs.
>
> glib provides a portable g_mkdir() API and we can use it to unify
> the codes without #ifdefs.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221006151927.2079583-6-bmeng.cn@gmail.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc
2022-10-20 11:52 ` [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc Alex Bennée
2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:22 ` David Hildenbrand
@ 2022-10-21 10:35 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: Ilya Leoshkevich @ 2022-10-21 10:35 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Richard Henderson, David Hildenbrand, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On Thu, 2022-10-20 at 12:52 +0100, Alex Bennée wrote:
> This isn't an translator picking up an instruction so we shouldn't
> use
> the translator_lduw function which has side effects for plugins.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> target/s390x/tcg/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/s390x/tcg/translate.c
> b/target/s390x/tcg/translate.c
> index 1d2dddab1c..f4de8efe3a 100644
> --- a/target/s390x/tcg/translate.c
> +++ b/target/s390x/tcg/translate.c
> @@ -6612,7 +6612,7 @@ static void
> s390x_tr_insn_start(DisasContextBase *dcbase, CPUState *cs)
> static target_ulong get_next_pc(CPUS390XState *env, DisasContext *s,
> uint64_t pc)
> {
> - uint64_t insn = ld_code2(env, s, pc);
> + uint64_t insn = cpu_lduw_code(env, pc);
>
> return pc + get_ilen((insn >> 8) & 0xff);
> }
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns
2022-10-20 11:52 ` [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns Alex Bennée
2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:22 ` David Hildenbrand
@ 2022-10-21 10:37 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: Ilya Leoshkevich @ 2022-10-21 10:37 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Richard Henderson, David Hildenbrand, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On Thu, 2022-10-20 at 12:52 +0100, Alex Bennée wrote:
> We have finished the TB anyway so we can shortcut the other tests by
> checking dc->ex_value first.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> target/s390x/tcg/translate.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/target/s390x/tcg/translate.c
> b/target/s390x/tcg/translate.c
> index f4de8efe3a..95279e5dc3 100644
> --- a/target/s390x/tcg/translate.c
> +++ b/target/s390x/tcg/translate.c
> @@ -6624,9 +6624,9 @@ static void
> s390x_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
>
> dc->base.is_jmp = translate_one(env, dc);
> if (dc->base.is_jmp == DISAS_NEXT) {
> - if (!is_same_page(dcbase, dc->base.pc_next) ||
> - !is_same_page(dcbase, get_next_pc(env, dc, dc-
> >base.pc_next)) ||
> - dc->ex_value) {
> + if (dc->ex_value ||
> + !is_same_page(dcbase, dc->base.pc_next) ||
> + !is_same_page(dcbase, get_next_pc(env, dc, dc-
> >base.pc_next))) {
> dc->base.is_jmp = DISAS_TOO_MANY;
> }
> }
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex'
2022-10-20 11:52 ` [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex' Alex Bennée
2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:24 ` David Hildenbrand
@ 2022-10-21 10:56 ` Ilya Leoshkevich
2 siblings, 0 replies; 72+ messages in thread
From: Ilya Leoshkevich @ 2022-10-21 10:56 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Richard Henderson, David Hildenbrand, Cornelia Huck, Thomas Huth,
open list:S390 TCG CPUs
On Thu, 2022-10-20 at 12:52 +0100, Alex Bennée wrote:
> The s390x EXecute instruction is a bit weird as we synthesis the
> executed instruction from what we have stored in memory. This missed
> the plugin instrumentation.
>
> Work around this with a special helper to inform the rest of the
> translator about the instruction so things stay consistent.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Richard Henderson <richard.henderson@linaro.org>
>
> ---
> v2
> - s/w/b/ for translator_fake_ldb
> - add comment to extract_insn
> - reword commit message
> ---
> include/exec/translator.h | 17 +++++++++++++++++
> target/s390x/tcg/translate.c | 6 ++++++
> 2 files changed, 23 insertions(+)
>
> diff --git a/include/exec/translator.h b/include/exec/translator.h
> index 3b77f5f4aa..af2ff95cd5 100644
> --- a/include/exec/translator.h
> +++ b/include/exec/translator.h
> @@ -211,6 +211,23 @@ translator_ldq_swap(CPUArchState *env,
> DisasContextBase *db,
> return ret;
> }
>
> +/**
> + * translator_fake_ldb - fake instruction load
> + * @insn8: byte of instruction
> + * @pc: program counter of instruction
> + *
> + * This is a special case helper used where the instruction we are
> + * about to translate comes from somewhere else (e.g. being
> + * re-synthesised for s390x "ex"). It ensures we update other areas
> of
> + * the translator with details of the executed instruction.
> + */
> +
> +static inline void translator_fake_ldb(uint8_t insn8, abi_ptr pc)
> +{
> + plugin_insn_append(pc, &insn8, sizeof(insn8));
> +}
> +
> +
> /*
> * Return whether addr is on the same page as where disassembly
> started.
> * Translators can use this to enforce the rule that only single-
> insn
> diff --git a/target/s390x/tcg/translate.c
> b/target/s390x/tcg/translate.c
> index 95279e5dc3..8101f5f569 100644
> --- a/target/s390x/tcg/translate.c
> +++ b/target/s390x/tcg/translate.c
> @@ -6317,12 +6317,18 @@ static const DisasInsn
> *extract_insn(CPUS390XState *env, DisasContext *s)
> if (unlikely(s->ex_value)) {
> /* Drop the EX data now, so that it's clear on exception
> paths. */
> TCGv_i64 zero = tcg_const_i64(0);
> + int i;
> tcg_gen_st_i64(zero, cpu_env, offsetof(CPUS390XState,
> ex_value));
> tcg_temp_free_i64(zero);
>
> /* Extract the values saved by EXECUTE. */
> insn = s->ex_value & 0xffffffffffff0000ull;
> ilen = s->ex_value & 0xf;
> + /* register insn bytes with translator so plugins work */
> + for (i = 0; i < ilen; i++) {
> + uint8_t byte = extract64(insn, 56 - (i * 8), 8);
> + translator_fake_ldb(byte, pc + i);
> + }
> op = insn >> 56;
> } else {
> insn = ld_code2(env, s, pc);
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab
2022-10-20 11:52 ` [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab Alex Bennée
2022-10-20 15:49 ` Philippe Mathieu-Daudé
2022-10-20 15:56 ` Alex Bennée
@ 2022-10-21 11:59 ` Alex Bennée
2 siblings, 0 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-21 11:59 UTC (permalink / raw)
To: qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Alex Bennée, Thomas Huth, Yoshinori Sato, Magnus Damm,
Philippe Mathieu-Daudé, Wainer dos Santos Moschetta,
Beraldo Leal
Alex Bennée <alex.bennee@linaro.org> writes:
> Running repeated invocations on a number of test boxes show a fairly
> high error rate:
>
> $ retry.py -n 100 -c -- ./tests/venv/bin/avocado run tests/avocado/boot_linux_console.py:BootLinuxConsole.test_sh4_r2d
> retry.py called with ['./tests/venv/bin/avocado', 'run', 'tests/avocado/boot_linux_console.py:BootLinuxConsole.test_sh4_r2d']
> Results:
> Run, Ret, Pass/Fail, Time, Total Pass, Total Run
> ...
> Results summary:
> 0: 94 times (94.00%), avg time 2.254 (0.00 varience/0.04 deviation)
> 1: 3 times (3.00%), avg time 1.837 (0.02 varience/0.14 deviation)
> 8: 3 times (3.00%), avg time 91.288 (0.02 varience/0.15 deviation)
>
> Examining the logs they fall into various categories of un-handled
> unaligned access by user space and unexpected FPU usage by the kernel
> which ultimately lead to the failure to reach the login prompt. This
> could be bugs in the translator that only get hit occasionally or just
> a flaky kernel - its hard to tell. To avoid these failures gating CI
> lets skip on GitLab.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Thomas Huth <thuth@redhat.com>
> Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> ---
> tests/avocado/boot_linux_console.py | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py
> index eed4b49e6e..26eaf1a119 100644
> --- a/tests/avocado/boot_linux_console.py
> +++ b/tests/avocado/boot_linux_console.py
> @@ -1175,6 +1175,10 @@ def test_ppc_mac99(self):
> self.vm.add_args('-M', 'graphics=off')
> self.do_test_advcal_2018('15', tar_hash, 'invaders.elf')
>
> + # This test has a 6-10% failure rate on various hosts that look
> + # like issues with a buggy kernel. As a result we don't want it
> + # gating releases on Gitlab.
> + @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
I also forgot to add the import:
from avocado import skipIf
> def test_sh4_r2d(self):
> """
> :avocado: tags=arch:sh4
--
Alex Bennée
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files
2022-10-20 11:51 ` [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files Alex Bennée
2022-10-20 22:16 ` Richard Henderson
@ 2022-10-24 13:06 ` Philippe Mathieu-Daudé
1 sibling, 0 replies; 72+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-24 13:06 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 20/10/22 13:51, Alex Bennée wrote:
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> MAINTAINERS | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 13/26] fsdev/virtfs-proxy-helper: Use g_mkdir()
2022-10-20 11:51 ` [PATCH v3 13/26] fsdev/virtfs-proxy-helper: Use g_mkdir() Alex Bennée
2022-10-20 15:59 ` Philippe Mathieu-Daudé
@ 2022-10-25 13:37 ` Christian Schoenebeck
1 sibling, 0 replies; 72+ messages in thread
From: Christian Schoenebeck @ 2022-10-25 13:37 UTC (permalink / raw)
To: qemu-devel, Alex Bennée
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Bin Meng, Greg Kurz
On Thursday, October 20, 2022 1:51:56 PM CEST Alex Bennée wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> Use g_mkdir() to create a directory on all platforms.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221006151927.2079583-7-bmeng.cn@gmail.com>
> ---
Alex, this patch is already merged on master as
f723f626627fda681327075105701695d7c630e5 by yesterday's 9p PR.
Best regards,
Christian Schoenebeck
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS)
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
` (25 preceding siblings ...)
2022-10-20 11:52 ` [PATCH v3 26/26] tests/tcg: include CONFIG_PLUGIN in config-host.mak Alex Bennée
@ 2022-10-27 15:06 ` Bin Meng
2022-10-27 17:16 ` Alex Bennée
26 siblings, 1 reply; 72+ messages in thread
From: Bin Meng @ 2022-10-27 15:06 UTC (permalink / raw)
To: Alex Bennée
Cc: qemu-devel, fam, berrange, f4bug, aurelien, pbonzini, stefanha,
crosa, Cornelia Huck, Thomas Huth, open list:S390 general arch...
Hi Alex,
On Thu, Oct 20, 2022 at 9:53 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> Hi,
>
> The testing/next changes have accumulated a few more fixes since the
> last posting. Including:
>
> - a bunch of Bin Meng's test cleanups for windows
> - some avocado test fixes and tweaks
> - disabling an sh4 avocado test (possibly a missed recent intermittent regression)
> - enabling some sh4 check-tcg tests (now bugs are fixed)
> - a minor excursion into the s390 translator
>
> The following still need review:
>
> - target/s390x: fake instruction loading when handling 'ex'
> - target/s390x: don't probe next pc for EXecuted insns
> - target/s390x: don't use ld_code2 to probe next pc
> - tests/tcg: re-enable threadcount for sh4
> - tests/tcg: re-enable linux-test for sh4
> - tests/avocado: disable sh4 rd2 tests on Gitlab
> - tests/avocado: set -machine none for userfwd and vnc tests
> - MAINTAINERS: fix-up for check-tcg Makefile changes
> - MAINTAINERS: add features_to_c.sh to gdbstub files
> - MAINTAINERS: add entries for the key build bits
> - tests/tcg: use regular semihosting for nios2-softmmu
> - tests/avocado: extend the timeout for x86_64 tcg tests
> - configure: fix the --enable-static --disable-pie case
> - configure: don't enable cross compilers unless in target_list
> - tests/docker: update fedora-win[32|64]-cross with lcitool
>
> Alex Bennée (16):
> tests/docker: update fedora-win[32|64]-cross with lcitool
> tests/docker: update test-mingw to run single build
> configure: don't enable cross compilers unless in target_list
> configure: fix the --enable-static --disable-pie case
> tests/avocado: extend the timeout for x86_64 tcg tests
> tests/tcg: use regular semihosting for nios2-softmmu
> MAINTAINERS: add entries for the key build bits
> MAINTAINERS: add features_to_c.sh to gdbstub files
> MAINTAINERS: fix-up for check-tcg Makefile changes
> tests/avocado: set -machine none for userfwd and vnc tests
> tests/avocado: disable sh4 rd2 tests on Gitlab
> tests/tcg: re-enable linux-test for sh4
> tests/tcg: re-enable threadcount for sh4
> target/s390x: don't use ld_code2 to probe next pc
> target/s390x: don't probe next pc for EXecuted insns
> target/s390x: fake instruction loading when handling 'ex'
>
> Anton Johansson (2):
> tests/docker: Add flex/bison to `debian-all-test`
> tests/docker: Add flex/bison to `debian-hexagon-cross`
>
> Bin Meng (6):
> semihosting/arm-compat-semi: Avoid using hardcoded /tmp
> tcg: Avoid using hardcoded /tmp
> util/qemu-sockets: Use g_get_tmp_dir() to get the directory for
> temporary files
> block/vvfat: Unify the mkdir() call
> fsdev/virtfs-proxy-helper: Use g_mkdir()
> hw/usb: dev-mtp: Use g_mkdir()
>
> Paolo Bonzini (1):
> tests/tcg: include CONFIG_PLUGIN in config-host.mak
>
> Peter Maydell (1):
> tests/avocado: raspi2_initrd: Wait for guest shutdown message before
> stopping
>
Will the PR be sent soon? Thanks!
Regards,
Bin
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits
2022-10-20 11:51 ` [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits Alex Bennée
2022-10-20 16:01 ` Philippe Mathieu-Daudé
@ 2022-10-27 16:02 ` Thomas Huth
1 sibling, 0 replies; 72+ messages in thread
From: Thomas Huth @ 2022-10-27 16:02 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Stefan Weil
On 20/10/2022 13.51, Alex Bennée wrote:
> Changes to the build files are a bit special in that they usually go
> through other maintainer trees. However considering the build system
> is the root of everything a developer is likely to do we should at
> least set it out in MAINTAINERS.
>
> I'm going to nominate Paolo for meson stuff given the conversion was
> his passion project. I'm happy to cast an eye over configure stuff
> considering a lot of the cross compile logic is in there anyway.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
>
> ---
> v2
> - s/Odd Fixes/Maintained/
> - nominate more reviewers
> ---
> MAINTAINERS | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index e3d5b7e09c..6a6f4d62bd 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -3764,6 +3764,30 @@ F: docs/about/deprecated.rst
>
> Build System
> ------------
> +Meson
> +M: Paolo Bonzini <pbonzini@redhat.com>
> +R: Marc-André Lureau <marcandre.lureau@redhat.com>
> +R: Daniel P. Berrange <berrange@redhat.com>
> +R: Thomas Huth <thuth@redhat.com>
> +R: Philippe Mathieu-Daudé <philmd@linaro.org>
> +S: Maintained
> +F: meson.build
> +F: meson_options.txt
> +F: scripts/meson-buildoptions.*
> +F: scripts/check_sparse.py
> +F: scripts/entitlement.sh
Shouldn't entitlement.sh rather be part of the Darwin/macOS section?
> +F: scripts/symlink-install-tree.py
> +F: scripts/nsis.py
Shouldn't nsis.py rather be part of the W32/W64 section?
> +
> +TL Makefile and configure
TL = Top Level? ... I'd maybe rather would not abbreviate it...
> +M: Paolo Bonzini <pbonzini@redhat.com>
> +R: Alex Bennée <alex.bennee@linaro.org>
> +S: Maintained
> +F: Makefile
> +F: configure
> +F: scripts/mtest2make.py
> +F: tests/Makefile.include
Feel free to add a R: line for me here, too.
Anyway,
Acked-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 19/26] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping
2022-10-20 11:52 ` [PATCH v3 19/26] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping Alex Bennée
2022-10-20 15:48 ` Philippe Mathieu-Daudé
@ 2022-10-27 16:03 ` Thomas Huth
1 sibling, 0 replies; 72+ messages in thread
From: Thomas Huth @ 2022-10-27 16:03 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa,
Peter Maydell, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
On 20/10/2022 13.52, Alex Bennée wrote:
> From: Peter Maydell <peter.maydell@linaro.org>
>
> The avocado test
> tests/avocado/boot_linux_console.py:BootLinuxConsole.test_arm_raspi2_initrd
> finishes wiith
>
> exec_command(self, 'halt')
> # Wait for VM to shut down gracefully
> self.vm.wait()
>
> In theory this should be fine. In practice it runs into two bugs:
>
> * when the test calls self.vm.wait() Avocado closes the socket
> connection to the guest serial console immediately, so the
> avocado logs don't have the last part of the guest output:
> https://gitlab.com/qemu-project/qemu/-/issues/1265
> * when the socket is closed, a bug in the QEMU socket chardev
> means that it loses any data that the guest UART has not
> yet consumed. This means that the guest doesn't always read
> the full 'halt' command string, so the test intermittently
> fails with a timeout:
> https://gitlab.com/qemu-project/qemu/-/issues/1264
>
> Work around both of these by waiting for the guest to print the
> string that means it has completed the shutdown process. This fixes
> a very long standing intermittent failure in this test.
>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/636
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221020102012.3015662-1-peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 26/26] tests/tcg: include CONFIG_PLUGIN in config-host.mak
2022-10-20 11:52 ` [PATCH v3 26/26] tests/tcg: include CONFIG_PLUGIN in config-host.mak Alex Bennée
@ 2022-10-27 16:11 ` Thomas Huth
0 siblings, 0 replies; 72+ messages in thread
From: Thomas Huth @ 2022-10-27 16:11 UTC (permalink / raw)
To: Alex Bennée, qemu-devel, Paolo Bonzini
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
On 20/10/2022 13.52, Alex Bennée wrote:
> From: Paolo Bonzini <pbonzini@redhat.com>
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20221013131304.623740-1-pbonzini@redhat.com>
> ---
> configure | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/configure b/configure
> index 8c2c4c1a04..4275f5419f 100755
> --- a/configure
> +++ b/configure
> @@ -2486,6 +2486,9 @@ echo "HOST_CC=$host_cc" >> $config_host_mak
> if test -n "$gdb_bin"; then
> echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
> fi
> +if test "$plugins" = "yes" ; then
> + echo "CONFIG_PLUGIN=y" >> $config_host_mak
> +fi
Ugh, this is super-confusing that the configuration for
tests/tcg/config-host.mak uses the same variable as the configuration for
the top level config-host.mak ... not the fault of this patch, but we should
maybe disentangle this in the future and rename the variable to
tcg_config_host_mak or something like that.
Anyway, for this patch:
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS)
2022-10-27 15:06 ` [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Bin Meng
@ 2022-10-27 17:16 ` Alex Bennée
0 siblings, 0 replies; 72+ messages in thread
From: Alex Bennée @ 2022-10-27 17:16 UTC (permalink / raw)
To: Bin Meng
Cc: QEMU Developers, Fam Zheng, Daniel P. Berrange,
Philippe Mathieu-Daudé, Aurelien Jarno, Paolo Bonzini,
Stefan Hajnoczi, Cleber Rosa, Cornelia Huck, Thomas Huth,
open list:S390 general arch...
[-- Attachment #1: Type: text/plain, Size: 3434 bytes --]
I've posted an RFC to fix the regression in test-io-command and once that
is reviewed I'll push out the pr.
On Thu, 27 Oct 2022, 16:06 Bin Meng, <bmeng.cn@gmail.com> wrote:
> Hi Alex,
>
> On Thu, Oct 20, 2022 at 9:53 PM Alex Bennée <alex.bennee@linaro.org>
> wrote:
> >
> > Hi,
> >
> > The testing/next changes have accumulated a few more fixes since the
> > last posting. Including:
> >
> > - a bunch of Bin Meng's test cleanups for windows
> > - some avocado test fixes and tweaks
> > - disabling an sh4 avocado test (possibly a missed recent intermittent
> regression)
> > - enabling some sh4 check-tcg tests (now bugs are fixed)
> > - a minor excursion into the s390 translator
> >
> > The following still need review:
> >
> > - target/s390x: fake instruction loading when handling 'ex'
> > - target/s390x: don't probe next pc for EXecuted insns
> > - target/s390x: don't use ld_code2 to probe next pc
> > - tests/tcg: re-enable threadcount for sh4
> > - tests/tcg: re-enable linux-test for sh4
> > - tests/avocado: disable sh4 rd2 tests on Gitlab
> > - tests/avocado: set -machine none for userfwd and vnc tests
> > - MAINTAINERS: fix-up for check-tcg Makefile changes
> > - MAINTAINERS: add features_to_c.sh to gdbstub files
> > - MAINTAINERS: add entries for the key build bits
> > - tests/tcg: use regular semihosting for nios2-softmmu
> > - tests/avocado: extend the timeout for x86_64 tcg tests
> > - configure: fix the --enable-static --disable-pie case
> > - configure: don't enable cross compilers unless in target_list
> > - tests/docker: update fedora-win[32|64]-cross with lcitool
> >
> > Alex Bennée (16):
> > tests/docker: update fedora-win[32|64]-cross with lcitool
> > tests/docker: update test-mingw to run single build
> > configure: don't enable cross compilers unless in target_list
> > configure: fix the --enable-static --disable-pie case
> > tests/avocado: extend the timeout for x86_64 tcg tests
> > tests/tcg: use regular semihosting for nios2-softmmu
> > MAINTAINERS: add entries for the key build bits
> > MAINTAINERS: add features_to_c.sh to gdbstub files
> > MAINTAINERS: fix-up for check-tcg Makefile changes
> > tests/avocado: set -machine none for userfwd and vnc tests
> > tests/avocado: disable sh4 rd2 tests on Gitlab
> > tests/tcg: re-enable linux-test for sh4
> > tests/tcg: re-enable threadcount for sh4
> > target/s390x: don't use ld_code2 to probe next pc
> > target/s390x: don't probe next pc for EXecuted insns
> > target/s390x: fake instruction loading when handling 'ex'
> >
> > Anton Johansson (2):
> > tests/docker: Add flex/bison to `debian-all-test`
> > tests/docker: Add flex/bison to `debian-hexagon-cross`
> >
> > Bin Meng (6):
> > semihosting/arm-compat-semi: Avoid using hardcoded /tmp
> > tcg: Avoid using hardcoded /tmp
> > util/qemu-sockets: Use g_get_tmp_dir() to get the directory for
> > temporary files
> > block/vvfat: Unify the mkdir() call
> > fsdev/virtfs-proxy-helper: Use g_mkdir()
> > hw/usb: dev-mtp: Use g_mkdir()
> >
> > Paolo Bonzini (1):
> > tests/tcg: include CONFIG_PLUGIN in config-host.mak
> >
> > Peter Maydell (1):
> > tests/avocado: raspi2_initrd: Wait for guest shutdown message before
> > stopping
> >
>
> Will the PR be sent soon? Thanks!
>
> Regards,
> Bin
>
[-- Attachment #2: Type: text/html, Size: 4272 bytes --]
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 04/26] configure: don't enable cross compilers unless in target_list
2022-10-20 22:10 ` Richard Henderson
@ 2023-01-02 13:24 ` Stefan Weil via
2023-01-02 20:50 ` Alex Bennée
0 siblings, 1 reply; 72+ messages in thread
From: Stefan Weil via @ 2023-01-02 13:24 UTC (permalink / raw)
To: Richard Henderson, Alex Bennée, qemu-devel
Cc: fam, berrange, f4bug, aurelien, pbonzini, stefanha, crosa
Am 21.10.22 um 00:10 schrieb Richard Henderson:
> On 10/20/22 21:51, Alex Bennée wrote:
>> This avoids the unfortunate effect of always builds the pc-bios blobs
>> for targets the user isn't interested in.
>>
>> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>> configure | 9 +++++++++
>> 1 file changed, 9 insertions(+)
>>
>> diff --git a/configure b/configure
>> index 81561be7c1..dd6f58dcde 100755
>> --- a/configure
>> +++ b/configure
>> @@ -1877,6 +1877,15 @@ probe_target_compiler() {
>> container_cross_ranlib=
>> container_cross_strip=
>> + # We shall skip configuring the target compiler if the user didn't
>> + # bother enabling an appropriate guest. This avoids building
>> + # extraneous firmware images and tests.
>> + if test "${target_list#*$1}" != "$1"; then
>> + break;
Isn't break limited for exiting from for, while, or until loop? (*)
If yes, it's wrongly used here. sh does not complain, but other
shells do.
Stefan
*) https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
^ permalink raw reply [flat|nested] 72+ messages in thread
* Re: [PATCH v3 04/26] configure: don't enable cross compilers unless in target_list
2023-01-02 13:24 ` Stefan Weil via
@ 2023-01-02 20:50 ` Alex Bennée
0 siblings, 0 replies; 72+ messages in thread
From: Alex Bennée @ 2023-01-02 20:50 UTC (permalink / raw)
To: Stefan Weil
Cc: Richard Henderson, qemu-devel, fam, berrange, f4bug, aurelien,
pbonzini, stefanha, crosa
Stefan Weil <sw@weilnetz.de> writes:
> Am 21.10.22 um 00:10 schrieb Richard Henderson:
>> On 10/20/22 21:51, Alex Bennée wrote:
>>> This avoids the unfortunate effect of always builds the pc-bios blobs
>>> for targets the user isn't interested in.
>>>
>>> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
>>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>>> ---
>>> configure | 9 +++++++++
>>> 1 file changed, 9 insertions(+)
>>>
>>> diff --git a/configure b/configure
>>> index 81561be7c1..dd6f58dcde 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -1877,6 +1877,15 @@ probe_target_compiler() {
>>> container_cross_ranlib=
>>> container_cross_strip=
>>> + # We shall skip configuring the target compiler if the user didn't
>>> + # bother enabling an appropriate guest. This avoids building
>>> + # extraneous firmware images and tests.
>>> + if test "${target_list#*$1}" != "$1"; then
>>> + break;
>
>
> Isn't break limited for exiting from for, while, or until loop? (*)
> If yes, it's wrongly used here. sh does not complain, but other
> shells do.
There is already a fix waiting in the PR:
20221223172135.3450109-1-alex.bennee@linaro.org
>
> Stefan
>
> *) https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 72+ messages in thread
end of thread, other threads:[~2023-01-02 20:52 UTC | newest]
Thread overview: 72+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-20 11:51 [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Alex Bennée
2022-10-20 11:51 ` [PATCH v3 01/26] tests/docker: update fedora-win[32|64]-cross with lcitool Alex Bennée
2022-10-20 22:07 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 02/26] tests/docker: update test-mingw to run single build Alex Bennée
2022-10-20 11:51 ` [PATCH v3 03/26] tests/docker: Add flex/bison to `debian-all-test` Alex Bennée
2022-10-20 11:54 ` Thomas Huth
2022-10-20 11:51 ` [PATCH v3 04/26] configure: don't enable cross compilers unless in target_list Alex Bennée
2022-10-20 22:10 ` Richard Henderson
2023-01-02 13:24 ` Stefan Weil via
2023-01-02 20:50 ` Alex Bennée
2022-10-20 11:51 ` [PATCH v3 05/26] configure: fix the --enable-static --disable-pie case Alex Bennée
2022-10-20 22:09 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 06/26] tests/avocado: extend the timeout for x86_64 tcg tests Alex Bennée
2022-10-20 13:05 ` Thomas Huth
2022-10-20 22:11 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 07/26] tests/docker: Add flex/bison to `debian-hexagon-cross` Alex Bennée
2022-10-20 11:55 ` Thomas Huth
2022-10-20 11:51 ` [PATCH v3 08/26] tests/tcg: use regular semihosting for nios2-softmmu Alex Bennée
2022-10-20 22:12 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 09/26] semihosting/arm-compat-semi: Avoid using hardcoded /tmp Alex Bennée
2022-10-20 15:53 ` Philippe Mathieu-Daudé
2022-10-20 22:13 ` Richard Henderson
2022-10-20 11:51 ` [PATCH v3 10/26] tcg: " Alex Bennée
2022-10-20 15:54 ` Philippe Mathieu-Daudé
2022-10-20 11:51 ` [PATCH v3 11/26] util/qemu-sockets: Use g_get_tmp_dir() to get the directory for temporary files Alex Bennée
2022-10-20 15:58 ` Philippe Mathieu-Daudé
2022-10-20 11:51 ` [PATCH v3 12/26] block/vvfat: Unify the mkdir() call Alex Bennée
2022-10-20 15:59 ` Philippe Mathieu-Daudé
2022-10-21 8:10 ` Kevin Wolf
2022-10-20 11:51 ` [PATCH v3 13/26] fsdev/virtfs-proxy-helper: Use g_mkdir() Alex Bennée
2022-10-20 15:59 ` Philippe Mathieu-Daudé
2022-10-25 13:37 ` Christian Schoenebeck
2022-10-20 11:51 ` [PATCH v3 14/26] hw/usb: dev-mtp: " Alex Bennée
2022-10-20 16:00 ` Philippe Mathieu-Daudé
2022-10-20 11:51 ` [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits Alex Bennée
2022-10-20 16:01 ` Philippe Mathieu-Daudé
2022-10-27 16:02 ` Thomas Huth
2022-10-20 11:51 ` [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files Alex Bennée
2022-10-20 22:16 ` Richard Henderson
2022-10-24 13:06 ` Philippe Mathieu-Daudé
2022-10-20 11:52 ` [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes Alex Bennée
2022-10-20 16:02 ` Philippe Mathieu-Daudé
2022-10-20 22:16 ` Richard Henderson
2022-10-20 11:52 ` [PATCH v3 18/26] tests/avocado: set -machine none for userfwd and vnc tests Alex Bennée
2022-10-20 16:03 ` Philippe Mathieu-Daudé
2022-10-20 11:52 ` [PATCH v3 19/26] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping Alex Bennée
2022-10-20 15:48 ` Philippe Mathieu-Daudé
2022-10-27 16:03 ` Thomas Huth
2022-10-20 11:52 ` [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab Alex Bennée
2022-10-20 15:49 ` Philippe Mathieu-Daudé
2022-10-20 15:56 ` Alex Bennée
2022-10-21 11:59 ` Alex Bennée
2022-10-20 11:52 ` [PATCH v3 21/26] tests/tcg: re-enable linux-test for sh4 Alex Bennée
2022-10-20 15:50 ` Philippe Mathieu-Daudé
2022-10-20 11:52 ` [PATCH v3 22/26] tests/tcg: re-enable threadcount " Alex Bennée
2022-10-20 16:03 ` Philippe Mathieu-Daudé
2022-10-20 11:52 ` [PATCH v3 23/26] target/s390x: don't use ld_code2 to probe next pc Alex Bennée
2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:22 ` David Hildenbrand
2022-10-21 10:35 ` Ilya Leoshkevich
2022-10-20 11:52 ` [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns Alex Bennée
2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:22 ` David Hildenbrand
2022-10-21 10:37 ` Ilya Leoshkevich
2022-10-20 11:52 ` [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex' Alex Bennée
2022-10-20 12:06 ` Richard Henderson
2022-10-20 13:24 ` David Hildenbrand
2022-10-21 10:56 ` Ilya Leoshkevich
2022-10-20 11:52 ` [PATCH v3 26/26] tests/tcg: include CONFIG_PLUGIN in config-host.mak Alex Bennée
2022-10-27 16:11 ` Thomas Huth
2022-10-27 15:06 ` [PATCH v3 00/26] testing/next (docker, avocado, s390x, MAINTAINERS) Bin Meng
2022-10-27 17:16 ` Alex Bennée
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).