From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620395; cv=none; d=zohomail.com; s=zohoarc; b=k9c/MfBo03F3MzsaIjBiuBGkMcdkxYka4nejtEZCiLhVon5dR6Hiy8acEjs3FeYCA+SwniLw/hvjOOMnnPeI/g38/1V8t56vuHY8uvArR0IP73xEOKvNd2tvnt4K27EPtDbL9RExyPiS2clwikd+Zmvu/aibUZ37gcZVWCT+e1k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620395; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=0wPinvsk7vEdGY5KkltJh2yfDiVq++tbF2ZWCeEQzY0=; b=XYokhR/z6ltT2iincXPiC9Fjzr1mEed5tY7SeI8Di68pxHMO11qRn6A1yJS3zDwxbXmEYgiURAGtmRGddlJTWDPborp90VQPd/2bmA7FVnqXZ4pAGRxPvsyZpB4Db5v2xae8Wn1n7gLmXatQxlaTA+Kp/kqXvaqesWiVE7ora8E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680620395799805.8893158872564; Tue, 4 Apr 2023 07:59:55 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8K-0004Gg-IJ; Tue, 04 Apr 2023 10:59:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8E-0004DJ-OT for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:35 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji87-0005AH-WF for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:30 -0400 Received: by mail-wm1-x332.google.com with SMTP id i5-20020a05600c354500b003edd24054e0so22012778wmq.4 for ; Tue, 04 Apr 2023 07:59:27 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 24-20020a05600c231800b003ed2276cd0dsm15456264wmo.38.2023.04.04.07.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:25 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3C33D1FFB8; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620366; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0wPinvsk7vEdGY5KkltJh2yfDiVq++tbF2ZWCeEQzY0=; b=AQiIE/HqEu999x1122TC93rZcWcSNo9AhLhZXJIdi771f1vO+xVZQ9NgKcIBJKU3JE uXtiD3mCTdx8LjoYuyBOLo8sQUtVJTsfwjv87+JFXrZ4vb5MxYGEvEc4F+O9DEYWZ8ym AIKdxykb/lGe3MI7IubuN+u93JibFbmmsfFc2rYE9VBDlUDRHbFxhK/yrOKejv6yPUrL PUB3imVeQOR2DIN64YTCCOl8NSAjlGaLjIINDADAthMBpUlFi3GigBzbvk/TgVXRHalx DQLCwmxN7bPh2ld2gqSzZO8aOtYy/SVMoNWQQB63tRmNZrZjdwEoW3XGeI1jybfDsQhr VqYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620366; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0wPinvsk7vEdGY5KkltJh2yfDiVq++tbF2ZWCeEQzY0=; b=edoXmuOsu8SsfRfe/mtYyUuAomCqoQFulT8PSZPcw0KMq6VTHBjhgJXnufN97iHEqn Se0ipwsFw4g1+NqcKkDrniJqCWdtkfqRnaiJCTKK9n6HJtHtd4DoODq5q6wncByJR29f +XBpZDzHzjDAeQSNAZq7SxEBwTP6EpaUHUzVa6QotT71knwviZtKbFsH3A7vdlxrc7LN C9V4fnDNMHPpFlLAax2NKjGjEANhN9NMh2omz7CnssfPajvg/t13muIixiNzuUMPt+LT 019W1abvWXL55ZXNXXWMh+NqNBrWRyyJdbcUQhraNCh6oAQJ0q5+KdVR3jZEcUWpyCu1 UGdg== X-Gm-Message-State: AAQBX9cZ8FuAVqpygnGuGrkLMO6tgx0fjsjXKDcPL1sceFx4EraWsrH/ Q5sQFcBSC1pwIIRHpgqshzFg8p1lHZNB8+YVnT8= X-Google-Smtp-Source: AKy350YgzfpsCrFifwMd4CE66sB18L09tExSzUUTR1GCmJnI5F9+5tsrME5rQCF7wSZ1LZpXuN4O6A== X-Received: by 2002:a05:600c:b51:b0:3ed:2a91:3bc9 with SMTP id k17-20020a05600c0b5100b003ed2a913bc9mr2564726wmr.15.1680620365845; Tue, 04 Apr 2023 07:59:25 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kautuk Consul , Thomas Huth Subject: [PULL 01/10] scripts/coverage: initial coverage comparison script Date: Tue, 4 Apr 2023 15:59:16 +0100 Message-Id: <20230404145925.2638152-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x332.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620397759100003 This is a very rough and ready first pass at comparing gcovr's json output between two different runs. At the moment it will give you a file level diff between two runs but hopefully it wont be too hard to extend to give better insight. After generating the coverage results you run with something like: ./scripts/coverage/compare_gcov_json.py \ -a ./builds/gcov.config1/coverage.json \ -b ./builds/gcov.config2/coverage.json My hope is we can use this to remove some redundancy from testing as well as evaluate if new tests are actually providing additional coverage or just burning our precious CI time. Signed-off-by: Alex Benn=C3=A9e Cc: Kautuk Consul Acked-by: Thomas Huth Message-Id: <20230403134920.2132362-2-alex.bennee@linaro.org> diff --git a/MAINTAINERS b/MAINTAINERS index ef45b5e71e..9e1a60ea24 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3908,3 +3908,8 @@ Performance Tools and Tests M: Ahmed Karaman S: Maintained F: scripts/performance/ + +Code Coverage Tools +M: Alex Benn=C3=A9e +S: Odd Fixes +F: scripts/coverage/ diff --git a/scripts/coverage/compare_gcov_json.py b/scripts/coverage/compa= re_gcov_json.py new file mode 100755 index 0000000000..1b92dc2c8c --- /dev/null +++ b/scripts/coverage/compare_gcov_json.py @@ -0,0 +1,119 @@ +#!/usr/bin/env python3 +# +# Compare output of two gcovr JSON reports and report differences. To +# generate the required output first: +# - create two build dirs with --enable-gcov +# - run set of tests in each +# - run make coverage-html in each +# - run gcovr --json --exclude-unreachable-branches \ +# --print-summary -o coverage.json --root ../../ . *.p +# +# Author: Alex Benn=C3=A9e +# +# SPDX-License-Identifier: GPL-2.0-or-later +# + +import argparse +import json +import sys +from pathlib import Path + +def create_parser(): + parser =3D argparse.ArgumentParser( + prog=3D'compare_gcov_json', + description=3D'analyse the differences in coverage between two run= s') + + parser.add_argument('-a', type=3DPath, default=3DNone, + help=3D('First file to check')) + + parser.add_argument('-b', type=3DPath, default=3DNone, + help=3D('Second file to check')) + + parser.add_argument('--verbose', action=3D'store_true', default=3DFals= e, + help=3D('A minimal verbosity level that prints the= ' + 'overall result of the check/wait')) + return parser + + +# See https://gcovr.com/en/stable/output/json.html#json-format-reference +def load_json(json_file_path: Path, verbose =3D False) -> dict[str, set[in= t]]: + + with open(json_file_path) as f: + data =3D json.load(f) + + root_dir =3D json_file_path.absolute().parent + covered_lines =3D dict() + + for filecov in data["files"]: + file_path =3D Path(filecov["file"]) + + # account for generated files - map into src tree + resolved_path =3D Path(file_path).absolute() + if resolved_path.is_relative_to(root_dir): + file_path =3D resolved_path.relative_to(root_dir) + # print(f"remapped {resolved_path} to {file_path}") + + lines =3D filecov["lines"] + + executed_lines =3D set( + linecov["line_number"] + for linecov in filecov["lines"] + if linecov["count"] !=3D 0 and not linecov["gcovr/noncode"] + ) + + # if this file has any coverage add it to the system + if len(executed_lines) > 0: + if verbose: + print(f"file {file_path} {len(executed_lines)}/{len(lines)= }") + covered_lines[str(file_path)] =3D executed_lines + + return covered_lines + +def find_missing_files(first, second): + """ + Return a list of files not covered in the second set + """ + missing_files =3D [] + for f in sorted(first): + file_a =3D first[f] + try: + file_b =3D second[f] + except KeyError: + missing_files.append(f) + + return missing_files + +def main(): + """ + Script entry point + """ + parser =3D create_parser() + args =3D parser.parse_args() + + if not args.a or not args.b: + print("We need two files to compare") + sys.exit(1) + + first_coverage =3D load_json(args.a, args.verbose) + second_coverage =3D load_json(args.b, args.verbose) + + first_missing =3D find_missing_files(first_coverage, + second_coverage) + + second_missing =3D find_missing_files(second_coverage, + first_coverage) + + a_name =3D args.a.parent.name + b_name =3D args.b.parent.name + + print(f"{b_name} missing coverage in {len(first_missing)} files") + for f in first_missing: + print(f" {f}") + + print(f"{a_name} missing coverage in {len(second_missing)} files") + for f in second_missing: + print(f" {f}") + + +if __name__ =3D=3D '__main__': + main() --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620415; cv=none; d=zohomail.com; s=zohoarc; b=DZT1fZUzIpZd3ZBBxrnlE8A6St0BPzmFp8ba3OauqrhONGwfWgS6/4a6Bdvr3TEpun80D3BiSsmQWPegdvUMgDFoDVsTr1X3eaUGtEDidKkM2gUDlb3ov0UrjEFVI57iPBx+Q5XqtxNG8YmLfKYxdLHM061grIR5AeE++OiRWfo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620415; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Us25J4D0Q5rwDN9Lk3sXEJe0MV4QRphddeq5Ff9CS5Q=; b=bCdytYb8Jn9fHAZFaur1S0ebWWot9/VJbHKl3gYlfaZMOZD3ySrjFXjuDdG2ivzcvNLgsuVTEl99n4xYH637b2vJiKH1H36ACI8MABxfosh5vfGiDs28ohrxgF6iJS/E5kciOQQJcIuhyh4hv/Ppanfq5qt7MYWgHZky8bomqn4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680620415600313.76941951083984; Tue, 4 Apr 2023 08:00:15 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8V-0004LN-Sk; Tue, 04 Apr 2023 10:59:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8L-0004Iu-AC for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:41 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji8F-0005Ar-7I for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:41 -0400 Received: by mail-wm1-x32f.google.com with SMTP id n19so19229356wms.0 for ; Tue, 04 Apr 2023 07:59:28 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5-20020a05600c228500b003e91b9a92c9sm15393696wmf.24.2023.04.04.07.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:25 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5200B1FFBA; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620367; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Us25J4D0Q5rwDN9Lk3sXEJe0MV4QRphddeq5Ff9CS5Q=; b=tXPmyD414X79euJLAyvbW02rHCCa9Uzx6UPH+FLxBBBu/UNoVpGe2DKWikHEoJm9O7 XvQepEu9voA9rX341kng1CwN6HlHsGS9kPU7llU2Xd2CUIRzRjEd1FUZAbNHHUb3X/f4 KqAKrR62/JUkoNrm2h6Uq4yBGplywdsriBXsX33UdD58dWqvCqcL/talbu+NhYNtQaA0 VQGmV42HOJWrvHlpQjKTgpJHXUEhV7yus6j+f66SecHXmZfQsUj8eINty4/YBO9KLP8b 2tT89rIfTXlHFknrDFuGELuAzyJ9UiwTzW1zm7H3gM8vHm+wd36OVWELcqyFgkWQdwEY N37Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620367; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Us25J4D0Q5rwDN9Lk3sXEJe0MV4QRphddeq5Ff9CS5Q=; b=68qsw6PThJMbMYoK3BYwh6Rt1ZWRa96WNbl0l3tljxMMcCIBOJLfIOT+UY9qrwefAd Ns35A6P3u+BXuseMVitgnTjYnNCypltqfqWOuUuJrcsbg4TDR5sbXB8OT//iY9Aq/J90 OOieaoXDZZqGVA6xrMVkLJzS7xu5kX7Rc1h5dzVAIc0njfoTD6wwnFFw7laUom4rficf 8He9PArpPE8zVNgja1KbcGA8wKolYqohTGTK7ZNFsJmbTI3KyZOIz8kV5/yvBAr3cXfn dZgwdY6DEch53bZ3vjhLmtwUZSxgroqDhR98Mus9zboZ6oAfLEOvz3UIGid53YD+r1a1 iHWA== X-Gm-Message-State: AAQBX9fpY0wW0DNYYpS0LUqe4+csgoph0KoyUP/zjNxiCmZ0Q1AohdoH UCSPrssgzXkx5qks9NVngFF5KA== X-Google-Smtp-Source: AKy350aPVe2fwDIsSz9BsMBqTNnEI9J9VcsNjzefkFR1VY0s2+7zTZXWhD3o2Sp8XW3nBFg4wHO0Zg== X-Received: by 2002:a1c:7505:0:b0:3ef:6aa1:9284 with SMTP id o5-20020a1c7505000000b003ef6aa19284mr2478440wmc.29.1680620366956; Tue, 04 Apr 2023 07:59:26 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL 02/10] gdbstub: Only build libgdb_user.fa / libgdb_softmmu.fa if necessary Date: Tue, 4 Apr 2023 15:59:17 +0100 Message-Id: <20230404145925.2638152-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620416423100006 From: Philippe Mathieu-Daud=C3=A9 It is pointless to build libgdb_user.fa in a system-only build (or libgdb_softmmu.fa in a user-only build). Besides, in some restricted build configurations, some APIs might be restricted / not available. Example in a KVM-only builds where TCG is disabled: $ ninja qemu-system-x86_64 [99/2187] Compiling C object gdbstub/libgdb_user.fa.p/user.c.o FAILED: gdbstub/libgdb_user.fa.p/user.c.o ../../gdbstub/user.c: In function =E2=80=98gdb_breakpoint_insert=E2=80=99: ../../gdbstub/user.c:438:19: error: implicit declaration of function =E2= =80=98cpu_breakpoint_insert=E2=80=99; did you mean =E2=80=98gdb_breakpoint_= insert=E2=80=99? [-Werror=3Dimplicit-function-declaration] 438 | err =3D cpu_breakpoint_insert(cpu, addr, BP_GDB, NULL= ); | ^~~~~~~~~~~~~~~~~~~~~ | gdb_breakpoint_insert ../../gdbstub/user.c:438:19: error: nested extern declaration of =E2=80= =98cpu_breakpoint_insert=E2=80=99 [-Werror=3Dnested-externs] ../../gdbstub/user.c: In function =E2=80=98gdb_breakpoint_remove=E2=80=99: ../../gdbstub/user.c:459:19: error: implicit declaration of function =E2= =80=98cpu_breakpoint_remove=E2=80=99; did you mean =E2=80=98gdb_breakpoint_= remove=E2=80=99? [-Werror=3Dimplicit-function-declaration] 459 | err =3D cpu_breakpoint_remove(cpu, addr, BP_GDB); | ^~~~~~~~~~~~~~~~~~~~~ | gdb_breakpoint_remove ../../gdbstub/user.c:459:19: error: nested extern declaration of =E2=80= =98cpu_breakpoint_remove=E2=80=99 [-Werror=3Dnested-externs] cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. Fixes: 61b2e136db ("gdbstub: only compile gdbstub twice for whole build") Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Message-Id: <20230329161852.84992-1-philmd@linaro.org> Signed-off-by: Alex Benn=C3=A9e Message-Id: <20230403134920.2132362-3-alex.bennee@linaro.org> diff --git a/gdbstub/meson.build b/gdbstub/meson.build index bd5c5cd67d..cdb4d28691 100644 --- a/gdbstub/meson.build +++ b/gdbstub/meson.build @@ -20,11 +20,13 @@ gdb_softmmu_ss =3D gdb_softmmu_ss.apply(config_host, st= rict: false) libgdb_user =3D static_library('gdb_user', gdb_user_ss.sources() + genh, name_suffix: 'fa', - c_args: '-DCONFIG_USER_ONLY') + c_args: '-DCONFIG_USER_ONLY', + build_by_default: have_user) =20 libgdb_softmmu =3D static_library('gdb_softmmu', gdb_softmmu_ss.sources() + genh, - name_suffix: 'fa') + name_suffix: 'fa', + build_by_default: have_system) =20 gdb_user =3D declare_dependency(link_whole: libgdb_user) user_ss.add(gdb_user) --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620430; cv=none; d=zohomail.com; s=zohoarc; b=QolEY2PggpgoEP7VLyxCUHX3VdstxwOlZlY3EEyo9JCPCeujNh519EMAfyx0Fwn00hnHgO7v0akXOM8y2XHzofvy3fdJI/OfrtYIfHAPE9lgRB0QvNKr1CBynkAghD3QUntUE1eBjn50a2ltBJOu/pnkgL5gY7HnJU8IvxnAzFg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620430; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=aAf+TE0WUqHD9GQJtq5AggVi3R+s0Li7ZN1ZFaHMUt0=; b=Y/8PwDEXxXXTFeeMhGPes9iPgMbkSysBRlU4Z3ynP576JNi57S4rQHZmCBxHgAb98RuMZb+tTe3z0F0MxM+W6Ovwio2pbTsgYBJwUqgaVHve63ER8yDg3aA/ZA2u1Ug6bMKB4yj+0+DY2z1xsKRd/7YAdTB3uQubqvFF2mt8Sts= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680620430213921.2629255606005; Tue, 4 Apr 2023 08:00:30 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8L-0004ID-5j; Tue, 04 Apr 2023 10:59:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8E-0004D8-KZ for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:35 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji87-0005AR-QY for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:30 -0400 Received: by mail-wm1-x330.google.com with SMTP id s13so19196228wmr.4 for ; Tue, 04 Apr 2023 07:59:27 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id o9-20020a05600c4fc900b003ef6bc71cccsm23234584wmq.27.2023.04.04.07.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:25 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6844E1FFBB; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620366; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aAf+TE0WUqHD9GQJtq5AggVi3R+s0Li7ZN1ZFaHMUt0=; b=ftp8OB1wIRjD4kMxXPqAODo5trzK11UJo9uxmhcNElR6hnQiEOQXjsp3ILYMaK1Jgb UFIeqb0bRGXV9PHmjKDzi6clodXIJj6pIn763a4KNt/GnWluvSw9XJQDo6LiWjccXU56 S/dOXpLEDRBYBgf/8pcAt/G2bZnf9r98FatEV+RVXwztoJYXpWDz3bhqZ460aaiBy+If f1nBAkXpan9EJzxAs0L2G2NwVC7cEmYac0BKrm6bNN/hDaqXH2Q7qIWFZHnu9i+EIlbM 5m0CHfhtzvhvDmE22ysiu4TcqTINcxRKarmaYIcP22w2E2SDvujYfK9JhCAJRphzx4gX Thyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620366; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aAf+TE0WUqHD9GQJtq5AggVi3R+s0Li7ZN1ZFaHMUt0=; b=QzVI0A/JkyQq3Q+uQot31na8huweYgFOs40yUkkurNAmR7FFMlwEO1kVQ5wXOfR4u6 BV424AZ9Dq4O/9WNmfo1fqBl59g9lG1qJG6EfYnP9zICURZQKrcG8liFMnbu69JfqdB3 Mim3j8jF/a6bhvIrD0LyQ5S3v/tUBOno62t/xffSSR2ILRzHjOZFvzkuKbd5h4IbYfYE Bg1kzgIcrFhOYNL0pSHA4xYw4lP8KPligK7laOtyJiNLEGqW0u9mfuTtSCHo9yYQnv0c 7/Yu7rN5A8eR2daLjZiHTUM7lmY5SbST5gDlAOOgFyPaJ8pzHdflV0CUtJqeJ7URdYat nD+g== X-Gm-Message-State: AAQBX9cCZqSEJ1F2ZNqktLOQYjSBIi3KaqEtI5+lY+F/SvobyOrIr+vB QoZGeyYW8FqIWnYSFEu8iCI2MQ== X-Google-Smtp-Source: AKy350aAE0iJt3JyZ7CtXvOvQrLrgeQxnt8eHmDXKt+Lq4trjUL4oogWBuqJbLBDMvaZ8rCkZcbmkw== X-Received: by 2002:a05:600c:4591:b0:3f0:3070:f4ea with SMTP id r17-20020a05600c459100b003f03070f4eamr14116162wmo.11.1680620366187; Tue, 04 Apr 2023 07:59:26 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Warner Losh , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 03/10] gdbstub: don't report auxv feature unless on Linux Date: Tue, 4 Apr 2023 15:59:18 +0100 Message-Id: <20230404145925.2638152-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x330.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620436156100001 The later handler if conditionally compiled only for Linux but we forgot to ensure we don't advertise it lest we confuse our BSD brethren. Signed-off-by: Alex Benn=C3=A9e Fixes: 51c623b0de ("gdbstub: add support to Xfer:auxv:read: packet") Reported-by: Warner Losh Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Warner Losh Tested-by: Warner Losh Message-Id: <20230403134920.2132362-4-alex.bennee@linaro.org> diff --git a/gdbstub/gdbstub.c b/gdbstub/gdbstub.c index 2a66371aa5..0760d78685 100644 --- a/gdbstub/gdbstub.c +++ b/gdbstub/gdbstub.c @@ -1468,7 +1468,7 @@ static void handle_query_supported(GArray *params, vo= id *user_ctx) ";ReverseStep+;ReverseContinue+"); } =20 -#ifdef CONFIG_USER_ONLY +#if defined(CONFIG_USER_ONLY) && defined(CONFIG_LINUX) if (gdbserver_state.c_cpu->opaque) { g_string_append(gdbserver_state.str_buf, ";qXfer:auxv:read+"); } --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620471; cv=none; d=zohomail.com; s=zohoarc; b=cwwW71DEZbpcbxsbnHUfEgdxUyY3OpNjmeXHltkVema0mGCziGsec7cvjDDL9x4JIHkNS3ROcOEVrmIEhY1euLYsFu8kQIvWltoHxnOfZr8+QClNNpcm+ktzJUX1ND46AQ9AalW7EEJUrPp6NSMSeuW2es7gPknw253q5J9ZY+s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620471; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ephpmQKt93ZYQzGx2uBErwScg+gDyS6wyGuV7TyDF0o=; b=A4NN4XHU5vEjf10tIcw+4Zqm1UhBFQR769qPwcmjCeUyy4bJcTIuCwneXBICdbc6vSc3FUT9UzmipVysW4AtQA6K48+XHoDJ1EW93yeJWRltn3vJJBOPL6kjqMLm5nHYGqETYCXrj2AiZ0yFuOWed2p8KaQwYBN+8arY8IVGWMM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680620471761468.128111118313; Tue, 4 Apr 2023 08:01:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8Q-0004K3-4w; Tue, 04 Apr 2023 10:59:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8F-0004FO-Vw for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:36 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji8A-0005B4-97 for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:35 -0400 Received: by mail-wr1-x42f.google.com with SMTP id d17so33121909wrb.11 for ; Tue, 04 Apr 2023 07:59:28 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id z7-20020a05600c220700b003f04646838esm14222848wml.39.2023.04.04.07.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:25 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7D39C1FFBC; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620367; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ephpmQKt93ZYQzGx2uBErwScg+gDyS6wyGuV7TyDF0o=; b=jSS38C7hrPvrRpPrpsoCZlMrsNU2f+FV5jqtSIam4Ap1jcD4Of/50oN3wa+f/q/UNz Slmyv5KOxhWeKxKTWuNS038noxc7OVYQkycQHfsPGRwd4vbBEsBc0G4MjF+FuR/8agKc waAC9zzknl5Ayqe/saWxg/wp86BYIuvEMmKUFU33L0IzAmbctq8x9D5R345CISVO/GaI 2tBowGfvJBlg7ufLw5OPgdkIHbwIb2HLPMevp0/8HMMoH/SCvhEix1b3iXF0NeNkwNWS NhrI8T1VKmwKlKiLNEjDwhsCcncVK8La4GNIcXgLxRAmDVHbAMgpjZ9ARBvIOuDf4dHF mMFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620367; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ephpmQKt93ZYQzGx2uBErwScg+gDyS6wyGuV7TyDF0o=; b=eD5hgP4cigmlHqtr1lTOJvvIhOSNA7kceC6V1S/xxVlP9TKn2qOAYx5GG7/IdrVUtO S7HsHZHE1u/W6S6dFF50CAJyYgH+LREZaEKOGqCH+DryoQlXTbULA5pB8cT35Z7MXdXs aI/v+vrYgAbaANl97NonjNi2j201o1okYI0KjzzkiFyE5CX5kHFxUmSE7OoyAldec1hq Dl3LgzV8ylzq2JE05AYVxKok3okxCmq+Hl6wNajBP4JdE/UoLAGTqaEVIUv+b7m80CJg h87/jYifqHAXs+AqH9d6oR8TqzZePAEVAtJsehKhoK5hDfLh+c2wO0R4LbDapydC0don OiTA== X-Gm-Message-State: AAQBX9cA4RUT++LbqHP6Ky8W7sQpVbiFIK7cReOKqQSDGdRcpmOgozQu 286m7r8zf/w8fUKTo91P32rAovwVVgRDNbXkZaE= X-Google-Smtp-Source: AKy350ZNP68yHu5RfcnTNhGinQ8s0kxIkxJus/NLiglz7FAWpqyIY2lx9lvIvdpLRnjP2dQ+5tgPew== X-Received: by 2002:adf:e2c4:0:b0:2c7:dad:5630 with SMTP id d4-20020adfe2c4000000b002c70dad5630mr1915815wrj.27.1680620367195; Tue, 04 Apr 2023 07:59:27 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Thomas Huth , Warner Losh , Markus Armbruster , Kashyap Chamarthy , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 04/10] MAINTAINERS: add a section for policy documents Date: Tue, 4 Apr 2023 15:59:19 +0100 Message-Id: <20230404145925.2638152-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620480733100001 We don't update these often but now at least we have a few like minded individuals keeping reviewers eye out for changes. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Thomas Huth Reviewed-by: Warner Losh Reviewed-by: Markus Armbruster Reviewed-by: Kashyap Chamarthy Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20230403134920.2132362-5-alex.bennee@linaro.org> diff --git a/MAINTAINERS b/MAINTAINERS index 9e1a60ea24..2f67894604 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -64,6 +64,20 @@ L: qemu-devel@nongnu.org F: * F: */ =20 +Project policy and developer guides +R: Alex Benn=C3=A9e +R: Daniel P. Berrang=C3=A9 +R: Thomas Huth +R: Markus Armbruster +R: Philippe Mathieu-Daud=C3=A9 +W: https://www.qemu.org/docs/master/devel/index.html +S: Odd Fixes +F: docs/devel/style.rst +F: docs/devel/code-of-conduct.rst +F: docs/devel/conflict-resolution.rst +F: docs/devel/submitting-a-patch.rst +F: docs/devel/submitting-a-pull-request.rst + Responsible Disclosure, Reporting Security Issues ------------------------------------------------- W: https://wiki.qemu.org/SecurityProcess --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620413; cv=none; d=zohomail.com; s=zohoarc; b=AsblTaLrn7SfYCZ1wvJ95slAYQQyQBW9LqBtwpSa2Zh6g1z0t89C+AZuQtdsQaLj2cl9G8Z7WsEJFWMbYt7AjVHGVSk+oVYYPeVMApAlFhUEqr5Ni+s4FZvgg/tMJ2fiNN0cdAJ4ijNYM710xZEIZVyOz0zx7BuIWOH4kdY/cTo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620413; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=LjHLaVrEVQKJ9Md9w/twy+uhYkbwEad0mCPaPdBTuAs=; b=lxLcn1/S0MiWCMifFALXRwMTwOf74F2vb5n4iKti9rtGPrT4giNsJosAwcNHsFqC2EvkYZ0ez/asVzDMuSC2TN9evK8eUKm/Y3DRSEAZcfJJ8yiNWN9QDbIF1KoQ6hco1O4EDI6NHLO4GzAizgLDB8pxjabizqiKFfdehFLj45k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680620413684962.2171358126034; Tue, 4 Apr 2023 08:00:13 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8Y-0004Le-Hb; Tue, 04 Apr 2023 10:59:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8K-0004HR-Pp for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:40 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji8D-0005B6-TQ for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:37 -0400 Received: by mail-wr1-x430.google.com with SMTP id d17so33121925wrb.11 for ; Tue, 04 Apr 2023 07:59:28 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 24-20020a05600c231800b003ed2276cd0dsm15456291wmo.38.2023.04.04.07.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:27 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 92B161FFBD; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620367; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LjHLaVrEVQKJ9Md9w/twy+uhYkbwEad0mCPaPdBTuAs=; b=AT0nGEw5nmeFBXg9FVoLQ+/xfbvylAyVo9vxqj0wM1wrdqrMVYpyInhiAK0Buo5o9q OJ85hpHT9AxkpM1sBrCPdRtZc5I5fEyQpPrBACGx/uxA26eyoMvdhIsIo71GU0K+xw62 OEtARa8LKnbAjGyM52jYY4uiW5OVuAHffnZ+6xZ9/zwiob9Hu9srGhbkDlghL+/csA3+ Ft9IxYdeh2O6IqcSJQ/ftSjzOxhjv1vVzit/zGKsj6ZVj8cDJtAA/pUcELrCwovkpeQz PmDIF85lyPqxpqR+y4b1TpDd4iv3mACVIyy/wwuxsOoYHdtxJgR6ib/R0LoluKa84X8U eF2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620367; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LjHLaVrEVQKJ9Md9w/twy+uhYkbwEad0mCPaPdBTuAs=; b=qS8zsMJYhsrvvxNOK4fk0tWnco2JQ5iM2scLVzw1NjcGffsLj68jnLWvIDubPHPKOf dIm+3tM2edY2Z/+I2quCx04sY5plsQ+AUVJyJzsdPDXONyLOBYdNY2QAbPG3ijrC8KbL JHQAGuESnrxbNPCvjSq7ts4LqoX68gELegPATX6d5S6DJE8cAqYdD3LhBGe4rrItryKT 4J5IH6IJk5DNyD/YizL1Sn/XdX08/BpBs+buDwgKJEIkj1YRXOjZ880ccp+Ey1sdas4H 7WA2wDi/eUP6x22xN5PCCsjymki9OyGH8zxACag8RfocwpBDt2Z7gflXOFAsyDqaYTro vklg== X-Gm-Message-State: AAQBX9fl4EGHOcBtwQCB1i7cR4DKnn4V0sZ7FZuavlYJe89wRaqF5iHw syaY7iFkk8wstSgLqlzTj8upAA== X-Google-Smtp-Source: AKy350bPFZBXeDF3LQ1CL6CywJpWgZHjAX/V7wjC3hNoJnAi1Ylst76GoX3TGZsAK4XN8FQZtSG0ww== X-Received: by 2002:a05:6000:10cc:b0:2ce:ae57:71db with SMTP id b12-20020a05600010cc00b002ceae5771dbmr2025455wrx.33.1680620367402; Tue, 04 Apr 2023 07:59:27 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 05/10] metadata: add .git-blame-ignore-revs Date: Tue, 4 Apr 2023 15:59:20 +0100 Message-Id: <20230404145925.2638152-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620414623100001 Someone mentioned this on IRC so I thought I would try it out with a few commits that are pure code style fixes. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20230403134920.2132362-7-alex.bennee@linaro.org> diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000000..93718ef425 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,21 @@ +# +# List of code-formatting clean ups the git blame can ignore +# +# git blame --ignore-revs-file .git-blame-ignore-revs +# +# or +# +# git config blame.ignoreRevsFile .git-blame-ignore-revs +# + +# gdbstub: clean-up indents +ad9e4585b3c7425759d3eea697afbca71d2c2082 + +# e1000e: fix code style +0eadd56bf53ab196a16d492d7dd31c62e1c24c32 + +# target/riscv: coding style fixes +8c7feddddd9218b407792120bcfda0347ed16205 + +# replace TABs with spaces +48805df9c22a0700fba4b3b548fafaa21726ca68 --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620526; cv=none; d=zohomail.com; s=zohoarc; b=HgTqCKmplD9PJBEr5nW9ERLti0OQeZg8UXfcnIRJCM7RodRyMdIivtB3A7nS4cPr0HPDittBFYa5/R79HQX0xV5cdHNid4xskEbsWzoOw26P+6LzfGoDGxPkUf6d3KU0AeYac2GHZsLxIL93amuneLROMvF5dQrWRlWzHCKZ7Us= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620526; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=HcRxyZn3FQlBOoql67WkillcPr6cNAr+lCrFgofptWA=; b=J+X4KAGQPa5BUoM9QlGo1T0wqrlWlgdkPg9KBK84ycWGZ5H54ist39pA0RXK4nIY7OyEeHUT+bdHKxHcsHMduxlPSOY6xkEThttYa/nw+EEM+Y8I4d2JfCtLid0jhDAQU+luyjfKtrsxm/hvFM8bahJLT8tnIAJ51K7RwPCN3yA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680620526508765.9440034860056; Tue, 4 Apr 2023 08:02:06 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8u-0004my-IS; Tue, 04 Apr 2023 11:00:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8L-0004Iy-EJ for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:41 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji8F-0005Bg-86 for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:41 -0400 Received: by mail-wr1-x42e.google.com with SMTP id r29so33108612wra.13 for ; Tue, 04 Apr 2023 07:59:29 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id l4-20020a5d6744000000b002da76acfee1sm12451408wrw.28.2023.04.04.07.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:27 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A87401FFBE; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HcRxyZn3FQlBOoql67WkillcPr6cNAr+lCrFgofptWA=; b=uKGnDmyiQaoG5xBIVb50G9hpvbrCWXDpC9qdWP1VpqMwy7D12rq8BD2ahaQ3NqJh0h Oz+dCQuLA92U5KexmSBmEy61U7o6Wmj+MCg1wS9RJQInntOicmZVn/lcht8I7uKhkYJ8 agq5o9SDks95AbqPcOSI3KXrMOfH6kly/uoCjPucKyKf88HMGlK8wu2Njnmy2NJNUwvu mgy8Ff5PItfUDeU8XCyLp1dD9eyHd5RUjSGwDb4FNe4Eh9PogDNjLfj3TW45l+YHw1tk BrbCfnfu9PHQdS7bRlAubbNJaForsvy1nWOOjyq+qfTctCFuD6ULnXEovpnPZm2KNm6V 1V2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HcRxyZn3FQlBOoql67WkillcPr6cNAr+lCrFgofptWA=; b=6+4rn5NqJxPCZzyrA8/WkXbPrhcWh2CZLFM0Vzue/Q2M8qeJLk/X/5TnjkD4hYvHVq qPKQY61suxaEBeRVki1LSUNfyH0fDSyQq8Eq0ewc8+7AcMxnCB+fZJM2GLVp8n71UfTv z3UWJ+9c4qh8iPi/HAiCGTq4Xw25YO7FxPEKME2O0YCPUC4iTYvBJBw3sWgBfBZclDiR weBeO51ywxhAvALwRWg3sBJXp/V0V7QngPG+msRNxFJhaTs+0gK2yET1mW73CsP9W+AC 15dG+zlQIxCvjQ1SwppWkejRQmmGFax7YU1oKPdSWTfZH7jRCr23znUC+67wCJwTEjEu 73Ng== X-Gm-Message-State: AAQBX9eeqAicXP086FoJ4WExZKxeTCbWN0JHgoaXXAi+ZaAoS+qWohyb MQpV8ofvHsKoc4qWJhgKe9Ke+Q== X-Google-Smtp-Source: AKy350Ze6RuwQpxqkNncE8JTTouAIiBhR7OQ3DAZGYzhNuc/Y58FIJiyUyGUa/mjwbdz17Ykpdt9Rg== X-Received: by 2002:a5d:4573:0:b0:2e0:f63a:2324 with SMTP id a19-20020a5d4573000000b002e0f63a2324mr1805028wrc.23.1680620368158; Tue, 04 Apr 2023 07:59:28 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Marco Liebel , Brian Cain , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 06/10] Use hexagon toolchain version 16.0.0 Date: Tue, 4 Apr 2023 15:59:21 +0100 Message-Id: <20230404145925.2638152-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620534768100003 From: Marco Liebel Signed-off-by: Marco Liebel Reviewed-by: Brian Cain Message-Id: <20230329142108.1199509-1-quic_mliebel@quicinc.com> Signed-off-by: Alex Benn=C3=A9e Message-Id: <20230403134920.2132362-8-alex.bennee@linaro.org> diff --git a/tests/docker/dockerfiles/debian-hexagon-cross.docker b/tests/d= ocker/dockerfiles/debian-hexagon-cross.docker index 5308ccb8fe..b99d99f943 100644 --- a/tests/docker/dockerfiles/debian-hexagon-cross.docker +++ b/tests/docker/dockerfiles/debian-hexagon-cross.docker @@ -27,7 +27,7 @@ RUN apt-get update && \ =20 =20 ENV TOOLCHAIN_INSTALL /opt -ENV TOOLCHAIN_RELEASE 15.0.3 +ENV TOOLCHAIN_RELEASE 16.0.0 ENV TOOLCHAIN_BASENAME "clang+llvm-${TOOLCHAIN_RELEASE}-cross-hexagon-unkn= own-linux-musl" ENV TOOLCHAIN_URL https://codelinaro.jfrog.io/artifactory/codelinaro-toolc= hain-for-hexagon/v${TOOLCHAIN_RELEASE}/${TOOLCHAIN_BASENAME}.tar.xz =20 --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620506; cv=none; d=zohomail.com; s=zohoarc; b=OJ17luGN/IHECBjjeYrJ63AKjYbMs2v3e00peGu4M+e0UNP3XyaN5lury2UO+PiBGBdvyszuWeA2TCp4zu009JkBTRGfcvypamZhRApe1CXM/u6+h6NvQ9iqecN4dwHz/cFD1nya94N/IvWUsU6bZIriamTu6WxYxWPEkIJU1mQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620506; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=VLjuwoI0tklS2lCWxChUrAL9FHWkh8xZZV4DuqjaNu8=; b=KWpRiyYy7W77kTg5nsVjnp9NMDggCXVFBWQAiOHFDZJ3iDtxUz2+odBDc5EQEQn5zyJZ5ZCp5mReIryWCpwID+wehJCeseNPhg/UvfrpZjzzDqZTXGnB7cBkQRiVG4WyY9qn6ARrVs7EewAuXl53YqFZLtdsQfjN1UDesQox4p4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680620506217220.33659741888266; Tue, 4 Apr 2023 08:01:46 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8r-0004dW-6b; Tue, 04 Apr 2023 11:00:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8K-0004Hb-Sb for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:40 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji8E-0005CP-NY for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:39 -0400 Received: by mail-wr1-x430.google.com with SMTP id m2so33142157wrh.6 for ; Tue, 04 Apr 2023 07:59:30 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id u18-20020a5d5152000000b002be5bdbe40csm12393408wrt.27.2023.04.04.07.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:27 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BECCE1FFBF; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620369; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VLjuwoI0tklS2lCWxChUrAL9FHWkh8xZZV4DuqjaNu8=; b=lix3cDab6lA6a5zF/XVL/gEyA6yjcW8V29KxRtTplZ0Pfr/6E9jb66zb94lIUPEbOd wrP0TllA8lxVYTuvJd6FsDQSJu209dMmSEUdUn7Wp0QMw9eAVeyHyB8Qxb+ea8Q2604p oxpEd6Supc/kDgUVJq1MNH7F/MSXYdBP9hXTli1Ym9qFuVUv4iOMjCUIpTFfLSUdpoPf 6NMsTHSd8gi+RcJ3pNMV6f9ab5B2N9utsEd0/093S/h6rLPPSsEOc2q6swXLiHc8+Hty /3BMw+23FoXSR/z9sMwKV1G8oNg5GgAdrlPAbQCWDDGdnTcsdQrEvHUwhYP5Id5xEMf4 i6vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620369; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VLjuwoI0tklS2lCWxChUrAL9FHWkh8xZZV4DuqjaNu8=; b=uW5mVhovV4yoIIK0a7ifkBntDe7tJY5crXl/E7PoB3z5EPbcxvJerKGfPCtt4nNe6R Ef8tMSaX0QQ9CHswMAQKMq+C6B9/YbILW1IdrfaylNTrRt7gK/CY1tG+iHNPXQOlhHhc Kp88CjcNpjO1a8EE3U7UGCJT+P8IR8EtSTL20BBkxyX8WYwfegLaubLWwlnTcP/Sq2pS lQRXKRsrZBLq+xE8QBqAPvN05JuPMy0EiyYnVmCFjVxvitut2vQLEC3Qpgmsc1515x3H hr3dSTbHBtgFbUbKFLAYN5qNt5nEXvrHrEPPtvOQtqdxmdMdPrvpB+fTnj5YZoUS5bSR 0+zA== X-Gm-Message-State: AAQBX9cxQER+QZ0A7R2XfjqOH/qtx1zkBHIQnZUi8STLz157d/UIJA8f ZDdrPcpPYiTX1pzZvgDrzeGqaA== X-Google-Smtp-Source: AKy350aS8oM02H/ekewJGRw78SmhX/95fhBiiQMipsq1JRbGn/DJwBmtN/pGqgClUNXKuOqloiJDYw== X-Received: by 2002:a5d:5704:0:b0:2ce:a8e4:bb79 with SMTP id a4-20020a5d5704000000b002cea8e4bb79mr1882574wrv.53.1680620369265; Tue, 04 Apr 2023 07:59:29 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Thomas Huth , Kevin Wolf , Hanna Reitz , qemu-block@nongnu.org (open list:Block layer core) Subject: [PULL 07/10] tests/qemu-iotests: explicitly invoke 'check' via 'python' Date: Tue, 4 Apr 2023 15:59:22 +0100 Message-Id: <20230404145925.2638152-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620516438100001 From: Daniel P. Berrang=C3=A9 The 'check' script will use "#!/usr/bin/env python3" by default to locate python, but this doesn't work in distros which lack a bare 'python3' binary like NetBSD. We need to explicitly invoke 'check' by referring to the 'python' variable in meson, which resolves to the detected python binary that QEMU intends to use. This fixes a regression introduced by commit 51ab5f8bd795d8980351f8531e54995ff9e6d163 Author: Daniel P. Berrang=C3=A9 Date: Wed Mar 15 17:43:23 2023 +0000 iotests: register each I/O test separately with meson Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20230329124539.822022-1-berrange@redhat.com> Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Thomas Huth Message-Id: <20230403134920.2132362-9-alex.bennee@linaro.org> diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build index a162f683ef..9735071a29 100644 --- a/tests/qemu-iotests/meson.build +++ b/tests/qemu-iotests/meson.build @@ -47,19 +47,20 @@ foreach format, speed: qemu_iotests_formats endif =20 rc =3D run_command( - [qemu_iotests_check_cmd] + args + ['-n'], + [python, qemu_iotests_check_cmd] + args + ['-n'], check: true, ) =20 foreach item: rc.stdout().strip().split() - args =3D ['-tap', '-' + format, item, + args =3D [qemu_iotests_check_cmd, + '-tap', '-' + format, item, '--source-dir', meson.current_source_dir(), '--build-dir', meson.current_build_dir()] # Some individual tests take as long as 45 seconds # Bump the timeout to 3 minutes for some headroom # on slow machines to minimize spurious failures test('io-' + format + '-' + item, - qemu_iotests_check_cmd, + python, args: args, depends: qemu_iotests_binaries, env: qemu_iotests_env, --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620465; cv=none; d=zohomail.com; s=zohoarc; b=TsZQNs8VsCvNc3f12rLBMaIVeR0u0bXRXA0fni4GIJBLT7t49eaZBFYh9YzjoTQx8gZhpDsDB+osH+CUTKBndlSj2P+dtah66uQ0VsgdCrxxwrSPKE5+d5vWqB54WYqCw51jZcpLnv6gJ7PYaNxHo/z0Vn6TOYzZifS/PpGb7tU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620465; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=sB2ReJwCTUZnQ2bZlM/lAF1vxjy9hIECqbEXZz9U9CI=; b=mNzx6sT7T16oRu++/0+fBsy0UFstRJv83r183paoy4rdi6qbDFSqRf7C7RCSpc0G0zyP1aB360pYGKeFGoVE6wbSXzKFZ0Y1pikE2ve24wNMjwzAUk4lnPBsToe5HcQTKyLyugsPO0k/qTZAMe6XvwX9qSb+QBXgLcjkwG+wrZg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 168062046520363.47136096121221; Tue, 4 Apr 2023 08:01:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8u-0004nm-JT; Tue, 04 Apr 2023 11:00:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8Q-0004Kp-8d for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:46 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji8F-0005Bx-7V for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:42 -0400 Received: by mail-wr1-x430.google.com with SMTP id i9so33153855wrp.3 for ; Tue, 04 Apr 2023 07:59:29 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id d8-20020a5d6448000000b002c70d97af78sm12434244wrw.85.2023.04.04.07.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:27 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D508F1FFC0; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sB2ReJwCTUZnQ2bZlM/lAF1vxjy9hIECqbEXZz9U9CI=; b=U8jqb1lX2XH0ajWjrDMjLJRHpc9ca7r6getiSpN/dcliI7Mm02YynJzMRGBhKZzDOq KoL+s9EES9hKL8QhYMSGlaOt9yY2rfQoN8rJ1nKLjKLEPBTp/5EOb5faV7W72tHwWwm+ 0A1CXnRT5Ij6CdBu9TKxbv9YHZTE4OJt2RaknfTpko14KX8lhXA5MgtPwE1bdAwamsFs 9Hp6LTDu4OnqqIYPQ5JtspFmZsqn3V6HedT83qX5BOrdBEGgW1ntxwVcBoIybQOL/aVR fQlIG+FuKzllE8x3ONHGAbY5VdD/zeIUqVj3XxAak74BMqemRSQC/MggFV4wxYABjYmc WzHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sB2ReJwCTUZnQ2bZlM/lAF1vxjy9hIECqbEXZz9U9CI=; b=3aKGNhe2rM7ZVmIy7LjD9r829aM0/fV4mGEGWykfgeVzbBAjW0AbJf8fosA5Tqco1r ClbmNXVUV1ug+OHIFhnG7N/K0i2w++SOp5kZ7nQfv4cwymhbnVAsixhRvwE2BpO0OOZP 37ZfoEqRGWogpCOA2++KLoOZn4gVh3sxQLIYuOpw6tfCdjY+x4lhCoXy8I1i3omU0AQm 9t1hn4NZQwi2tt2pq7/jp6NZZMjVTQW8jfQxWQU0JCxaj9h18u4515Fhh3ToTTIhqTWD xwJaG9Q8/dhROd4Z2ctSi1M0N0pVscN26azmhB/SCnP9BdLJ6LPl5oXy3uIyd8k/rZJu rCxw== X-Gm-Message-State: AAQBX9erYOwqUZbopWe5jfyTl6OHg4cNXWahV/Vp6JWK2UJJdm2Xi5iB 9QLUpMhAlgd4b7tamgCWkynL4w== X-Google-Smtp-Source: AKy350Z06Hxscn3BzwDdofnPtSCGU2QYqvSJrIwJTjDP/rdMArTt3osoVVraY2iEBvWYy/1siYKLhA== X-Received: by 2002:adf:e5c6:0:b0:2d3:bde8:9ff with SMTP id a6-20020adfe5c6000000b002d3bde809ffmr1950458wrn.34.1680620368492; Tue, 04 Apr 2023 07:59:28 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Thomas Huth , Warner Losh , Kyle Evans , Wainer dos Santos Moschetta , Beraldo Leal , Reinoud Zandijk , Ryo ONODERA Subject: [PULL 08/10] tests/vm: use the default system python for NetBSD Date: Tue, 4 Apr 2023 15:59:23 +0100 Message-Id: <20230404145925.2638152-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620468610100001 From: Daniel P. Berrang=C3=A9 Currently our NetBSD VM recipe requests instal of the python37 package and explicitly tells QEMU to use that version of python. Since the NetBSD base ISO was updated to version 9.3 though, the default system python version is 3.9 which is sufficiently new for QEMU to rely on. Rather than requesting an older python, just test against the default system python which is what most users will have. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20230329124601.822209-1-berrange@redhat.com> Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Thomas Huth Tested-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20230403134920.2132362-10-alex.bennee@linaro.org> diff --git a/tests/vm/netbsd b/tests/vm/netbsd index aa54338dfa..0b9536ca17 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -30,7 +30,6 @@ class NetBSDVM(basevm.BaseVM): "git-base", "pkgconf", "xz", - "python37", "ninja-build", =20 # gnu tools @@ -66,7 +65,7 @@ class NetBSDVM(basevm.BaseVM): mkdir src build; cd src; tar -xf /dev/rld1a; cd ../build - ../src/configure --python=3Dpython3.7 --disable-opengl {configure_= opts}; + ../src/configure --disable-opengl {configure_opts}; gmake --output-sync -j{jobs} {target} {verbose}; """ poweroff =3D "/sbin/poweroff" --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620475; cv=none; d=zohomail.com; s=zohoarc; b=XLls37ieV/jNONg5nWTcHZQTpOR3KK73fQ0dtsfzAm0V9o4f0TjDa0FTioeNQvFvMVDtNcA6VM0vNl3a/oABqhwkASFGQQHa3ghMqx+O4KelKWNWpyrblHuJe85tyHtT1dGR9+qcDbB9lbOJDMlViFCtDUF/xTFiVNUQ1fEZgxM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620475; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=mPEptVG1moOKrND226B39dC48TdBlR+dJHFVa4gG/E0=; b=apIbNIGf5v9WH9BBcNCYg0N0H1LgC1xujpQyw43kSDYAaBPSZxA2Hz8/wEKy1Iuiak5zR8rHNLwJHn0iWT8ySzY2EVPC5TcRetK3ED3FndJQDnJzBTFV6ujgYy1rjPWg06RZO8heZPHB8alXx8jT+PD/2cdBusKv/FH25hGKzLI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 168062047449510.741898423221073; Tue, 4 Apr 2023 08:01:14 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji92-0004x8-M7; Tue, 04 Apr 2023 11:00:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8K-0004Hi-UU for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:40 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji8E-0005Br-Na for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:39 -0400 Received: by mail-wm1-x334.google.com with SMTP id n9-20020a05600c4f8900b003f05f617f3cso1138020wmq.2 for ; Tue, 04 Apr 2023 07:59:29 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id f22-20020a1c6a16000000b003ed2433aa4asm15279812wmc.41.2023.04.04.07.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:27 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EB6CE1FFB8; Tue, 4 Apr 2023 15:59:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mPEptVG1moOKrND226B39dC48TdBlR+dJHFVa4gG/E0=; b=CsDrdwkb2dlug61gdJwqjCyOH+kZbNUHv+ACBFrHy1lumZq6K8JrFzp0NtyICkQSGs W+MA6Y6UuuxE0jGIsTid3ahEZmGdkfLK4dxUxS0p4MPOR1nVQu8fPzgkY7Xd9wm249CM Vn9sWstb/H50O1Nu9TzWYgr5ttzamzubMJ5fbleHBEym3w4HlrSqYjOGbrocSoM5uD5b TLzccJBL0V/rPVt62/WfACe3XwXCP0SLnjzbfL0fmSF6cqi0c3EkNXRD43lj3HjJue8t 8j3wOoHQ+8nNHmrRKfAB233Y7bo4jePON10ya4LcMYMKB7NzYWeNlzJVTvatfs2YDndu VWZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mPEptVG1moOKrND226B39dC48TdBlR+dJHFVa4gG/E0=; b=Vhcd0IlQaC0sXc2SHLdf6MnHvyUF3RNI0cGo085zFLyAy1bisY+qlNSvyfDI+SfYJb J8+dx+Ag58VmLyEFe+ct1UIUzz2vXDZp1bbZw0/EOd/CG3RLBSEUJDsAn2vQMmSCZ509 3tzXV3zsBOER2iWzBhMXIgyREMrsYDTTOSggAkrqwHVLuLgF05wNDGEG/lrrbI2m8J2G DM5RZBZZsBTKOKsOaqlpmIPBUK/Em3nhTz2T4ILIJIrxHn9Ei0fVpinsuRMwGbpVGxp1 Fq5N3FLMNxXiB0ByThxw7wbHRvJMCmT0OdD9ntmjSwUJjbFuPSD9l85YIPTznGFSCCKi 5Uaw== X-Gm-Message-State: AAQBX9d/mPtXn6ynrdQPuPcExHRW3OtA8kw1Ft3o5byE87mF3HTq9Ude uS3EJ3t9rMvDccqb8SW3NnMcmw== X-Google-Smtp-Source: AKy350YKAul8QVEx3hOkkHeTvlR34X5X8Yw/dBXzVgkJ6NqL7ItCJBrfUKinyzWB+wKMvomsqtC5Tw== X-Received: by 2002:a1c:f718:0:b0:3ed:4685:4618 with SMTP id v24-20020a1cf718000000b003ed46854618mr2418148wmh.34.1680620368308; Tue, 04 Apr 2023 07:59:28 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 09/10] gitlab: fix typo Date: Tue, 4 Apr 2023 15:59:24 +0100 Message-Id: <20230404145925.2638152-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620481311100004 Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20230403134920.2132362-11-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/base.yml b/.gitlab-ci.d/base.yml index 0274228de8..2fbb58d2a3 100644 --- a/.gitlab-ci.d/base.yml +++ b/.gitlab-ci.d/base.yml @@ -75,5 +75,5 @@ - if: '$QEMU_CI !=3D "2" && $CI_PROJECT_NAMESPACE !=3D "qemu-project"' when: manual =20 - # Jobs can run if any jobs they depend on were successfull + # Jobs can run if any jobs they depend on were successful - when: on_success --=20 2.39.2 From nobody Sat Feb 7 05:57:11 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1680620510; cv=none; d=zohomail.com; s=zohoarc; b=MMxFuBZP+TWCf77m0Oy3VkSBSdLlVgLnib4z32XBkWj2btzxZnXW2Ar6ftfK3UrEAE5jSDHV2QXvOpnEpxShk0O7F8pI93h2nrGltKhex3/C3VumUxjWRJdc5IJH/CEPls9VPA0xSPn3RSAjtFilWYTDUMLvN745t4e4yyqk2eI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680620510; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=begeEv6PzHWw3JSOB2kgWACzTnnU0szOMJ+RXUWQ8A8=; b=P7d8tloKRygBO4xnxKDqdwNw9QKKD7QY8B+w0j3/zxamQ+jlvOhhN83cY7M2xhTynwzaACvhIGzszXXe4rYtusHFT2sgC6jrqteYevVI82PUN4t+INSgrFRigkDiF4Chjv3k1Cj5X3jVuLp7jOx07CgW6ErZ4mWa2F/xAtp2Y9g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680620510865592.4390160732664; Tue, 4 Apr 2023 08:01:50 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pji8m-0004b0-B7; Tue, 04 Apr 2023 11:00:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pji8L-0004Jc-OF for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:45 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pji8F-0005Cd-7F for qemu-devel@nongnu.org; Tue, 04 Apr 2023 10:59:41 -0400 Received: by mail-wr1-x435.google.com with SMTP id y14so33174157wrq.4 for ; Tue, 04 Apr 2023 07:59:30 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a12-20020a056000100c00b002cea8664304sm12362109wrx.91.2023.04.04.07.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 07:59:27 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0EA191FFC1; Tue, 4 Apr 2023 15:59:26 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680620369; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=begeEv6PzHWw3JSOB2kgWACzTnnU0szOMJ+RXUWQ8A8=; b=E/Ca0Bd7C4CXGFCDNsOJDB649tVI0gVBga77QPwxXTrFMx2LTp/uNm3f38qC6Zv8F+ w74iAgHTgiGHcbqenRue9Jidd+uWx0iI9nCCMLpDlsqnvow/co2U69LIy28979mZyKMX EJHV6QzHJ4VYDRgLucIfoIiyTnpfXqfQZRT+CfbEEN3tPJFiqvsf9gQ/+kPlIY53iLv4 E2Ew8+V5uLWeY0KvZwooepdGMTqLis8VnXPzVsR6tRNbuW1RcZ8itGajZDSItPltopnf vBJFYnEz5Q2EVQUjBsPFFpmh2JsUNHV4m/r/EEVoSOx7m9pmorWzOkPdS/nwBh1slRn1 Iueg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680620369; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=begeEv6PzHWw3JSOB2kgWACzTnnU0szOMJ+RXUWQ8A8=; b=LqKe94nCiBtIrTl8cmVSX+7JQ3QrxR3mm+Q8brt54zBslK2gstTAmHloOouu7fW8al Gh3QDZ50uXYhDb155iKALpbM5S5XWYGM+DcmSHEG2SpCIE8f4UA1zMSNcXvclCf6uWpF 27LQy8Lsd9H60JLR7tPb63LzXiZ5VfrAwTdGF7hRtGz03FYsJHltXesKqlTpjApPeGQJ khU01ciGB5FTJecueNgcP6mTFQbrdaus8BkcGcPXRStABeU+bkoTJP0t7dWPbotFlLTJ Cn5YQwoHeYQ5vl0GGdGDbL3B9ZdAXYVTwKZL3g/JFXSuZdnwEKW2VyJMivTHM0JBQdBD Xykg== X-Gm-Message-State: AAQBX9eFpRee+UefpVQgT0BVjS8Z0grXan4IXhX47cLei/Y/lwmEeTUo w3UwnJiF0swuUdo8I3/9WsbNIQ== X-Google-Smtp-Source: AKy350alnLyE9Lv4tw9cAE87Lu9aWd0kBZNEJvmfTxu/IIz036lViKXHuS9JugZL8rnoiXVsCyMtHA== X-Received: by 2002:adf:dd8d:0:b0:2d7:d4b:b33 with SMTP id x13-20020adfdd8d000000b002d70d4b0b33mr1891316wrl.21.1680620369444; Tue, 04 Apr 2023 07:59:29 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, David Woodhouse , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Paolo Bonzini , kvm@vger.kernel.org (open list:Overall KVM CPUs) Subject: [PULL 10/10] tests/avocado: Test Xen guest support under KVM Date: Tue, 4 Apr 2023 15:59:25 +0100 Message-Id: <20230404145925.2638152-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404145925.2638152-1-alex.bennee@linaro.org> References: <20230404145925.2638152-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1680620520845100001 From: David Woodhouse Exercise guests with a few different modes for interrupt delivery. In particular we want to cover: =E2=80=A2 Xen event channel delivery via GSI to the I/O APIC =E2=80=A2 Xen event channel delivery via GSI to the i8259 PIC =E2=80=A2 MSIs routed to PIRQ event channels =E2=80=A2 GSIs routed to PIRQ event channels As well as some variants of normal non-Xen stuff like MSI to vAPIC and PCI INTx going to the I/O APIC and PIC, which ought to still work even in Xen mode. Signed-off-by: David Woodhouse Signed-off-by: Alex Benn=C3=A9e Message-Id: <20230403134920.2132362-12-alex.bennee@linaro.org> diff --git a/tests/avocado/kvm_xen_guest.py b/tests/avocado/kvm_xen_guest.py new file mode 100644 index 0000000000..5391283113 --- /dev/null +++ b/tests/avocado/kvm_xen_guest.py @@ -0,0 +1,171 @@ +# KVM Xen guest functional tests +# +# Copyright =C2=A9 2021 Red Hat, Inc. +# Copyright =C2=A9 2023 Amazon.com, Inc. or its affiliates. All Rights Res= erved. +# +# Author: +# David Woodhouse +# Alex Benn=C3=A9e +# +# SPDX-License-Identifier: GPL-2.0-or-later + +import os + +from qemu.machine import machine + +from avocado_qemu import LinuxSSHMixIn +from avocado_qemu import QemuSystemTest +from avocado_qemu import wait_for_console_pattern + +class KVMXenGuest(QemuSystemTest, LinuxSSHMixIn): + """ + :avocado: tags=3Darch:x86_64 + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Daccel:kvm + :avocado: tags=3Dkvm_xen_guest + """ + + KERNEL_DEFAULT =3D 'printk.time=3D0 root=3D/dev/xvda console=3DttyS0' + + kernel_path =3D None + kernel_params =3D None + + # Fetch assets from the kvm-xen-guest subdir of my shared test + # images directory on fileserver.linaro.org where you can find + # build instructions for how they where assembled. + def get_asset(self, name, sha1): + base_url =3D ('https://fileserver.linaro.org/s/' + 'kE4nCFLdQcoBF9t/download?' + 'path=3D%2Fkvm-xen-guest&files=3D' ) + url =3D base_url + name + # use explicit name rather than failing to neatly parse the + # URL into a unique one + return self.fetch_asset(name=3Dname, locations=3D(url), asset_hash= =3Dsha1) + + def common_vm_setup(self): + # We also catch lack of KVM_XEN support if we fail to launch + self.require_accelerator("kvm") + + self.vm.set_console() + + self.vm.add_args("-accel", "kvm,xen-version=3D0x4000a,kernel-irqch= ip=3Dsplit") + self.vm.add_args("-smp", "2") + + self.kernel_path =3D self.get_asset("bzImage", + "367962983d0d32109998a70b45dcee4= 672d0b045") + self.rootfs =3D self.get_asset("rootfs.ext4", + "f1478401ea4b3fa2ea196396be44315bab2b= b5e4") + + def run_and_check(self): + self.vm.add_args('-kernel', self.kernel_path, + '-append', self.kernel_params, + '-drive', f"file=3D{self.rootfs},if=3Dnone,forma= t=3Draw,id=3Ddrv0", + '-device', 'xen-disk,drive=3Ddrv0,vdev=3Dxvda', + '-device', 'virtio-net-pci,netdev=3Dunet', + '-netdev', 'user,id=3Dunet,hostfwd=3D:127.0.0.1:0= -:22') + + try: + self.vm.launch() + except machine.VMLaunchFailure as e: + if "Xen HVM guest support not present" in e.output: + self.cancel("KVM Xen support is not present " + "(need v5.12+ kernel with CONFIG_KVM_XEN)") + elif "Property 'kvm-accel.xen-version' not found" in e.output: + self.cancel("QEMU not built with CONFIG_XEN_EMU support") + else: + raise e + + self.log.info('VM launched, waiting for sshd') + console_pattern =3D 'Starting dropbear sshd: OK' + wait_for_console_pattern(self, console_pattern, 'Oops') + self.log.info('sshd ready') + self.ssh_connect('root', '', False) + + self.ssh_command('cat /proc/cmdline') + self.ssh_command('dmesg | grep -e "Grant table initialized"') + + def test_kvm_xen_guest(self): + """ + :avocado: tags=3Dkvm_xen_guest + """ + + self.common_vm_setup() + + self.kernel_params =3D (self.KERNEL_DEFAULT + + ' xen_emul_unplug=3Dide-disks') + self.run_and_check() + self.ssh_command('grep xen-pirq.*msi /proc/interrupts') + + def test_kvm_xen_guest_nomsi(self): + """ + :avocado: tags=3Dkvm_xen_guest_nomsi + """ + + self.common_vm_setup() + + self.kernel_params =3D (self.KERNEL_DEFAULT + + ' xen_emul_unplug=3Dide-disks pci=3Dnomsi') + self.run_and_check() + self.ssh_command('grep xen-pirq.* /proc/interrupts') + + def test_kvm_xen_guest_noapic_nomsi(self): + """ + :avocado: tags=3Dkvm_xen_guest_noapic_nomsi + """ + + self.common_vm_setup() + + self.kernel_params =3D (self.KERNEL_DEFAULT + + ' xen_emul_unplug=3Dide-disks noapic pci=3Dn= omsi') + self.run_and_check() + self.ssh_command('grep xen-pirq /proc/interrupts') + + def test_kvm_xen_guest_vapic(self): + """ + :avocado: tags=3Dkvm_xen_guest_vapic + """ + + self.common_vm_setup() + self.vm.add_args('-cpu', 'host,+xen-vapic') + self.kernel_params =3D (self.KERNEL_DEFAULT + + ' xen_emul_unplug=3Dide-disks') + self.run_and_check() + self.ssh_command('grep xen-pirq /proc/interrupts') + self.ssh_command('grep PCI-MSI /proc/interrupts') + + def test_kvm_xen_guest_novector(self): + """ + :avocado: tags=3Dkvm_xen_guest_novector + """ + + self.common_vm_setup() + self.kernel_params =3D (self.KERNEL_DEFAULT + + ' xen_emul_unplug=3Dide-disks' + + ' xen_no_vector_callback') + self.run_and_check() + self.ssh_command('grep xen-platform-pci /proc/interrupts') + + def test_kvm_xen_guest_novector_nomsi(self): + """ + :avocado: tags=3Dkvm_xen_guest_novector_nomsi + """ + + self.common_vm_setup() + + self.kernel_params =3D (self.KERNEL_DEFAULT + + ' xen_emul_unplug=3Dide-disks pci=3Dnomsi' + + ' xen_no_vector_callback') + self.run_and_check() + self.ssh_command('grep xen-platform-pci /proc/interrupts') + + def test_kvm_xen_guest_novector_noapic(self): + """ + :avocado: tags=3Dkvm_xen_guest_novector_noapic + """ + + self.common_vm_setup() + self.kernel_params =3D (self.KERNEL_DEFAULT + + ' xen_emul_unplug=3Dide-disks' + + ' xen_no_vector_callback noapic') + self.run_and_check() + self.ssh_command('grep xen-platform-pci /proc/interrupts') --=20 2.39.2