In the QEMU 9.1 development cycle, we can drop the support for Ubuntu 20.04 and CentOS 8 since the following major versions of these distributions are available since 2 years already.
This allows us to bump the minimum version of glib to 2.66 which comes with a nice set of URI parsing functions. By switching to these parsing functions, we can finally drop our own URI parsing code in util/uri.c. NB: We also need to update some of the custom runners in our CI environment first (since they still use Ubuntu 20.04). v3: - Added Reviewed-bys - Updated many patch descriptions according to the review feedback in v2 - Change "Illegal" in warning message to "Invalid" - Removed "." at the end of a warn_report string v2: - Added Paolo's patch to bump the external CI runners - Added patch to drop more glib compatibility hunks - Use g_autoptr() in the URI patches for simplification - Don't allow port 0 in the URIs Paolo Bonzini (1): ci: move external build environment setups to CentOS Stream 9 Thomas Huth (12): tests: Remove Ubuntu 20.04 container tests/lcitool/libvirt-ci: Update to the latest master branch tests/docker/dockerfiles: Run lcitool-refresh after the lcitool update tests: Update our CI to use CentOS Stream 9 instead of 8 .travis.yml: Update the jobs to Ubuntu 22.04 Bump minimum glib version to v2.66 Remove glib compatibility code that is not required anymore block/gluster: Use URI parsing code from glib block/nbd: Use URI parsing code from glib block/nfs: Use URI parsing code from glib block/ssh: Use URI parsing code from glib util/uri: Remove the old URI parsing code meson.build | 16 +- include/glib-compat.h | 27 +- include/qemu/uri.h | 99 -- block/gluster.c | 71 +- block/nbd.c | 76 +- block/nfs.c | 110 +- block/ssh.c | 75 +- qga/commands-posix-ssh.c | 12 +- util/error-report.c | 10 - util/uri.c | 1466 ----------------- .gitlab-ci.d/buildtest.yml | 16 +- .gitlab-ci.d/container-core.yml | 4 +- .travis.yml | 13 +- .../stream/{8 => 9}/build-environment.yml | 31 +- .../stream/{8 => 9}/x86_64/configure | 4 +- .../stream/{8 => 9}/x86_64/test-avocado | 0 scripts/ci/setup/build-environment.yml | 44 +- tests/docker/dockerfiles/alpine.docker | 3 +- .../{centos8.docker => centos9.docker} | 35 +- .../dockerfiles/debian-amd64-cross.docker | 3 +- .../dockerfiles/debian-arm64-cross.docker | 3 +- .../dockerfiles/debian-armel-cross.docker | 3 +- .../dockerfiles/debian-armhf-cross.docker | 3 +- .../dockerfiles/debian-i686-cross.docker | 3 +- .../dockerfiles/debian-mips64el-cross.docker | 3 +- .../dockerfiles/debian-mipsel-cross.docker | 3 +- .../dockerfiles/debian-ppc64el-cross.docker | 3 +- .../dockerfiles/debian-riscv64-cross.docker | 3 +- .../dockerfiles/debian-s390x-cross.docker | 3 +- tests/docker/dockerfiles/debian.docker | 1 + .../dockerfiles/fedora-win64-cross.docker | 3 +- tests/docker/dockerfiles/fedora.docker | 1 + tests/docker/dockerfiles/opensuse-leap.docker | 1 + tests/docker/dockerfiles/ubuntu2004.docker | 157 -- tests/docker/dockerfiles/ubuntu2204.docker | 1 + tests/lcitool/libvirt-ci | 2 +- tests/lcitool/mappings.yml | 20 - tests/lcitool/refresh | 3 +- tests/vm/centos | 4 +- util/meson.build | 2 +- 40 files changed, 265 insertions(+), 2072 deletions(-) delete mode 100644 include/qemu/uri.h delete mode 100644 util/uri.c rename scripts/ci/org.centos/stream/{8 => 9}/build-environment.yml (75%) rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/configure (98%) rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/test-avocado (100%) rename tests/docker/dockerfiles/{centos8.docker => centos9.docker} (82%) delete mode 100644 tests/docker/dockerfiles/ubuntu2004.docker -- 2.44.0