Misc patches (Gitlab-CI, qtest, Capstone, ...)
Hi Richard!
The following changes since commit eec398119fc6911d99412c37af06a6bc27871f85:
Merge tag 'for_upstream' of git://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2022-05-16 16:31:01 -0700)
are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-18
for you to fetch changes up to 83602083b4ada6ceb86bfb327e83556ebab120fc:
capstone: Remove the capstone submodule (2022-05-18 08:54:22 +0200)
----------------------------------------------------------------
* Remove Ubuntu 18.04 containers (not supported anymore)
* Improve the cleanup of the QEMU binary in case of failing qtests
* Update the Windows support statement
* Remove the capstone submodule (and rely on Capstone of the distros instead)
----------------------------------------------------------------
Daniel P. Berrangé (2):
tests/qtest: fix registration of ABRT handler for QEMU cleanup tests/qtest: use prctl(PR_SET_PDEATHSIG) as fallback to kill QEMU
Thomas Huth (6):
gitlab-ci: Switch the container of the 'check-patch' & 'check-dco' jobs Remove Ubuntu 18.04 container support from the repository docs/about: Update the support statement for Windows tests/vm: Add capstone to the NetBSD and OpenBSD VMs
capstone: Allow version 3.0.5 again
capstone: Remove the capstone submodule
docs/about/build-platforms.rst | 14 +- configure | 23 +--- meson.build | 115 +--------------- include/qemu/osdep.h | 2 +- tests/qtest/libqtest.c | 21 ++- .gitlab-ci.d/buildtest.yml | 3 +- .gitlab-ci.d/containers.yml | 5 - .../custom-runners/ubuntu-20.04-aarch32.yml | 2 +- .../custom-runners/ubuntu-20.04-aarch64.yml | 2 +- .gitlab-ci.d/static_checks.yml | 14 +- .gitlab-ci.d/windows.yml | 5 +- .gitmodules | 3 - capstone | 1 - meson_options.txt | 3 +- scripts/ci/setup/build-environment.yml | 14 +- scripts/meson-buildoptions.sh | 5 +- tests/docker/dockerfiles/ubuntu1804.docker | 144 --------------------- tests/lcitool/refresh | 7 - tests/vm/netbsd | 3 +- tests/vm/openbsd | 3 +- 20 files changed, 59 insertions(+), 330 deletions(-) delete mode 160000 capstone delete mode 100644 tests/docker/dockerfiles/ubuntu1804.docker
[PULL 3/8] tests/qtest: fix registration of ABRT handler for QEMU cleanup
From: Daniel P. Berrangé <[email protected]>
qtest_init registers a hook to cleanup the running QEMU process should g_assert() fire before qtest_quit is called. When the first hook is registered, it is supposed to triggere registration of the SIGABRT handler. Unfortunately the logic in hook_list_is_empty is inverted, so the SIGABRT handler never gets registered, unless 2 or more QEMU processes are run concurrently. This caused qtest to leak QEMU processes anytime g_assert triggers.
Message-Id: <[email protected]>
--- tests/qtest/libqtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/qtest/libqtest.c +2 -2
@@ -197,11 +197,11 @@ static bool hook_list_is_empty(GHookList *hook_list)GHook *hook =g_hook_first_valid (hook_list, TRUE);if (!hook) { -return false; +return true; }g_hook_unref (hook_list, hook); -return true; +return false; }void qtest_add_abrt_handler (GHookFunc fn,const void *data)
Signature · 1 line
2.27.0
[PULL 1/8] gitlab-ci: Switch the container of the 'check-patch' & 'check-dco' jobs
In reply to Thomas HuthThe 'check-patch' and 'check-dco' jobs only need Python and git for checking the patches, so it's not really necessary to use a container here that has all the other build dependencies installed. By using a lightweight Alpine container, we can improve the runtime here quite a bit, cutting it down from ca. 1:30 minutes to ca. 45 seconds.
Message-Id: <[email protected]>
--- .gitlab-ci.d/static_checks.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
.gitlab-ci.d/static_checks.yml +8 -6
@@ -1,12 +1,13 @@ check-patch: stage: build - image: $CI_REGISTRY_IMAGE/qemu/centos8:latest - needs: - job: amd64-centos8-container + image: python:3.10-alpine + needs: [] script: - .gitlab-ci.d/check-patch.py variables: GIT_DEPTH: 1000 + before_script: + - apk -U add git perl rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project"' when: never
@@ -15,12 +16,13 @@ check-patch: check-dco: stage: build - image: $CI_REGISTRY_IMAGE/qemu/centos8:latest - needs: - job: amd64-centos8-container + image: python:3.10-alpine + needs: [] script: .gitlab-ci.d/check-dco.py variables: GIT_DEPTH: 1000 + before_script: + - apk -U add git rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' when: never
Signature · 1 line
2.27.0
[PULL 8/8] capstone: Remove the capstone submodule
In reply to Thomas HuthNow that we allow compiling with Capstone v3.0.5 again, all our supported build hosts should provide at least this version of the disassembler library, so we do not need to ship this as a submodule anymore.
Message-Id: <[email protected]>
--- configure | 21 ------- meson.build | 113 ++-------------------------------- .gitlab-ci.d/buildtest.yml | 4 +- .gitlab-ci.d/windows.yml | 5 +- .gitmodules | 3 - capstone | 1 - meson_options.txt | 3 +- scripts/meson-buildoptions.sh | 5 +- 8 files changed, 11 insertions(+), 144 deletions(-) delete mode 160000 capstone
configure +0 -21
@@ -307,10 +307,8 @@ skip_meson=no # 1. Track which submodules are needed if test "$default_feature" = no ; then - capstone="disabled" slirp="disabled" else - capstone="auto" slirp="auto" fi fdt="auto"
@@ -869,14 +867,6 @@ for opt do --enable-uuid|--disable-uuid) echo "$0: $opt is obsolete, UUID support is always built" >&2 ;; - --disable-capstone) capstone="disabled" - ;; - --enable-capstone) capstone="enabled" - ;; - --enable-capstone=git) capstone="internal" - ;; - --enable-capstone=*) capstone="$optarg" - ;; --with-git=*) git="$optarg" ;; --with-git-submodules=*)
@@ -1566,16 +1556,6 @@ case "$fdt" in ;; esac -########################################## -# capstone - -case "$capstone" in - auto | enabled | internal) - # Simpler to always update submodule, even if not needed. - git_submodules="${git_submodules} capstone" - ;; -esac - ########################################## # check and set a backend for coroutine
@@ -2220,7 +2200,6 @@ if test "$skip_meson" = no; then test "$werror" = yes && meson_option_add -Dwerror=true # QEMU options - test "$capstone" != auto && meson_option_add "-Dcapstone=$capstone" test "$cfi" != false && meson_option_add "-Dcfi=$cfi" test "$fdt" != auto && meson_option_add "-Dfdt=$fdt" test -n "${LIB_FUZZING_ENGINE+xxx}" && meson_option_add "-Dfuzzing_engine=$LIB_FUZZING_ENGINE"
meson.build +5 -108
135 lines not on this page · raw message
.gitlab-ci.d/buildtest.yml +2 -2
@@ -42,7 +42,7 @@ build-system-ubuntu: variables: IMAGE: ubuntu2004 CONFIGURE_ARGS: --enable-docs --enable-fdt=system --enable-slirp=system - --enable-capstone=system + --enable-capstone TARGETS: aarch64-softmmu alpha-softmmu cris-softmmu hppa-softmmu microblazeel-softmmu mips64el-softmmu MAKE_CHECK_ARGS: check-build
@@ -119,7 +119,7 @@ build-system-fedora: variables: IMAGE: fedora CONFIGURE_ARGS: --disable-gcrypt --enable-nettle --enable-docs - --enable-fdt=system --enable-slirp=system --enable-capstone=system + --enable-fdt=system --enable-slirp=system --enable-capstone TARGETS: tricore-softmmu microblaze-softmmu mips-softmmu xtensa-softmmu m68k-softmmu riscv32-softmmu ppc-softmmu sparc64-softmmu MAKE_CHECK_ARGS: check-build
.gitlab-ci.d/windows.yml +2 -3
@@ -57,7 +57,7 @@ msys2-64bit: - $env:CHERE_INVOKING = 'yes' # Preserve the current working directory - $env:MSYSTEM = 'MINGW64' # Start a 64 bit Mingw environment - .\msys64\usr\bin\bash -lc './configure --target-list=x86_64-softmmu - --enable-capstone=system --without-default-devices' + --enable-capstone --without-default-devices' - .\msys64\usr\bin\bash -lc "sed -i '/^ROMS=/d' build/config-host.mak" - .\msys64\usr\bin\bash -lc 'make -j2' - .\msys64\usr\bin\bash -lc 'make check'
@@ -90,7 +90,6 @@ msys2-32bit: - $env:MSYSTEM = 'MINGW32' # Start a 32-bit MinG environment - mkdir output - cd output - - ..\msys64\usr\bin\bash -lc "../configure --target-list=ppc64-softmmu - --enable-capstone=system" + - ..\msys64\usr\bin\bash -lc "../configure --target-list=ppc64-softmmu" - ..\msys64\usr\bin\bash -lc 'make -j2' - ..\msys64\usr\bin\bash -lc 'make check'
.gitmodules +0 -3
@@ -31,9 +31,6 @@ [submodule "ui/keycodemapdb"] path = ui/keycodemapdb url = https://gitlab.com/qemu-project/keycodemapdb.git -[submodule "capstone"] - path = capstone - url = https://gitlab.com/qemu-project/capstone.git [submodule "roms/seabios-hppa"] path = roms/seabios-hppa url = https://gitlab.com/qemu-project/seabios-hppa.git
capstone deleted +0 -1
@@ -1 +0,0 @@ -Subproject commit f8b1b833015a4ae47110ed068e0deb7106ced66d
meson_options.txt +1 -2
@@ -252,8 +252,7 @@ option('virtfs', type: 'feature', value: 'auto', option('virtiofsd', type: 'feature', value: 'auto', description: 'build virtiofs daemon (virtiofsd)') -option('capstone', type: 'combo', value: 'auto', - choices: ['disabled', 'enabled', 'auto', 'system', 'internal'], +option('capstone', type: 'feature', value: 'auto', description: 'Whether and how to find the capstone library') option('slirp', type: 'combo', value: 'auto', choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
scripts/meson-buildoptions.sh +1 -4
@@ -16,9 +16,6 @@ meson_options_help() { printf "%s\n" ' --enable-block-drv-whitelist-in-tools' printf "%s\n" ' use block whitelist also in tools instead of only' printf "%s\n" ' QEMU' - printf "%s\n" ' --enable-capstone[=CHOICE]' - printf "%s\n" ' Whether and how to find the capstone library' - printf "%s\n" ' (choices: auto/disabled/enabled/internal/system)' printf "%s\n" ' --enable-cfi Control-Flow Integrity (CFI)' printf "%s\n" ' --enable-cfi-debug Verbose errors in case of CFI violation' printf "%s\n" ' --enable-debug-mutex mutex debugging support'
@@ -77,6 +74,7 @@ meson_options_help() { printf "%s\n" ' brlapi brlapi character device driver' printf "%s\n" ' bzip2 bzip2 support for DMG images' printf "%s\n" ' cap-ng cap_ng support' + printf "%s\n" ' capstone Whether and how to find the capstone library' printf "%s\n" ' cloop cloop image format support' printf "%s\n" ' cocoa Cocoa user interface (macOS only)' printf "%s\n" ' coreaudio CoreAudio sound support'
@@ -209,7 +207,6 @@ _meson_option_parse() { --disable-cap-ng) printf "%s" -Dcap_ng=disabled ;; --enable-capstone) printf "%s" -Dcapstone=enabled ;; --disable-capstone) printf "%s" -Dcapstone=disabled ;; - --enable-capstone=*) quote_sh "-Dcapstone=$2" ;; --enable-cfi) printf "%s" -Dcfi=true ;; --disable-cfi) printf "%s" -Dcfi=false ;; --enable-cfi-debug) printf "%s" -Dcfi_debug=true ;;
Signature · 1 line
2.27.0
[PULL 7/8] capstone: Allow version 3.0.5 again
In reply to Thomas HuthAccording to
https://lore.kernel.org/qemu-devel/[email protected]/
there was an issue with Capstone 3.0.4 from Ubuntu 18, which was the reason for bumping our minimum Capstone requirement to version 4.0. And indeed, compiling with that version 3.0.4 from Ubuntu 18.04 still fails (after allowing it with a hack in meson.build). But now that we've dropped support for Ubuntu 18.04, that issue is not relevant anymore. Compiling with Capstone version 3.0.5 (e.g. used in Ubuntu 20.04) seems to work fine, so let's allow that version again.
Message-Id: <[email protected]>
--- meson.build | 2 +- .gitlab-ci.d/buildtest.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meson.build +1 -1
@@ -2525,7 +2525,7 @@ capstone = not_found capstone_opt = get_option('capstone') if capstone_opt in ['enabled', 'auto', 'system'] have_internal = fs.exists(meson.current_source_dir() / 'capstone/Makefile') - capstone = dependency('capstone', version: '>=4.0', + capstone = dependency('capstone', version: '>=3.0.5', kwargs: static_kwargs, method: 'pkg-config', required: capstone_opt == 'system' or capstone_opt == 'enabled' and not have_internal)
.gitlab-ci.d/buildtest.yml +1 -0
@@ -42,6 +42,7 @@ build-system-ubuntu: variables: IMAGE: ubuntu2004 CONFIGURE_ARGS: --enable-docs --enable-fdt=system --enable-slirp=system + --enable-capstone=system TARGETS: aarch64-softmmu alpha-softmmu cris-softmmu hppa-softmmu microblazeel-softmmu mips64el-softmmu MAKE_CHECK_ARGS: check-build
Signature · 1 line
2.27.0
[PULL 2/8] Remove Ubuntu 18.04 container support from the repository
In reply to Thomas HuthAccording to our "Supported build platforms" policy, we now do not support Ubuntu 18.04 anymore. Remove the related container files and entries from our CI.
Message-Id: <[email protected]>
--- .gitlab-ci.d/containers.yml | 5 - .../custom-runners/ubuntu-20.04-aarch32.yml | 2 +- .../custom-runners/ubuntu-20.04-aarch64.yml | 2 +- scripts/ci/setup/build-environment.yml | 14 +- tests/docker/dockerfiles/ubuntu1804.docker | 144 ------------------ tests/lcitool/refresh | 7 - 6 files changed, 4 insertions(+), 170 deletions(-) delete mode 100644 tests/docker/dockerfiles/ubuntu1804.docker
.gitlab-ci.d/containers.yml +0 -5
@@ -19,11 +19,6 @@ amd64-debian-container: variables: NAME: debian-amd64 -amd64-ubuntu1804-container: - extends: .container_job_template - variables: - NAME: ubuntu1804 - amd64-ubuntu2004-container: extends: .container_job_template variables:
.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml +1 -1
@@ -1,6 +1,6 @@ # All ubuntu-20.04 jobs should run successfully in an environment # setup by the scripts/ci/setup/qemu/build-environment.yml task -# "Install basic packages to build QEMU on Ubuntu 18.04/20.04" +# "Install basic packages to build QEMU on Ubuntu 20.04" ubuntu-20.04-aarch32-all: needs: []
.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml +1 -1
@@ -1,6 +1,6 @@ # All ubuntu-20.04 jobs should run successfully in an environment # setup by the scripts/ci/setup/qemu/build-environment.yml task -# "Install basic packages to build QEMU on Ubuntu 18.04/20.04" +# "Install basic packages to build QEMU on Ubuntu 20.04" ubuntu-20.04-aarch64-all-linux-static: needs: []
scripts/ci/setup/build-environment.yml +2 -12
@@ -33,10 +33,9 @@ when: - ansible_facts['distribution'] == 'Ubuntu' - - name: Install basic packages to build QEMU on Ubuntu 18.04/20.04 + - name: Install basic packages to build QEMU on Ubuntu 20.04 package: name: - # Originally from tests/docker/dockerfiles/ubuntu1804.docker - ccache - gcc - gettext
@@ -90,7 +89,7 @@ when: - ansible_facts['distribution'] == 'Ubuntu' - - name: Install packages to build QEMU on Ubuntu 18.04/20.04 on non-s390x + - name: Install packages to build QEMU on Ubuntu 20.04 on non-s390x package: name: - libspice-server-dev
@@ -100,15 +99,6 @@ - ansible_facts['distribution'] == 'Ubuntu' - ansible_facts['architecture'] != 's390x' - - name: Install basic packages to build QEMU on Ubuntu 18.04 - package: - name: - # Originally from tests/docker/dockerfiles/ubuntu1804.docker - - clang - when: - - ansible_facts['distribution'] == 'Ubuntu' - - ansible_facts['distribution_version'] == '18.04' - - name: Install basic packages to build QEMU on Ubuntu 20.04 package: name:
tests/docker/dockerfiles/ubuntu1804.docker deleted +0 -144
144 lines not on this page · raw message
tests/lcitool/refresh +0 -7
@@ -65,11 +65,6 @@ def generate_cirrus(target, trailer=None): cmd = lcitool_cmd + ["variables", target, "qemu"] generate(filename, cmd, trailer) -ubuntu1804_skipssh = [ - "# https://bugs.launchpad.net/qemu/+bug/1838763\n", - "ENV QEMU_CONFIGURE_OPTS --disable-libssh\n" -] - ubuntu2004_tsanhack = [ "# Apply patch https://reviews.llvm.org/D75820\n", "# This is required for TSan in clang-10 to compile with QEMU.\n",
@@ -85,8 +80,6 @@ def debian_cross_build(prefix, targets): try: generate_dockerfile("centos8", "centos-stream-8") generate_dockerfile("fedora", "fedora-35") - generate_dockerfile("ubuntu1804", "ubuntu-1804", - trailer="".join(ubuntu1804_skipssh)) generate_dockerfile("ubuntu2004", "ubuntu-2004", trailer="".join(ubuntu2004_tsanhack)) generate_dockerfile("opensuse-leap", "opensuse-leap-152")
Signature · 1 line
2.27.0
[PULL 5/8] docs/about: Update the support statement for Windows
In reply to Thomas HuthOur support statement for Windows currently talks about "Vista / Server 2008" - which is related to the API of Windows, and this is not easy to understand for the non-technical users. Additionally, glib sets the _WIN32_WINNT macro to 0x0601 already, which indicates the Windows 7 API, so QEMU effectively depends on the Windows 7 API, too.
Thus let's bump the _WIN32_WINNT setting in QEMU to the same level as glib uses and adjust our support statement in the documentation to something similar that we're using for Linux and the *BSD systems (i.e. only the two most recent versions), which should hopefully be easier to understand for the users now.
And since we're nowadays also compile-testing QEMU with MSYS2 on Windows itself, I think we could mention this build environment here, too.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/880
Message-Id: <[email protected]>
--- docs/about/build-platforms.rst | 14 +++++++++----- configure | 2 ++ include/qemu/osdep.h | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-)
docs/about/build-platforms.rst +9 -5
@@ -86,11 +86,15 @@ similar versions. Windows ------- -The project supports building with current versions of the MinGW toolchain, -hosted on Linux (Debian/Fedora). - -The version of the Windows API that's currently targeted is Vista / Server -2008. +The project aims to support the two most recent versions of Windows that are +still supported by the vendor. The minimum Windows API that is currently +targeted is "Windows 7", so theoretically the QEMU binaries can still be run +on older versions of Windows, too. However, such old versions of Windows are +not tested anymore, so it is recommended to use one of the latest versions of +Windows instead. + +The project supports building QEMU with current versions of the MinGW +toolchain, either hosted on Linux (Debian/Fedora) or via MSYS2 on Windows. .. _Homebrew: https://brew.sh/ .. _MacPorts: https://www.macports.org/
configure +2 -0
@@ -1486,6 +1486,8 @@ fi ########################################## # glib support probe +# When bumping glib_req_ver, please check also whether we should increase +# the _WIN32_WINNT setting in osdep.h according to the value from glib glib_req_ver=2.56 glib_modules=gthread-2.0 if test "$modules" = yes; then
include/qemu/osdep.h +1 -1
@@ -75,7 +75,7 @@ QEMU_EXTERN_C int daemon(int, int);#ifdef _WIN32/* as defined in sdkddkver.h */ #ifndef _WIN32_WINNT -#define _WIN32_WINNT 0x0600/* Vista */ +#define _WIN32_WINNT 0x0601/* Windows 7 API (should be in sync with glib) */ #endif /* reduces the number of implicitly included headers */ #ifndef WIN32_LEAN_AND_MEAN
Signature · 1 line
2.27.0
[PULL 4/8] tests/qtest: use prctl(PR_SET_PDEATHSIG) as fallback to kill QEMU
In reply to Thomas HuthFrom: Daniel P. Berrangé <[email protected]>
Although we register a ABRT handler to kill off QEMU when g_assert() triggers, we want an extra safety net. The QEMU process might be non-functional and thus not have responded to SIGTERM. The test script might also have crashed with SEGV, in which case the cleanup handlers won't ever run.
Using the Linux specific prctl(PR_SET_PDEATHSIG) syscall, we can ensure that QEMU gets sent SIGKILL as soon as the controlling qtest exits, if nothing else has correctly told it to quit.
Note, technically the death signal is sent when the *thread* that called fork() exits. IOW, if you are calling qtest_init() in one thread, letting that thread exit, and then expecting to run qtest_quit() in a different thread, things are not going to work out. Fortunately that is not a scenario that exists in qtests, as pairs of qtest_init and qtest_quit are always called from the same thread.
Message-Id: <[email protected]>
--- tests/qtest/libqtest.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
tests/qtest/libqtest.c +17 -0
@@ -19,6 +19,9 @@#include <sys/socket.h> #include <sys/wait.h> #include <sys/un.h> +#ifdef __linux__ +#include <sys/prctl.h> +#endif /* __linux__ */ #include "libqtest.h" #include "libqmp.h"
@@ -301,6 +304,20 @@ QTestState *qtest_init_without_qmp_handshake(const char *extra_args) s->expected_status =0 ; s->qemu_pid =fork ();if (s->qemu_pid ==0 ) { +#ifdef __linux__ +/* +* Although we register a ABRT handler to kill off QEMU +* when g_assert() triggers, we want an extra safety +* net. The QEMU process might be non-functional and +* thus not have responded to SIGTERM. The test script +* might also have crashed with SEGV, in which case the +* cleanup handlers won't ever run. +* +* This PR_SET_PDEATHSIG setup will ensure any remaining +* QEMU will get terminated with SIGKILL in these cases. +*/ +prctl (PR_SET_PDEATHSIG ,SIGKILL ,0 ,0 ,0 ); +#endif /* __linux__ */ if (!g_setenv ("QEMU_AUDIO_DRV" ,"none" , true)) {exit (1 ); }
Signature · 1 line
2.27.0
[PULL 6/8] tests/vm: Add capstone to the NetBSD and OpenBSD VMs
In reply to Thomas HuthThe Capstone library that is shipped with NetBSD and OpenBSD works fine when compiling QEMU, so let's enable this in our build-test VMs to get a little bit more build-test coverage.
Message-Id: <[email protected]>
--- tests/vm/netbsd | 3 ++- tests/vm/openbsd | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
tests/vm/netbsd +2 -1
@@ -46,7 +46,8 @@ class NetBSDVM(basevm.BaseVM): "jpeg", "png", - # libs: ui + # libs: ui + "capstone", "SDL2", "gtk3+", "libxkbcommon",
tests/vm/openbsd +2 -1
@@ -48,7 +48,8 @@ class OpenBSDVM(basevm.BaseVM): "jpeg", "png", - # libs: ui + # libs: ui + "capstone", "sdl2", "gtk+3", "libxkbcommon",
Signature · 1 line
2.27.0
Quoted 12 lines · Thomas Huth
Hi Richard!
The following changes since commit
eec398119fc6911d99412c37af06a6bc27871f85:Merge tag 'for_upstream' of git://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2022-05-16 16:31:01 -0700)are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-18for you to fetch changes up to
83602083b4ada6ceb86bfb327e83556ebab120fc:
Quoted 7 lines
capstone: Remove the capstone submodule (2022-05-18 08:54:22 +0200)
----------------------------------------------------------------
* Remove Ubuntu 18.04 containers (not supported anymore)
* Improve the cleanup of the QEMU binary in case of failing qtests
* Update the Windows support statement
* Remove the capstone submodule (and rely on Capstone of the distros instead)
Fails centos-stream-8-x86_64 test,
Run-time dependency capstone found: NO (tried pkgconfig) ../meson.build:2539:2: ERROR: Dependency "capstone" not found, tried pkgconfig
https://gitlab.com/qemu-project/qemu/-/jobs/2473935684
r~
Quoted 38 lines
----------------------------------------------------------------
Daniel P. Berrangé (2):
tests/qtest: fix registration of ABRT handler for QEMU cleanup tests/qtest: useprctl(PR_SET_PDEATHSIG)as fallback to kill QEMUThomas Huth (6):
gitlab-ci: Switch the container of the 'check-patch' & 'check-dco' jobs Remove Ubuntu 18.04 container support from the repository docs/about: Update the support statement for Windows tests/vm: Add capstone to the NetBSD and OpenBSD VMs
capstone: Allow version 3.0.5 again
capstone: Remove the capstone submoduledocs/about/build-platforms.rst | 14 +- configure | 23 +--- meson.build | 115 +--------------- include/qemu/osdep.h | 2 +- tests/qtest/libqtest.c | 21 ++- .gitlab-ci.d/buildtest.yml | 3 +- .gitlab-ci.d/containers.yml | 5 - .../custom-runners/ubuntu-20.04-aarch32.yml | 2 +- .../custom-runners/ubuntu-20.04-aarch64.yml | 2 +- .gitlab-ci.d/static_checks.yml | 14 +- .gitlab-ci.d/windows.yml | 5 +- .gitmodules | 3 - capstone | 1 - meson_options.txt | 3 +- scripts/ci/setup/build-environment.yml | 14 +- scripts/meson-buildoptions.sh | 5 +- tests/docker/dockerfiles/ubuntu1804.docker | 144 --------------------- tests/lcitool/refresh | 7 - tests/vm/netbsd | 3 +- tests/vm/openbsd | 3 +- 20 files changed, 59 insertions(+), 330 deletions(-)delete mode 160000 capstone
delete mode 100644 tests/docker/dockerfiles/ubuntu1804.docker
Quoted 21 lines · Richard Henderson
Quoted 12 lines · Thomas Huth
Hi Richard!
The following changes since commit
eec398119fc6911d99412c37af06a6bc27871f85:Merge tag '
for_upstream' ofgit://git.kernel.org/pub/scm/virt/kvm/mst/qemuinto staging (2022-05-16 16:31:01 -0700)are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-18
for you to fetch changes up to
83602083b4ada6ceb86bfb327e83556ebab120fc:Quoted 7 lines
capstone: Remove the capstone submodule (2022-05-18 08:54:22 +0200)
----------------------------------------------------------------
* Remove Ubuntu 18.04 containers (not supported anymore)
* Improve the cleanup of the QEMU binary in case of failing qtests
* Update the Windows support statement
* Remove the capstone submodule (and rely on Capstone of the distros instead)
Quoted 6 lines
Fails centos-stream-8-x86_64 test,
Run-time dependency capstone found: NO (tried pkgconfig) ../meson.build:2539:2: ERROR: Dependency "capstone" not found, tried pkgconfig
That's a custom runner ... who has access to that one? Cleber? Stefan? I didn't spot an entry for it on https://wiki.qemu.org/AdminContacts ...
Anyway, somebody needs to install "capstone-devel" on that machine - or we need to disable capstone in scripts/ci/org.centos/stream/8/x86_64/configure now if the machine can't be changed...
Thomas
Quoted 29 lines · Thomas Huth
Quoted 28 lines · Richard Henderson
Quoted 14 lines · Thomas Huth
Hi Richard!
The following changes since commit
eec398119fc6911d99412c37af06a6bc27871f85:Merge tag '
for_upstream' ofgit://git.kernel.org/pub/scm/virt/kvm/mst/qemuinto staging (2022-05-16 16:31:01 -0700)are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-18
for you to fetch changes up to
83602083b4ada6ceb86bfb327e83556ebab120fc:Quoted 7 lines
capstone: Remove the capstone submodule (2022-05-18 08:54:22 +0200)
----------------------------------------------------------------
* Remove Ubuntu 18.04 containers (not supported anymore)
* Improve the cleanup of the QEMU binary in case of failing qtests
* Update the Windows support statement
* Remove the capstone submodule (and rely on Capstone of the distros instead)Fails centos-stream-8-x86_64 test,
Run-time dependency capstone found: NO (tried pkgconfig) ../meson.build:2539:2: ERROR: Dependency "capstone" not found, tried pkgconfig
Quoted 8 lines
That's a custom runner ... who has access to that one? Cleber? Stefan? I didn't spot an entry for it on https://wiki.qemu.org/AdminContacts ...
Anyway, somebody needs to install "capstone-devel" on that machine - or we need to disable capstone in
scripts/ci/org.centos/stream/8/x86_64/configurenow if the machine can't be changed...
I don't manage a custom CI runner for QEMU.
Stefan
Quoted 29 lines · Thomas Huth
Quoted 28 lines · Richard Henderson
Quoted 14 lines · Thomas Huth
Hi Richard!
The following changes since commit
eec398119fc6911d99412c37af06a6bc27871f85:Merge tag '
for_upstream' ofgit://git.kernel.org/pub/scm/virt/kvm/mst/qemuinto staging (2022-05-16 16:31:01 -0700)are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-18
for you to fetch changes up to
83602083b4ada6ceb86bfb327e83556ebab120fc:Quoted 7 lines
capstone: Remove the capstone submodule (2022-05-18 08:54:22 +0200)
----------------------------------------------------------------
* Remove Ubuntu 18.04 containers (not supported anymore)
* Improve the cleanup of the QEMU binary in case of failing qtests
* Update the Windows support statement
* Remove the capstone submodule (and rely on Capstone of the distros instead)Fails centos-stream-8-x86_64 test,
Run-time dependency capstone found: NO (tried pkgconfig) ../meson.build:2539:2: ERROR: Dependency "capstone" not found, tried pkgconfig
Quoted 8 lines
That's a custom runner ... who has access to that one? Cleber? Stefan? I didn't spot an entry for it on https://wiki.qemu.org/AdminContacts ...
Anyway, somebody needs to install "capstone-devel" on that machine - or we need to disable capstone in
scripts/ci/org.centos/stream/8/x86_64/configurenow if the machine can't be changed...
This is pretty that when we add build deps we need someone to manually inconvenient as a requirement :-(
It would be really nice if the host could run the jobs in containers, so when the pull request contains container updates, it "just works" in the same way as the standard gitlab runners.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 27 lines · Thomas Huth
Quoted 25 lines · Richard Henderson
Quoted 14 lines · Thomas Huth
Hi Richard!
The following changes since commit
eec398119fc6911d99412c37af06a6bc27871f85:Merge tag '
for_upstream' ofgit://git.kernel.org/pub/scm/virt/kvm/mst/qemuinto staging (2022-05-16 16:31:01 -0700)are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-18for you to fetch changes up to
83602083b4ada6ceb86bfb327e83556ebab120fc:Quoted 7 lines
capstone: Remove the capstone submodule (2022-05-18 08:54:22 +0200)
----------------------------------------------------------------
* Remove Ubuntu 18.04 containers (not supported anymore)
* Improve the cleanup of the QEMU binary in case of failing qtests
* Update the Windows support statement
* Remove the capstone submodule (and rely on Capstone of the distros instead)Fails centos-stream-8-x86_64 test,
Quoted 7 lines
Quoted 4 lines
Run-time dependency capstone found: NO (tried pkgconfig) ../meson.build:2539:2: ERROR: Dependency "capstone" not found, tried pkgconfig
That's a custom runner ... who has access to that one? Cleber? Stefan? I didn't spot an entry for it on https://wiki.qemu.org/AdminContacts ...
The 'Runner' string on the web page says:
"(Managed by Red Hat - willianr/clebergnu)"
Quoted 3 lines
Anyway, somebody needs to install "capstone-devel" on that machine - or we need to disable capstone in
scripts/ci/org.centos/stream/8/x86_64/configurenow if the machine can't be changed...
-- PMM
Quoted 31 lines · Peter Maydell
Quoted 30 lines · Thomas Huth
Quoted 28 lines · Richard Henderson
Quoted 14 lines · Thomas Huth
Hi Richard!
The following changes since commit
eec398119fc6911d99412c37af06a6bc27871f85:Merge tag '
for_upstream' ofgit://git.kernel.org/pub/scm/virt/kvm/mst/qemuinto staging (2022-05-16 16:31:01 -0700)are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-18for you to fetch changes up to
83602083b4ada6ceb86bfb327e83556ebab120fc:Quoted 7 lines
capstone: Remove the capstone submodule (2022-05-18 08:54:22 +0200)----------------------------------------------------------------
* Remove Ubuntu 18.04 containers (not supported anymore)
* Improve the cleanup of the QEMU binary in case of failing qtests
* Update the Windows support statement
* Remove the capstone submodule (and rely on Capstone of the distros instead)Fails centos-stream-8-x86_64 test,
Run-time dependency capstone found: NO (tried pkgconfig) ../meson.build:2539:2: ERROR: Dependency "capstone" not found, tried pkgconfig
Quoted 7 lines
Quoted 4 lines
That's a custom runner ... who has access to that one? Cleber? Stefan? I didn't spot an entry for it on https://wiki.qemu.org/AdminContacts ...
The 'Runner' string on the web page says:
"(Managed by Red Hat - willianr/clebergnu)"
Willian left, Cleber seems to be currently away from keyboard ... but I found someone who has access, so capstone-devel should hopefully be there now.
Richard, could you please re-try to merge the pull request?
Thanks,
Thomas
Richard Henderson
AppliedQuoted 37 lines · Thomas Huth
Quoted 36 lines · Peter Maydell
Quoted 34 lines · Thomas Huth
Quoted 23 lines · Richard Henderson
Quoted 14 lines · Thomas Huth
Hi Richard!
The following changes since commit
eec398119fc6911d99412c37af06a6bc27871f85:Merge tag '
for_upstream' ofgit://git.kernel.org/pub/scm/virt/kvm/mst/qemuinto staging (2022-05-16 16:31:01 -0700)are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-18
for you to fetch changes up to
83602083b4ada6ceb86bfb327e83556ebab120fc:Quoted 7 lines
capstone: Remove the capstone submodule (2022-05-18 08:54:22 +0200)
----------------------------------------------------------------
* Remove Ubuntu 18.04 containers (not supported anymore)
* Improve the cleanup of the QEMU binary in case of failing qtests
* Update the Windows support statement
* Remove the capstone submodule (and rely on Capstone of the distros instead)Quoted 6 lines
Fails centos-stream-8-x86_64 test,
Run-time dependency capstone found: NO (tried pkgconfig) ../meson.build:2539:2: ERROR: Dependency "capstone" not found, tried pkgconfig
That's a custom runner ... who has access to that one? Cleber? Stefan? I didn't spot an entry for it on https://wiki.qemu.org/AdminContacts ...
Quoted 6 lines
Quoted 2 lines
The 'Runner' string on the web page says:
"(Managed by Red Hat - willianr/clebergnu)"Willian left, Cleber seems to be currently away from keyboard ... but I found someone who has access, so capstone-devel should hopefully be there now.
Richard, could you please re-try to merge the pull request?
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/7.1 as appropriate.
r~