* [PATCH 1/5] net/af-xdp.c: maybe-uninitialized warning with gcov build on ubuntu2404
2026-06-04 21:51 [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404 Pierrick Bouvier
@ 2026-06-04 21:51 ` Pierrick Bouvier
2026-06-05 19:09 ` Ilya Maximets
2026-06-04 21:51 ` [PATCH 2/5] tests: add ubuntu 2404 Pierrick Bouvier
` (4 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Pierrick Bouvier @ 2026-06-04 21:51 UTC (permalink / raw)
To: qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Pierrick Bouvier, Thomas Huth,
Philippe Mathieu-Daudé
Seems like a false positive, easily fix by explicitly initializing
variable to NULL.
In function ‘af_xdp_read_poll’,
inlined from ‘net_init_af_xdp’ at ../net/af-xdp.c:546:5:
../net/af-xdp.c:78:10: error: ‘s’ may be used uninitialized [-Werror=maybe-uninitialized]
78 | if (s->read_poll != enable) {
| ~^~~~~~~~~~~
../net/af-xdp.c: In function ‘net_init_af_xdp’:
../net/af-xdp.c:461:17: note: ‘s’ was declared here
461 | AFXDPState *s;
|
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
---
net/af-xdp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/af-xdp.c b/net/af-xdp.c
index 1ffd6363a8c..72d75748c6d 100644
--- a/net/af-xdp.c
+++ b/net/af-xdp.c
@@ -458,7 +458,7 @@ int net_init_af_xdp(const Netdev *netdev,
g_autofree int *sock_fds = NULL;
int i, queues;
Error *err = NULL;
- AFXDPState *s;
+ AFXDPState *s = NULL;
bool inhibit;
ifindex = if_nametoindex(opts->ifname);
--
2.43.0
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 1/5] net/af-xdp.c: maybe-uninitialized warning with gcov build on ubuntu2404
2026-06-04 21:51 ` [PATCH 1/5] net/af-xdp.c: maybe-uninitialized warning with gcov build on ubuntu2404 Pierrick Bouvier
@ 2026-06-05 19:09 ` Ilya Maximets
0 siblings, 0 replies; 13+ messages in thread
From: Ilya Maximets @ 2026-06-05 19:09 UTC (permalink / raw)
To: Pierrick Bouvier, qemu-devel
Cc: i.maximets, Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Alex Bennée, Thomas Huth, Philippe Mathieu-Daudé
On 6/4/26 11:51 PM, Pierrick Bouvier wrote:
> Seems like a false positive, easily fix by explicitly initializing
> variable to NULL.
>
> In function ‘af_xdp_read_poll’,
> inlined from ‘net_init_af_xdp’ at ../net/af-xdp.c:546:5:
> ../net/af-xdp.c:78:10: error: ‘s’ may be used uninitialized [-Werror=maybe-uninitialized]
> 78 | if (s->read_poll != enable) {
> | ~^~~~~~~~~~~
> ../net/af-xdp.c: In function ‘net_init_af_xdp’:
> ../net/af-xdp.c:461:17: note: ‘s’ was declared here
> 461 | AFXDPState *s;
> |
>
I guess the 'nc0 && !inhibit' check is what making things confusing.
I'd suggest to remove the nc0 check and move the upcast out of the
if statement. Then maybe collapse the two if statements into one.
It seems cleaner than just silencing the warning.
Will that solve the problem?
Best regards, Ilya Maximets.
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
> net/af-xdp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/af-xdp.c b/net/af-xdp.c
> index 1ffd6363a8c..72d75748c6d 100644
> --- a/net/af-xdp.c
> +++ b/net/af-xdp.c
> @@ -458,7 +458,7 @@ int net_init_af_xdp(const Netdev *netdev,
> g_autofree int *sock_fds = NULL;
> int i, queues;
> Error *err = NULL;
> - AFXDPState *s;
> + AFXDPState *s = NULL;
> bool inhibit;
>
> ifindex = if_nametoindex(opts->ifname);
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 2/5] tests: add ubuntu 2404
2026-06-04 21:51 [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404 Pierrick Bouvier
2026-06-04 21:51 ` [PATCH 1/5] net/af-xdp.c: maybe-uninitialized warning with gcov build on ubuntu2404 Pierrick Bouvier
@ 2026-06-04 21:51 ` Pierrick Bouvier
2026-06-05 6:11 ` Philippe Mathieu-Daudé
2026-06-04 21:51 ` [PATCH 3/5] docs: update mention to ubuntu2204 Pierrick Bouvier
` (3 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Pierrick Bouvier @ 2026-06-04 21:51 UTC (permalink / raw)
To: qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Pierrick Bouvier, Thomas Huth,
Philippe Mathieu-Daudé
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
---
tests/docker/dockerfiles/ubuntu2404.docker | 172 +++++++++++++++++++++
tests/lcitool/refresh | 6 +-
2 files changed, 176 insertions(+), 2 deletions(-)
create mode 100644 tests/docker/dockerfiles/ubuntu2404.docker
diff --git a/tests/docker/dockerfiles/ubuntu2404.docker b/tests/docker/dockerfiles/ubuntu2404.docker
new file mode 100644
index 00000000000..26bc2dd94f4
--- /dev/null
+++ b/tests/docker/dockerfiles/ubuntu2404.docker
@@ -0,0 +1,172 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --layers all ubuntu-2404 qemu
+#
+# https://gitlab.com/libvirt/libvirt-ci
+
+FROM docker.io/library/ubuntu:24.04
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ bash \
+ bc \
+ bindgen \
+ bison \
+ bsdextrautils \
+ bzip2 \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ dbus \
+ debianutils \
+ diffutils \
+ exuberant-ctags \
+ findutils \
+ flex \
+ gcc \
+ gcovr \
+ gettext \
+ git \
+ hostname \
+ libaio-dev \
+ libasan8 \
+ libasound2-dev \
+ libattr1-dev \
+ libbpf-dev \
+ libbrlapi-dev \
+ libbz2-dev \
+ libc6-dev \
+ libcacard-dev \
+ libcap-ng-dev \
+ libcapstone-dev \
+ libcbor-dev \
+ libclang-rt-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 \
+ libgnutls28-dev \
+ libgtk-3-dev \
+ libgtk-vnc-2.0-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 \
+ libpipewire-0.3-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 \
+ libsndio-dev \
+ libspice-protocol-dev \
+ libspice-server-dev \
+ libssh-dev \
+ libstd-rust-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 \
+ libxdp-dev \
+ libxen-dev \
+ libzstd-dev \
+ llvm \
+ locales \
+ make \
+ mtools \
+ multipath-tools \
+ nettle-dev \
+ ninja-build \
+ openssh-client \
+ pkgconf \
+ python3 \
+ python3-numpy \
+ python3-opencv \
+ python3-pillow \
+ python3-pip \
+ python3-setuptools \
+ python3-sphinx \
+ python3-sphinx-rtd-theme \
+ python3-tomli \
+ python3-venv \
+ python3-wheel \
+ python3-yaml \
+ rpm2cpio \
+ rustc-1.83 \
+ sed \
+ socat \
+ sparse \
+ swtpm \
+ systemtap-sdt-dev \
+ tar \
+ tesseract-ocr \
+ tesseract-ocr-eng \
+ vulkan-tools \
+ xorriso \
+ zlib1g-dev \
+ zstd && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+
+RUN /usr/bin/pip3 install meson==1.8.1
+
+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 RUSTC=/usr/bin/rustc-1.83
+ENV RUSTDOC=/usr/bin/rustdoc-1.83
+ENV CARGO_HOME=/usr/local/cargo
+ENV PATH=$CARGO_HOME/bin:$PATH
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+ apt install -y --no-install-recommends cargo
+RUN cargo install --locked bindgen-cli
+# As a final step configure the user (if env is defined)
+ARG USER
+ARG UID
+RUN if [ "${USER}" ]; then \
+ id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
+
+ENV ENABLE_RUST=1
diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
index fa545cf1f4f..26abc695735 100755
--- a/tests/lcitool/refresh
+++ b/tests/lcitool/refresh
@@ -151,7 +151,7 @@ fedora_rustup_nightly_extras = [
'RUN $CARGO --list\n',
]
-ubuntu2204_rust_extras = [
+ubuntu2404_rust_extras = [
"ENV RUSTC=/usr/bin/rustc-1.83\n",
"ENV RUSTDOC=/usr/bin/rustdoc-1.83\n",
"ENV CARGO_HOME=/usr/local/cargo\n",
@@ -229,8 +229,10 @@ try:
trailer="".join(debian13_extras))
generate_dockerfile("fedora", "fedora-43")
generate_dockerfile("opensuse-leap", "opensuse-leap-16")
+ generate_dockerfile("ubuntu2404", "ubuntu-2404",
+ trailer="".join(ubuntu2404_rust_extras))
generate_dockerfile("ubuntu2204", "ubuntu-2204",
- trailer="".join(ubuntu2204_rust_extras),
+ trailer="".join(ubuntu2404_rust_extras),
# https://bugs.launchpad.net/ubuntu/+source/rustc-1.83/+bug/2120318
enable_rust=False)
--
2.43.0
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 2/5] tests: add ubuntu 2404
2026-06-04 21:51 ` [PATCH 2/5] tests: add ubuntu 2404 Pierrick Bouvier
@ 2026-06-05 6:11 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-06-05 6:11 UTC (permalink / raw)
To: Pierrick Bouvier, qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Thomas Huth,
Philippe Mathieu-Daudé
On 4/6/26 23:51, Pierrick Bouvier wrote:
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
> tests/docker/dockerfiles/ubuntu2404.docker | 172 +++++++++++++++++++++
> tests/lcitool/refresh | 6 +-
> 2 files changed, 176 insertions(+), 2 deletions(-)
> create mode 100644 tests/docker/dockerfiles/ubuntu2404.docker
Reviewed-by: Philippe Mathieu-Daudé <philmd@mailo.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 3/5] docs: update mention to ubuntu2204
2026-06-04 21:51 [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404 Pierrick Bouvier
2026-06-04 21:51 ` [PATCH 1/5] net/af-xdp.c: maybe-uninitialized warning with gcov build on ubuntu2404 Pierrick Bouvier
2026-06-04 21:51 ` [PATCH 2/5] tests: add ubuntu 2404 Pierrick Bouvier
@ 2026-06-04 21:51 ` Pierrick Bouvier
2026-06-05 6:15 ` Philippe Mathieu-Daudé
2026-06-07 10:23 ` Alex Bennée
2026-06-04 21:51 ` [PATCH 4/5] ci: update to ubuntu2404 Pierrick Bouvier
` (2 subsequent siblings)
5 siblings, 2 replies; 13+ messages in thread
From: Pierrick Bouvier @ 2026-06-04 21:51 UTC (permalink / raw)
To: qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Pierrick Bouvier, Thomas Huth,
Philippe Mathieu-Daudé
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
---
docs/devel/testing/main.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/devel/testing/main.rst b/docs/devel/testing/main.rst
index 3408b5836dc..1a884da3eb6 100644
--- a/docs/devel/testing/main.rst
+++ b/docs/devel/testing/main.rst
@@ -711,13 +711,13 @@ https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual
Thread Sanitizer in Docker
~~~~~~~~~~~~~~~~~~~~~~~~~~
-TSan is currently supported in the ubuntu2204 docker.
+TSan is currently supported in the ubuntu2404 docker.
The test-tsan test will build using TSan and then run make check.
.. code::
- make docker-test-tsan@ubuntu2204
+ make docker-test-tsan@ubuntu2404
TSan warnings under docker are placed in files located at build/tsan/.
--
2.43.0
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 3/5] docs: update mention to ubuntu2204
2026-06-04 21:51 ` [PATCH 3/5] docs: update mention to ubuntu2204 Pierrick Bouvier
@ 2026-06-05 6:15 ` Philippe Mathieu-Daudé
2026-06-07 10:23 ` Alex Bennée
1 sibling, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-06-05 6:15 UTC (permalink / raw)
To: Pierrick Bouvier, qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Thomas Huth,
Philippe Mathieu-Daudé
On 4/6/26 23:51, Pierrick Bouvier wrote:
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
> docs/devel/testing/main.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Squash with following?
Reviewed-by: Philippe Mathieu-Daudé <philmd@mailo.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 3/5] docs: update mention to ubuntu2204
2026-06-04 21:51 ` [PATCH 3/5] docs: update mention to ubuntu2204 Pierrick Bouvier
2026-06-05 6:15 ` Philippe Mathieu-Daudé
@ 2026-06-07 10:23 ` Alex Bennée
1 sibling, 0 replies; 13+ messages in thread
From: Alex Bennée @ 2026-06-07 10:23 UTC (permalink / raw)
To: Pierrick Bouvier
Cc: qemu-devel, Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Thomas Huth, Philippe Mathieu-Daudé
Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> writes:
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
> docs/devel/testing/main.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/docs/devel/testing/main.rst b/docs/devel/testing/main.rst
> index 3408b5836dc..1a884da3eb6 100644
> --- a/docs/devel/testing/main.rst
> +++ b/docs/devel/testing/main.rst
> @@ -711,13 +711,13 @@ https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual
>
> Thread Sanitizer in Docker
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> -TSan is currently supported in the ubuntu2204 docker.
> +TSan is currently supported in the ubuntu2404 docker.
It's actually a build dependency (or should be, I can see libasan but
I'm not sure where libtsan comes from) .
>
> The test-tsan test will build using TSan and then run make check.
>
> .. code::
>
> - make docker-test-tsan@ubuntu2204
> + make docker-test-tsan@ubuntu2404
>
So we should say any host build container will do.
> TSan warnings under docker are placed in files located at build/tsan/.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 4/5] ci: update to ubuntu2404
2026-06-04 21:51 [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404 Pierrick Bouvier
` (2 preceding siblings ...)
2026-06-04 21:51 ` [PATCH 3/5] docs: update mention to ubuntu2204 Pierrick Bouvier
@ 2026-06-04 21:51 ` Pierrick Bouvier
2026-06-05 6:11 ` Philippe Mathieu-Daudé
2026-06-04 21:51 ` [PATCH 5/5] tests: remove ubuntu2204 container Pierrick Bouvier
2026-06-04 21:53 ` [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404 Pierrick Bouvier
5 siblings, 1 reply; 13+ messages in thread
From: Pierrick Bouvier @ 2026-06-04 21:51 UTC (permalink / raw)
To: qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Pierrick Bouvier, Thomas Huth,
Philippe Mathieu-Daudé
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
---
.gitlab-ci.d/buildtest.yml | 16 ++++++++--------
.gitlab-ci.d/containers.yml | 6 +++---
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index d0543490309..e2553e7326f 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -36,9 +36,9 @@ build-system-ubuntu:
- .native_build_job_template
- .native_build_artifact_template
needs:
- - job: amd64-ubuntu2204-container
+ - job: amd64-ubuntu2404-container
variables:
- IMAGE: ubuntu2204
+ IMAGE: ubuntu2404
CONFIGURE_ARGS: --enable-docs --enable-rust
TARGETS: alpha-softmmu microblaze-softmmu mips64el-softmmu
MAKE_CHECK_ARGS: check-build
@@ -49,7 +49,7 @@ check-system-ubuntu:
- job: build-system-ubuntu
artifacts: true
variables:
- IMAGE: ubuntu2204
+ IMAGE: ubuntu2404
MAKE_CHECK_ARGS: check
functional-system-ubuntu:
@@ -58,7 +58,7 @@ functional-system-ubuntu:
- job: build-system-ubuntu
artifacts: true
variables:
- IMAGE: ubuntu2204
+ IMAGE: ubuntu2404
MAKE_CHECK_ARGS: check-functional
build-system-debian:
@@ -577,9 +577,9 @@ functional-cfi-x86_64:
tsan-build:
extends: .native_build_job_template
needs:
- - job: amd64-ubuntu2204-container
+ - job: amd64-ubuntu2404-container
variables:
- IMAGE: ubuntu2204
+ IMAGE: ubuntu2404
CONFIGURE_ARGS: --enable-tsan --cc=clang --cxx=clang++
--enable-trace-backends=ust --disable-slirp
TARGETS: x86_64-softmmu ppc64-softmmu riscv64-softmmu x86_64-linux-user
@@ -591,10 +591,10 @@ tsan-build:
gcov:
extends: .native_build_job_template
needs:
- - job: amd64-ubuntu2204-container
+ - job: amd64-ubuntu2404-container
timeout: 80m
variables:
- IMAGE: ubuntu2204
+ IMAGE: ubuntu2404
CONFIGURE_ARGS: --enable-gcov
TARGETS: aarch64-softmmu ppc64-softmmu s390x-softmmu x86_64-softmmu
MAKE_CHECK_ARGS: check-unit check-softfloat
diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml
index 515e7382f26..87c20094d22 100644
--- a/.gitlab-ci.d/containers.yml
+++ b/.gitlab-ci.d/containers.yml
@@ -13,10 +13,10 @@ amd64-debian-container:
variables:
NAME: debian
-amd64-ubuntu2204-container:
+amd64-ubuntu2404-container:
extends: .container_job_template
variables:
- NAME: ubuntu2204
+ NAME: ubuntu2404
amd64-opensuse-leap-container:
extends: .container_job_template
@@ -58,7 +58,7 @@ weekly-container-builds:
# containers
- amd64-alpine-container
- amd64-debian-container
- - amd64-ubuntu2204-container
+ - amd64-ubuntu2404-container
- amd64-opensuse-leap-container
- python-container
- amd64-fedora-rust-nightly-container
--
2.43.0
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 4/5] ci: update to ubuntu2404
2026-06-04 21:51 ` [PATCH 4/5] ci: update to ubuntu2404 Pierrick Bouvier
@ 2026-06-05 6:11 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-06-05 6:11 UTC (permalink / raw)
To: Pierrick Bouvier, qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Thomas Huth,
Philippe Mathieu-Daudé
On 4/6/26 23:51, Pierrick Bouvier wrote:
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
> .gitlab-ci.d/buildtest.yml | 16 ++++++++--------
> .gitlab-ci.d/containers.yml | 6 +++---
> 2 files changed, 11 insertions(+), 11 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@mailo.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 5/5] tests: remove ubuntu2204 container
2026-06-04 21:51 [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404 Pierrick Bouvier
` (3 preceding siblings ...)
2026-06-04 21:51 ` [PATCH 4/5] ci: update to ubuntu2404 Pierrick Bouvier
@ 2026-06-04 21:51 ` Pierrick Bouvier
2026-06-05 6:14 ` Philippe Mathieu-Daudé
2026-06-04 21:53 ` [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404 Pierrick Bouvier
5 siblings, 1 reply; 13+ messages in thread
From: Pierrick Bouvier @ 2026-06-04 21:51 UTC (permalink / raw)
To: qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Pierrick Bouvier, Thomas Huth,
Philippe Mathieu-Daudé
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
---
tests/docker/dockerfiles/ubuntu2204.docker | 168 ---------------------
tests/lcitool/refresh | 4 -
2 files changed, 172 deletions(-)
delete mode 100644 tests/docker/dockerfiles/ubuntu2204.docker
diff --git a/tests/docker/dockerfiles/ubuntu2204.docker b/tests/docker/dockerfiles/ubuntu2204.docker
deleted file mode 100644
index 4617bbe1f65..00000000000
--- a/tests/docker/dockerfiles/ubuntu2204.docker
+++ /dev/null
@@ -1,168 +0,0 @@
-# THIS FILE WAS AUTO-GENERATED
-#
-# $ lcitool dockerfile --layers all ubuntu-2204 qemu
-#
-# https://gitlab.com/libvirt/libvirt-ci
-
-FROM docker.io/library/ubuntu:22.04
-
-RUN export DEBIAN_FRONTEND=noninteractive && \
- apt-get update && \
- 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 \
- coreutils \
- dbus \
- debianutils \
- diffutils \
- exuberant-ctags \
- findutils \
- flex \
- gcc \
- gcovr \
- gettext \
- git \
- hostname \
- libaio-dev \
- libasan6 \
- libasound2-dev \
- libattr1-dev \
- libbpf-dev \
- libbrlapi-dev \
- libbz2-dev \
- libc6-dev \
- libcacard-dev \
- libcap-ng-dev \
- libcapstone-dev \
- libcbor-dev \
- libclang-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 \
- libgnutls28-dev \
- libgtk-3-dev \
- libgtk-vnc-2.0-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 \
- libpipewire-0.3-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 \
- libsndio-dev \
- libspice-protocol-dev \
- libspice-server-dev \
- libssh-dev \
- libstd-rust-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 \
- mtools \
- multipath-tools \
- nettle-dev \
- ninja-build \
- openssh-client \
- pkgconf \
- python3 \
- python3-numpy \
- python3-opencv \
- python3-pillow \
- python3-pip \
- python3-setuptools \
- python3-sphinx \
- python3-sphinx-rtd-theme \
- python3-tomli \
- python3-venv \
- python3-wheel \
- python3-yaml \
- rpm2cpio \
- rustc-1.83 \
- sed \
- socat \
- sparse \
- swtpm \
- systemtap-sdt-dev \
- tar \
- tesseract-ocr \
- tesseract-ocr-eng \
- vulkan-tools \
- xorriso \
- zlib1g-dev \
- zstd && \
- eatmydata apt-get autoremove -y && \
- eatmydata apt-get autoclean -y && \
- sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
- dpkg-reconfigure locales && \
- rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
- dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
- mkdir -p /usr/libexec/ccache-wrappers && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
- ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
-
-RUN /usr/bin/pip3 install meson==1.8.1
-
-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 RUSTC=/usr/bin/rustc-1.83
-ENV RUSTDOC=/usr/bin/rustdoc-1.83
-ENV CARGO_HOME=/usr/local/cargo
-ENV PATH=$CARGO_HOME/bin:$PATH
-RUN DEBIAN_FRONTEND=noninteractive eatmydata \
- apt install -y --no-install-recommends cargo
-RUN cargo install --locked bindgen-cli
-# As a final step configure the user (if env is defined)
-ARG USER
-ARG UID
-RUN if [ "${USER}" ]; then \
- id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
index 26abc695735..e0da0d2de1d 100755
--- a/tests/lcitool/refresh
+++ b/tests/lcitool/refresh
@@ -231,10 +231,6 @@ try:
generate_dockerfile("opensuse-leap", "opensuse-leap-16")
generate_dockerfile("ubuntu2404", "ubuntu-2404",
trailer="".join(ubuntu2404_rust_extras))
- generate_dockerfile("ubuntu2204", "ubuntu-2204",
- trailer="".join(ubuntu2404_rust_extras),
- # https://bugs.launchpad.net/ubuntu/+source/rustc-1.83/+bug/2120318
- enable_rust=False)
#
# Non-fatal Rust-enabled build
--
2.43.0
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 5/5] tests: remove ubuntu2204 container
2026-06-04 21:51 ` [PATCH 5/5] tests: remove ubuntu2204 container Pierrick Bouvier
@ 2026-06-05 6:14 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-06-05 6:14 UTC (permalink / raw)
To: Pierrick Bouvier, qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Thomas Huth,
Philippe Mathieu-Daudé
On 4/6/26 23:51, Pierrick Bouvier wrote:
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> ---
> tests/docker/dockerfiles/ubuntu2204.docker | 168 ---------------------
> tests/lcitool/refresh | 4 -
> 2 files changed, 172 deletions(-)
> delete mode 100644 tests/docker/dockerfiles/ubuntu2204.docker
> diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
> index 26abc695735..e0da0d2de1d 100755
> --- a/tests/lcitool/refresh
> +++ b/tests/lcitool/refresh
> @@ -231,10 +231,6 @@ try:
> generate_dockerfile("opensuse-leap", "opensuse-leap-16")
> generate_dockerfile("ubuntu2404", "ubuntu-2404",
> trailer="".join(ubuntu2404_rust_extras))
> - generate_dockerfile("ubuntu2204", "ubuntu-2204",
> - trailer="".join(ubuntu2404_rust_extras),
> - # https://bugs.launchpad.net/ubuntu/+source/rustc-1.83/+bug/2120318
> - enable_rust=False)
So the last container without rust is debian-all-test-cross (Debian 13).
Reviewed-by: Philippe Mathieu-Daudé <philmd@mailo.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404
2026-06-04 21:51 [PATCH 0/5] gests: update ubuntu2204 to ubuntu2404 Pierrick Bouvier
` (4 preceding siblings ...)
2026-06-04 21:51 ` [PATCH 5/5] tests: remove ubuntu2204 container Pierrick Bouvier
@ 2026-06-04 21:53 ` Pierrick Bouvier
5 siblings, 0 replies; 13+ messages in thread
From: Pierrick Bouvier @ 2026-06-04 21:53 UTC (permalink / raw)
To: qemu-devel
Cc: Stefan Hajnoczi, Jason Wang, Daniel P . Berrangé,
Ilya Maximets, Alex Bennée, Thomas Huth,
Philippe Mathieu-Daudé
On 6/4/2026 2:51 PM, Pierrick Bouvier wrote:
> Ubuntu 26.04 LTS is now available since April 2026.
> If I followed correctly, we support latest two LTS releases, so we should be
> able to update. If not, feel free to correct me :).
>
> Pierrick Bouvier (5):
> net/af-xdp.c: maybe-uninitialized warning with gcov build on
> ubuntu2404
> tests: add ubuntu 2404
> docs: update mention to ubuntu2204
> ci: update to ubuntu2404
> tests: remove ubuntu2204 container
>
> .gitlab-ci.d/buildtest.yml | 16 ++++++++--------
> .gitlab-ci.d/containers.yml | 6 +++---
> docs/devel/testing/main.rst | 4 ++--
> net/af-xdp.c | 2 +-
> .../{ubuntu2204.docker => ubuntu2404.docker} | 12 ++++++++----
> tests/lcitool/refresh | 8 +++-----
> 6 files changed, 25 insertions(+), 23 deletions(-)
> rename tests/docker/dockerfiles/{ubuntu2204.docker => ubuntu2404.docker} (95%)
>
You can find a CI run with the new container here:
https://gitlab.com/p-b-o/qemu/-/pipelines/2577599834
Regards,
Pierrick
^ permalink raw reply [flat|nested] 13+ messages in thread