From patchwork Wed Jul 14 14:59:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 476747 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp650687jao; Wed, 14 Jul 2021 08:02:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwlPUFYxBNcw7ZMG+FnunX0e1mn2y0+r1VfKxOJg1mGB7FBY4BMj0+JR6+oRwD9+o5/584 X-Received: by 2002:ab0:254e:: with SMTP id l14mr14394828uan.108.1626274933277; Wed, 14 Jul 2021 08:02:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626274933; cv=none; d=google.com; s=arc-20160816; b=eWhT3mQO2hs/3EIAcF52FiDNtPrvWrzRbaJpXnWD7kLAnxS0qmuO5J5UhqrTDWm1CP +BKygLsxsRo6YeuOjNo559k0K86GUoJ1BVtovqmElpe3TvXdgVp6W3p+d7Rs2KVXzu4a 2RdKf4MQidGXxcDDx/iHxrBMe6zO04fg9Ud5IPL4bk+SA0ar9qPHXgFCzZN4y4Nigpc9 h5lfsKeD2+OYepxZVffgLS6qxDPpwsGiI3W5HD8HowhpNjdlAeXQ2Cm7faxLvj8A86YU 6G+i8SDdgd3EhsQXImWtJH0bsLTMdtJahBQyhsbPUqqM+LJimmjWGVr0F9xshCxoOAnK RYkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=upSrA5VKZfsiEiWwWizINynWt9+LP4Ug365sy8NTWmU=; b=qwOdGWO7t+x35XeGOjKW+ak3l7LbY0UxPPSISMHvyLRbj7U5Sne5np9jCQm/tO38cg 6WbWbWtGLy1aKoCv34FIqXUqTXxlHH6JlgoiAM0aLYQ4fMLGAk/wBxesuBw7iOgKIbyR 1SzLYVqtoblIzaHcfuYbZSKqdGlS355E4sAmp/i4dP20MfbbqnOeHmEzGa6twYCS4fOO Rg3NNaRXnchiemgpVVJyBsjR0BQoLwXpgwBAda7hZT+t0m7OUJv5GBok9EmqQ0CLBkYo vLjhP1Y9va/f2gwUyd2m4tlJDDi2P4VH/VmZ0SAbRGSoH6kQ/GTL+burgrK51EUlxwSq 4S0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CPOENbQk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a9si2992277uat.222.2021.07.14.08.02.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Jul 2021 08:02:13 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CPOENbQk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3gOq-00078D-Hc for patch@linaro.org; Wed, 14 Jul 2021 11:02:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3gNU-00073n-Ba for qemu-devel@nongnu.org; Wed, 14 Jul 2021 11:00:48 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:38848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3gNO-0007Oo-7k for qemu-devel@nongnu.org; Wed, 14 Jul 2021 11:00:48 -0400 Received: by mail-wm1-x32c.google.com with SMTP id b14-20020a1c1b0e0000b02901fc3a62af78so4108691wmb.3 for ; Wed, 14 Jul 2021 08:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=upSrA5VKZfsiEiWwWizINynWt9+LP4Ug365sy8NTWmU=; b=CPOENbQkmGmF5knDq5M2qGHuYmQNTs7R0f/yvMkezunn6GR2TGuf2nIn+t+FoEou4E IkvaS53laiG9G9innlO55HjxTaSbuyiwFF3V9hwZkll5kB3V5apTFfmV9zJ+cjnVX26q CubZ5ex0w2/FiVToBXmmw2gU0/gJwFG3qX9Pnb95a6wLnV50zrSZKfO33b19OV5OH4i6 Yfr2rtiyuxE/ZTH0kuioDRfxK8d1gIdV+P5iR/KirNc+s0c6ayA2nQbxDoI17mQbUR5/ T/iHREE42/EBsfare2FPvP2oWofsmlwXqDa+ZHPArxtFvEtYHFYjxyQTCDuAa4CvmEAn Vwqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=upSrA5VKZfsiEiWwWizINynWt9+LP4Ug365sy8NTWmU=; b=lj3iRCbLKja8FToIzgtnsw/Ole88cnFwXxmRLUeCCcDli1VzNwv8aEoxNMLK0uhYuL Fav9Cg1pSnFYi9UXUa7FZUjiojri8veFWPfPnVHGpNt3fT+wF83Tet6I3977MJsMu6Ha KNP41dkaOFWxIOFVKA//cfff1ECBnAmxP+W/HsA/LsmucF9IoSNfCAUj+eI4KjH9mLbv Ct2vYKqSLMxr5jSHlU9APdcpdTmOBAK92MqkRhx+zUAMIGHvlb/REdErREcZPHKlmaTk yLtooGw8ZUvw4yTLEzGoy3mT/nGe79/hyllcB4dTFlTKZrhVdJBjPE8eAcj/eXaU7Yg/ A8Eg== X-Gm-Message-State: AOAM5324tdCwy2eBtvM2cB8arfK3FtFwzKfNeFBqCPfpPaQ5nL7llGn/ aKtdkD6YBEcJg//Q1X5unwKvOQ== X-Received: by 2002:a7b:c4d3:: with SMTP id g19mr11645953wmk.78.1626274840683; Wed, 14 Jul 2021 08:00:40 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o29sm2237751wms.13.2021.07.14.08.00.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 08:00:37 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A84D51FF7E; Wed, 14 Jul 2021 16:00:36 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v5 00/44] testing, build and plugin updates Date: Wed, 14 Jul 2021 15:59:52 +0100 Message-Id: <20210714150036.21060-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The following changes since commit 4aa2454d94cca99d86aa32e71bd7c8159df91c59: Merge remote-tracking branch 'remotes/ehabkost-gl/tags/x86-next-pull-request' into staging (2021-07-14 12:00:56 +0100) are available in the Git repository at: https://github.com/stsquad/qemu.git tags/pull-testing-and-plugins-140721-5 for you to fetch changes up to a6b95a9733a94f38b289430bf46987809f53ab16: MAINTAINERS: Added myself as a reviewer for TCG Plugins (2021-07-14 15:54:13 +0100) ---------------------------------------------------------------- Testing and plugin updates: - custom runner playbooks for configuring GitLab runners - integrate Cirrus jobs into GitLab via cirrus-run - clean-up docker package lists - bump NetBSD to 9.2 - bump OpenBSD to 6.9 - make test-mmap more hexagon friendly - fixup handling of hostaddr for plugins - disallow some incompatible plugin configurations - fix handling of -ldl for BSDs - remove some old unused symbols from the plugin symbol map - enable plugins by default for most TCG builds - honour main build -Wall settings for plugins - new execlog plugin - new cache modelling plugin - fix io_uring build regression - disable modular TCG on Darwin ---------------------------------------------------------------- Alex Bennée (11): tests/tcg: also disable the signals test for plugins tests/tcg: make test-mmap a little less aggressive plugins: fix-up handling of internal hostaddr for 32 bit meson.build: move TCG plugin summary output meson.build: relax the libdl test to one for the function dlopen tcg/plugins: remove some stale entries from the symbol list configure: don't allow plugins to be enabled for a non-TCG build configure: add an explicit static and plugins check configure: stop user enabling plugins on Windows for now tcg/plugins: enable by default for most TCG builds contrib/plugins: enable -Wall for building plugins Alexandre Iooss (2): contrib/plugins: add execlog to log instruction execution and memory access docs/devel: tcg-plugins: add execlog plugin description Brad Smith (2): tests/vm: update NetBSD to 9.2 tests/vm: update openbsd to release 6.9 Cleber Rosa (4): Jobs based on custom runners: documentation and configuration placeholder Jobs based on custom runners: build environment docs and playbook Jobs based on custom runners: docs and gitlab-runner setup playbook Jobs based on custom runners: add job definitions for QEMU's machines Daniel P. Berrangé (18): build: validate that system capstone works before using it gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run cirrus: delete FreeBSD and macOS jobs hw/usb/ccid: remove references to NSS tests/docker: don't use BUILDKIT in GitLab either tests/docker: use project specific container registries tests/docker: use explicit docker.io registry tests/docker: remove FEATURES env var from templates tests/docker: fix sorting in package lists tests/docker: fix mistakes in centos package lists tests/docker: fix mistakes in fedora package list tests/docker: fix mistakes in ubuntu package lists tests/docker: remove mingw packages from Fedora tests/docker: expand centos8 package list tests/docker: expand fedora package list tests/docker: expand ubuntu1804 package list tests/docker: expand ubuntu2004 package list tests/docker: expand opensuse-leap package list Mahmoud Mandour (5): plugins: Added a new cache modelling plugin plugins/cache: Enable cache parameterization plugins/cache: Added FIFO and LRU eviction policies docs/devel: Added cache plugin to the plugins docs MAINTAINERS: Added myself as a reviewer for TCG Plugins Paolo Bonzini (2): meson: fix condition for io_uring stubs disable modular TCG on Darwin docs/ccid.txt | 15 +- docs/devel/ci.rst | 127 ++++ docs/devel/index.rst | 1 + docs/devel/tcg-plugins.rst | 86 ++- .gitlab-ci.d/cirrus/README.rst | 54 ++ configure | 142 +++-- meson.build | 26 +- include/qemu/plugin-memory.h | 2 +- accel/tcg/cputlb.c | 2 +- contrib/plugins/cache.c | 641 +++++++++++++++++++++ contrib/plugins/execlog.c | 153 +++++ plugins/api.c | 4 +- tests/tcg/multiarch/test-mmap.c | 208 +++---- .cirrus.yml | 55 -- .gitlab-ci.d/buildtest.yml | 23 - .gitlab-ci.d/cirrus.yml | 102 ++++ .gitlab-ci.d/cirrus/build.yml | 35 ++ .gitlab-ci.d/cirrus/freebsd-12.vars | 13 + .gitlab-ci.d/cirrus/freebsd-13.vars | 13 + .gitlab-ci.d/cirrus/macos-11.vars | 15 + .gitlab-ci.d/custom-runners.yml | 222 +++++++ .gitlab-ci.d/qemu-project.yml | 2 + .travis.yml | 12 +- MAINTAINERS | 2 + contrib/plugins/Makefile | 4 +- plugins/qemu-plugins.symbols | 3 - scripts/ci/setup/.gitignore | 2 + scripts/ci/setup/build-environment.yml | 116 ++++ scripts/ci/setup/gitlab-runner.yml | 71 +++ scripts/ci/setup/inventory.template | 1 + scripts/ci/setup/vars.yml.template | 12 + scripts/coverity-scan/coverity-scan.docker | 1 - stubs/meson.build | 4 +- tests/docker/common.rc | 19 +- tests/docker/docker.py | 4 +- tests/docker/dockerfiles/centos8.docker | 82 ++- .../docker/dockerfiles/debian-xtensa-cross.docker | 2 +- tests/docker/dockerfiles/debian10.docker | 4 +- tests/docker/dockerfiles/debian11.docker | 2 +- tests/docker/dockerfiles/fedora-cris-cross.docker | 2 +- tests/docker/dockerfiles/fedora-i386-cross.docker | 2 +- tests/docker/dockerfiles/fedora-win32-cross.docker | 3 +- tests/docker/dockerfiles/fedora-win64-cross.docker | 3 +- tests/docker/dockerfiles/fedora.docker | 67 +-- tests/docker/dockerfiles/opensuse-leap.docker | 77 ++- tests/docker/dockerfiles/ubuntu.docker | 4 +- tests/docker/dockerfiles/ubuntu1804.docker | 70 ++- tests/docker/dockerfiles/ubuntu2004.docker | 64 +- tests/docker/run | 3 - tests/docker/test-clang | 2 +- tests/docker/test-debug | 2 +- tests/docker/test-mingw | 3 +- tests/docker/test-misc | 2 +- tests/docker/test-tsan | 2 +- tests/tcg/hexagon/Makefile.target | 9 - tests/tcg/i386/Makefile.target | 3 + tests/tcg/multiarch/Makefile.target | 2 + tests/vm/netbsd | 4 +- tests/vm/openbsd | 4 +- 59 files changed, 2229 insertions(+), 381 deletions(-) create mode 100644 docs/devel/ci.rst create mode 100644 .gitlab-ci.d/cirrus/README.rst create mode 100644 contrib/plugins/cache.c create mode 100644 contrib/plugins/execlog.c create mode 100644 .gitlab-ci.d/cirrus.yml create mode 100644 .gitlab-ci.d/cirrus/build.yml create mode 100644 .gitlab-ci.d/cirrus/freebsd-12.vars create mode 100644 .gitlab-ci.d/cirrus/freebsd-13.vars create mode 100644 .gitlab-ci.d/cirrus/macos-11.vars create mode 100644 .gitlab-ci.d/custom-runners.yml create mode 100644 scripts/ci/setup/.gitignore create mode 100644 scripts/ci/setup/build-environment.yml create mode 100644 scripts/ci/setup/gitlab-runner.yml create mode 100644 scripts/ci/setup/inventory.template create mode 100644 scripts/ci/setup/vars.yml.template -- 2.20.1