From nobody Mon Feb 9 08:41:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1624612546428726.9261639399421; Fri, 25 Jun 2021 02:15:46 -0700 (PDT) Received: from localhost ([::1]:57460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwhw8-0002wA-IO for importer@patchew.org; Fri, 25 Jun 2021 05:15:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwhuS-0000Rt-KS for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:00 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:44024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwhuQ-0002sc-PW for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:00 -0400 Received: by mail-wm1-x32c.google.com with SMTP id p8-20020a7bcc880000b02901dbb595a9f1so5368705wma.2 for ; Fri, 25 Jun 2021 02:13:57 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g10sm5132596wmh.33.2021.06.25.02.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 02:13:56 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7B3FB1FF87; Fri, 25 Jun 2021 10:13:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3kiUdg16y+rpz0xmzHJCII4oHjLBoN3oJAAUdnqWaM8=; b=XAALvnmRMUeyxm1crmVLye3yL6T660qnfER5n1CXgXKBw01Lg/y+kHpIEeeMRbE10B wdaXRkV+l7UKbt/MvxBP4BCh7kngfH1xV3CT9eF8gXg5eJIb0eTC05KMgsTL3LRPWilt VxHRDwFU/Q7dk/E/C21jhL24FZLm4C5yw/oZC77x90/HxNaVhQJR96LvL6F4wKLyhOYK Du9ocAn/Kf3SEg8kMrwWA2N3HTWHWUv800ZAXoeaU5rnfJkTzwxrUWkA3Mf3YyrV+OY4 gRq229z3kFwQ+fV1WFld8YQD1tmoUpUWkEj/uNjwKyhmdbBj+gaQKknOR6ac+xd0/Qfh 5Xdg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=3kiUdg16y+rpz0xmzHJCII4oHjLBoN3oJAAUdnqWaM8=; b=pHjLE/QMGtaO0xf7iSZ6Btt8FDkfHtG1web2QFOOwLygZkB6lreM9HTIIHPj/GnA5c uiPBk6lyUYz6eD1apmFPpxS2RMffHrKVy5Zz9ccotTsVcYov9wJMGgm8G7fv/o0ftvSA sy6oIuwdMSu06LlMihn/Kgwi6IdMLbi85nP9nmHT2tp36ybScJ33fpxPgztURqyycuhm YN+DAQ+MP4eFG0/uOQy9zFlIjGzUIdm0jCrU1w3ZPEzi4F1mCLZym5wlwCbm3APGyjev iWlA+e1ocDz7/GSd8oAXv/XiegqyHrDrTKITg5GCcA+L8MAjxmhc/lWqDNyaeBx3xOlc Dd6Q== X-Gm-Message-State: AOAM530pXZGtNEcgPPYP9FjEcJIsLQfCZC9/aVcLDR4k1GUuERe36RNf jEBfqx/Z8rEvWalfmqhaEnOaqg== X-Google-Smtp-Source: ABdhPJwQz4DkiKgpldHBMNV6J0ZF/QSP48jLnEfRLxRnXq4i0WleFbtaTmwMSCNXMva3xZxeNicotQ== X-Received: by 2002:a7b:ce16:: with SMTP id m22mr9141148wmc.156.1624612436836; Fri, 25 Jun 2021 02:13:56 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 1/7] tests/acceptance: tweak the tcg/kvm tests for virt Date: Fri, 25 Jun 2021 10:13:49 +0100 Message-Id: <20210625091355.25673-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625091355.25673-1-alex.bennee@linaro.org> References: <20210625091355.25673-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::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=20Benn=C3=A9e?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , Willian Rampazzo , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Really it's only TCG that can select which GIC model you want, KVM guests should always be using the "host" version of the GIC for which QEMU already provides a handy shortcut. Make the KVM test use this and split the TCG test into it's two versions. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Willian Rampazzo Message-Id: <20210623102749.25686-2-alex.bennee@linaro.org> diff --git a/tests/acceptance/boot_linux.py b/tests/acceptance/boot_linux.py index 314370fd1f..4c8a5994b2 100644 --- a/tests/acceptance/boot_linux.py +++ b/tests/acceptance/boot_linux.py @@ -75,10 +75,11 @@ def add_common_args(self): self.vm.add_args('-device', 'virtio-rng-pci,rng=3Drng0') self.vm.add_args('-object', 'rng-random,id=3Drng0,filename=3D/dev/= urandom') =20 - def test_virt_tcg(self): + def test_virt_tcg_gicv2(self): """ :avocado: tags=3Daccel:tcg :avocado: tags=3Dcpu:max + :avocado: tags=3Ddevice:gicv2 """ self.require_accelerator("tcg") self.vm.add_args("-accel", "tcg") @@ -87,29 +88,28 @@ def test_virt_tcg(self): self.add_common_args() self.launch_and_wait(set_up_ssh_connection=3DFalse) =20 - def test_virt_kvm_gicv2(self): + def test_virt_tcg_gicv3(self): """ - :avocado: tags=3Daccel:kvm - :avocado: tags=3Dcpu:host - :avocado: tags=3Ddevice:gicv2 + :avocado: tags=3Daccel:tcg + :avocado: tags=3Dcpu:max + :avocado: tags=3Ddevice:gicv3 """ - self.require_accelerator("kvm") - self.vm.add_args("-accel", "kvm") - self.vm.add_args("-cpu", "host") - self.vm.add_args("-machine", "virt,gic-version=3D2") + self.require_accelerator("tcg") + self.vm.add_args("-accel", "tcg") + self.vm.add_args("-cpu", "max") + self.vm.add_args("-machine", "virt,gic-version=3D3") self.add_common_args() self.launch_and_wait(set_up_ssh_connection=3DFalse) =20 - def test_virt_kvm_gicv3(self): + def test_virt_kvm(self): """ :avocado: tags=3Daccel:kvm :avocado: tags=3Dcpu:host - :avocado: tags=3Ddevice:gicv3 """ self.require_accelerator("kvm") self.vm.add_args("-accel", "kvm") self.vm.add_args("-cpu", "host") - self.vm.add_args("-machine", "virt,gic-version=3D3") + self.vm.add_args("-machine", "virt,gic-version=3Dhost") self.add_common_args() self.launch_and_wait(set_up_ssh_connection=3DFalse) =20 --=20 2.20.1 From nobody Mon Feb 9 08:41:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1624612549335267.47001209088626; Fri, 25 Jun 2021 02:15:49 -0700 (PDT) Received: from localhost ([::1]:57728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwhwC-00037H-6k for importer@patchew.org; Fri, 25 Jun 2021 05:15:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwhuT-0000S6-Qi for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:01 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:56271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwhuQ-0002sz-SU for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:01 -0400 Received: by mail-wm1-x333.google.com with SMTP id c84so5777792wme.5 for ; Fri, 25 Jun 2021 02:13:58 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 9sm11730020wmf.3.2021.06.25.02.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 02:13:56 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 903451FF8C; Fri, 25 Jun 2021 10:13:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ziq8Q+65yXs85QgnyMAfaIYXuYjNk9uwdvgV6eM+uzI=; b=Ur2AAx8npu5Tf/gcX+0hEvjPdB02yc/T8yq+9ylTUucwMnSwlP7rHcqPBnk6bMkScw tDWso5HZHvFeRZiMP+8KgDOKc4I4Vqp7HeLEE2OROARGE965J2ou3xaZodLJR+y6BDLs tD95jLtpvqWZivHagu+gGFUmlZ+U9/JThRiZtNZyr0L6drKOh+xjPMN9d+slYpz6jWnU fJGsP39SR+B4pqHHHWHzBb7vghj1mRW2sLMSkAlGnhehsaNZQqQSO/OWAhX1iwzjeisO TxMRKC9YGMwn7R4H1s4uay+ZVOILlwfUpue9/FlFS7we5pFFS3X+aOioJ2r/yAkxWFyc 6tnA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ziq8Q+65yXs85QgnyMAfaIYXuYjNk9uwdvgV6eM+uzI=; b=bhwTT4T+j5klD8mA2G9BGULztLgEs1jDMWP7N+zz1ihbHtyOvdFozo0MvjV6CCMTrj txcLwJslDpKQnUuAVN/w+Qa+jG4km+i3Tjow/H7NBjQAfS0tJ1A/qPk/2YPOFYfR/I8M 49kX56AvqVu6jRSW4XgsMg5ZTMIrgc4Imvi1oZ6YcoUcKwqoO3/jN8pXC9dl2lJfzE6E CWUnE3Gnzq8iEPX2n0GWG+mheR+xxXqe7hfcBM69lJ9nlhnC9vlumz0N1KWJnlgdXLmh aVgUARNCKLORZoGQXZGn58wC/AX+JNhbfpewrTXxid9t9aT1Li6zDPd3uRykv+qit2Ko p67Q== X-Gm-Message-State: AOAM530R+KQ6ZFeJGtMdfPmHW+yQxMMLwpsg+S+NbJvke6k0rRvYffL4 sPCYYCx8mjAOPod9PuQYsHfoi98ckI2ceg== X-Google-Smtp-Source: ABdhPJzJZ0H3iTJIYV0dZEeyYMA356Bv1coajOU/iZs2vi2OAMwIGQc+8h/8rg0VRz+jwtLU28+clA== X-Received: by 2002:a05:600c:a45:: with SMTP id c5mr9690130wmq.153.1624612437629; Fri, 25 Jun 2021 02:13:57 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 2/7] docs/devel: Add a single top-level header to MTTCG's doc Date: Fri, 25 Jun 2021 10:13:50 +0100 Message-Id: <20210625091355.25673-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625091355.25673-1-alex.bennee@linaro.org> References: <20210625091355.25673-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::333; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x333.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: Luis Pires , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Luis Pires Without a single top-level header in the .rst file, the index ended up linking to all of the top-level headers separately. Now the index links to the top-level header at the beginning of the document and any inner headers are correctly linked as sub-items in the index. Signed-off-by: Luis Pires Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210528123526.144065-1-luis.pires@eldorado.org.br> Message-Id: <20210623102749.25686-3-alex.bennee@linaro.org> diff --git a/docs/devel/multi-thread-tcg.rst b/docs/devel/multi-thread-tcg.= rst index 92a9eba13c..5b446ee08b 100644 --- a/docs/devel/multi-thread-tcg.rst +++ b/docs/devel/multi-thread-tcg.rst @@ -4,8 +4,9 @@ This work is licensed under the terms of the GNU GPL, version 2 or later. See the COPYING file in the top-level directory. =20 -Introduction -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +Multi-threaded TCG +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 This document outlines the design for multi-threaded TCG (a.k.a MTTCG) system-mode emulation. user-mode emulation has always mirrored the --=20 2.20.1 From nobody Mon Feb 9 08:41:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 162461255192170.73610380225159; Fri, 25 Jun 2021 02:15:51 -0700 (PDT) Received: from localhost ([::1]:58000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwhwE-0003Hq-MK for importer@patchew.org; Fri, 25 Jun 2021 05:15:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwhuW-0000XL-Pk for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:04 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:44029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwhuU-0002ve-D3 for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:04 -0400 Received: by mail-wm1-x331.google.com with SMTP id p8-20020a7bcc880000b02901dbb595a9f1so5368829wma.2 for ; Fri, 25 Jun 2021 02:14:01 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m184sm5066849wmm.26.2021.06.25.02.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 02:13:56 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A91361FF8F; Fri, 25 Jun 2021 10:13:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ES6aP9eLrpmL5vbwI6z5QtaMohdgOgmYVT83oPzFr5I=; b=eu/zuwf0ekSIQp2bhEhSbXJ8X/i4kVpqCeosR8+Sqoqqv5Wq14oyofBTddXxbIpAkx jy0hc5+E1bI1Op4bJKLwsl4mNE2aEfvbHY5zvRo8hxeFZv5NnDRKKIrkUbZp/MeaHN+m 964cjzjEJ8CNsJB32NJril2tUYgygHgA+nVD6RjzorS3I9QOirorxYMgPXrVf8wLn18m ADww6By00n0OXnVW0i0DSrHbCAIYOSAnkj/x25Tinnd3Cx/ItAsy3C2rWeVPMDQ1+l32 a0Tahl6ObSUSFibodrjt2Phi4H8cFHJjXrD2vcSrpianwBNAihSj3es92HEUdBWYO+RF 0bwg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ES6aP9eLrpmL5vbwI6z5QtaMohdgOgmYVT83oPzFr5I=; b=QcarUcQZuTZDOBoSaxedbQZLRRvcWcAQ6iD+9G3U23y4Xj/VvEbQcEKyHoMKVuL1pA IxGcyZAVHqQmAppA3f6ONVCQMsdlnMRKxDQ4LQ7F8RlieyiDPWUe70xTmHpsxVJcCKXo /XKa30nzxdbJv3OHJyqA1lKycZEfgXat3yGQvucgicrzq0BrYpR5xe+tm2DSWu3wUKOt t4S5aALZ+Cg9p8LoCANvrhcSIji9PaKFfRdmPLjJ7XMyxQUREFgbp+azxW42YU4Rf647 308g9Ag4CdwoLIMOV5MqPZLgziTXJzY6Q6RdZQBuaTavQjrPu4W4Rmq7EPd9p7YmvV68 pnuA== X-Gm-Message-State: AOAM532y10h4bzqueFsSQrEk0ADUNILV45YlzoNHH5vUMMcAmzjXcc06 NFs/jLFdaybluuW0GDwkMECdwA== X-Google-Smtp-Source: ABdhPJykHaloikqAMK4iXTtBjqx3fDtRNiKQdWm5heIc8SSQKoHHlsnolqk4fVGDXWrNrel0PDQ3Bw== X-Received: by 2002:a7b:c8d8:: with SMTP id f24mr9663361wml.31.1624612440801; Fri, 25 Jun 2021 02:14:00 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 3/7] scripts/checkpatch: roll diff tweaking into checkpatch itself Date: Fri, 25 Jun 2021 10:13:51 +0100 Message-Id: <20210625091355.25673-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625091355.25673-1-alex.bennee@linaro.org> References: <20210625091355.25673-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::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.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: Thomas Huth , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Rather than relying on external tweaks lets just do it inside checkpatch's direct commitish handling which is QEMU specific code anyway. Suggested-by: Daniel P. Berrang=C3=A9 Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Willian Rampazzo Reviewed-by: Wainer dos Santos Moschetta Message-Id: <20210623102749.25686-4-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/static_checks.yml b/.gitlab-ci.d/static_checks.yml index 7e685c6a65..c5fa4fce26 100644 --- a/.gitlab-ci.d/static_checks.yml +++ b/.gitlab-ci.d/static_checks.yml @@ -4,9 +4,6 @@ check-patch: needs: job: amd64-centos8-container script: - - git config --local diff.renamelimit 0 - - git config --local diff.renames True - - git config --local diff.algorithm histogram - .gitlab-ci.d/check-patch.py variables: GIT_DEPTH: 1000 diff --git a/.patchew.yml b/.patchew.yml index 2638b7f564..1b78262ce5 100644 --- a/.patchew.yml +++ b/.patchew.yml @@ -138,9 +138,6 @@ testing: script: | #!/bin/bash git rev-parse base > /dev/null || exit 0 - git config --local diff.renamelimit 0 - git config --local diff.renames True - git config --local diff.algorithm histogram ./scripts/checkpatch.pl --mailback base.. docker-mingw@fedora: enabled: true diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index bbcd25ae05..cb8eff233e 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -399,7 +399,12 @@ if ($chk_branch) { my $num_patches =3D @patches; for my $hash (@patches) { my $FILE; - open($FILE, '-|', "git", "show", "--patch-with-stat", $hash) || + open($FILE, '-|', "git", + "-c", "diff.renamelimit=3D0", + "-c", "diff.renames=3DTrue", + "-c", "diff.algorithm=3Dhistogram", + "show", + "--patch-with-stat", $hash) || die "$P: git show $hash - $!\n"; while (<$FILE>) { chomp; --=20 2.20.1 From nobody Mon Feb 9 08:41:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1624612554624228.51098331338426; Fri, 25 Jun 2021 02:15:54 -0700 (PDT) Received: from localhost ([::1]:58236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwhwH-0003RU-JM for importer@patchew.org; Fri, 25 Jun 2021 05:15:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwhuY-0000cR-Qe for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:06 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:38821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwhuW-0002xU-HG for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:06 -0400 Received: by mail-wr1-x42a.google.com with SMTP id h11so9776564wrx.5 for ; Fri, 25 Jun 2021 02:14:04 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c8sm5405961wri.91.2021.06.25.02.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 02:14:01 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C04CB1FF90; Fri, 25 Jun 2021 10:13:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X7MWCKLUlWRy8aD7dKX2iXictuJ1eiPw/daTK5+xsVs=; b=bZuGEVcCF9Wd4CqpEYDrx8F9AOUy8toj9VnwWIp4QWuBXQMwd+13utipMhpcV3M1Iz 4dSxfrIRvK+tuUNmJ+MbyclybaJAYrub6JUGjNXEgiz0RIVmvXZyIVKpcgFpHyKqObIf Nxpp8WFYN/fme7A9EdlPiANjze6nFSZP/oJuY9Icz6NYn92TfDPYyt7knIsiONrkh/8B soGXA56X8EFptMDTI8XeRRdI39jizpSCivfg2nUrrKNdj6xmLlTIx1ezH491KJ2admqg Jir+IqIbYrvHZM3snKCkjTcnasYesxHSa89BuQt6loIZYljzTeBegL2DSU7vCmhA8xzq hGlA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=X7MWCKLUlWRy8aD7dKX2iXictuJ1eiPw/daTK5+xsVs=; b=PEnr/oG/GlTgSHMiVtWYgxzkABX/Zapv5FQWMJNGe9HmhUQ/WEiSu4zBNyD9rArZ2T TH1+yVk/5L6MOXAUnD6Op4bxRSXwTPbOMQtf7Da6McVuVLqpTMq70D+vABGY3eM/JcpR vm0ZwR54aZx/vaOg6oSPWhM2qlIRQFo7tz8HtniNgr3iGp6vKXrV/XT0+vdHbkn5bzd0 pLFiicnbcpUEj6vCZa5rMo7UHmX9UKZOKy1RqJTcnIJMjCf6zNW8ri8GvwU4yDfQ+zF5 chMi9Nqmm0RRLBRqLBtdW5eSGvkd2YWXktlzoUNQVKZHdlWcXVNNfGLCY+DxwR9hP3Zg retQ== X-Gm-Message-State: AOAM530vTGF9NZtoC4cTU5CahC3eCBAh6Jl/wEaR1kmbjzUgH3YTHrcT Hy0xqGAQTFRS3fZ0viwi672GBA== X-Google-Smtp-Source: ABdhPJxbNaAZ7ITJNlOaPVoX4iI/KUU7fILwezY678/x7F54RijCCDE3dAOFE1S310G+6Fp5mFBPJQ== X-Received: by 2002:adf:e80c:: with SMTP id o12mr9790810wrm.425.1624612443122; Fri, 25 Jun 2021 02:14:03 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 4/7] GitLab: Add "Bug" issue reporting template Date: Fri, 25 Jun 2021 10:13:52 +0100 Message-Id: <20210625091355.25673-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625091355.25673-1-alex.bennee@linaro.org> References: <20210625091355.25673-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::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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=20Benn=C3=A9e?= , Peter Krempa , John Snow , qemu-devel@nongnu.org, Stefan Hajnoczi Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: John Snow Based loosely on libvirt's template, written by Peter Krempa. Signed-off-by: John Snow Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Stefan Hajnoczi CC: Peter Krempa Message-Id: <20210607153155.1760158-2-jsnow@redhat.com> Message-Id: <20210623102749.25686-5-alex.bennee@linaro.org> diff --git a/.gitlab/issue_templates/bug.md b/.gitlab/issue_templates/bug.md new file mode 100644 index 0000000000..e910f7b1c2 --- /dev/null +++ b/.gitlab/issue_templates/bug.md @@ -0,0 +1,64 @@ + + +## Host environment + - Operating system: (Windows 10 21H1, Fedora 34, etc.) + - OS/kernel version: (For POSIX hosts, use `uname -a`) + - Architecture: (x86, ARM, s390x, etc.) + - QEMU flavor: (qemu-system-x86_64, qemu-aarch64, qemu-img, etc.) + - QEMU version: (e.g. `qemu-system-x86_64 --version`) + - QEMU command line: + + ``` + ./qemu-system-x86_64 -M q35 -m 4096 -enable-kvm -hda fedora32.qcow2 + ``` + +## Emulated/Virtualized environment + - Operating system: (Windows 10 21H1, Fedora 34, etc.) + - OS/kernel version: (For POSIX guests, use `uname -a`.) + - Architecture: (x86, ARM, s390x, etc.) + + +## Description of problem + + + +## Steps to reproduce +1. +2. +3. + + +## Additional information + + + + +/label ~"kind::Bug" --=20 2.20.1 From nobody Mon Feb 9 08:41:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1624612685727389.8881431498454; Fri, 25 Jun 2021 02:18:05 -0700 (PDT) Received: from localhost ([::1]:37124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwhyO-0008Gj-Nc for importer@patchew.org; Fri, 25 Jun 2021 05:18:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwhuZ-0000dD-10 for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:07 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:36815) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwhuX-0002y7-3o for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:06 -0400 Received: by mail-wr1-x429.google.com with SMTP id l12so9069313wrt.3 for ; Fri, 25 Jun 2021 02:14:04 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j17sm6624489wrx.0.2021.06.25.02.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 02:14:02 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D5A571FF91; Fri, 25 Jun 2021 10:13:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jonKQhmSMkqSTTFdINa7PAmkJCWi21KE+KwnNcX2cII=; b=VBGrW80ZB14hYV0PNdCNK0DBSaw3UmYBMpYrRVC9tp10WXl3GX21DdWMIyhYKihltB AyP/EL1EErEkrOqzcj7h19wYWaI2giAyoLBfvumPt6uLZuioFdUvfcCgLGD2dKiGhn+q mJmG/uoyDtP6XZt+ZlYJ0oyBrhzkua6QtKa6naj+KpQc1SwyRt5Y3l6wIwYuKNDL3ziV c6TuX7HGirsI9Xngd9F1QshYIuqPa9JtKFj+zuwRBfXezxZnc+DSNBezb9Fog9ak0iP2 FuK6rRJkITLWR+lFp/FrEupllrGN/b1JeKR65Vvl1qU3lHcGrsS/S6D4lhgE+hgdRTfv XzUw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=jonKQhmSMkqSTTFdINa7PAmkJCWi21KE+KwnNcX2cII=; b=WXnjJUk80ULn0/B5F3+FAYyhkcbVaCSM+lt1ttq1GpwijZsLagbrHRZOaVydCFJTbL JFqva64Rv6H8MADc/DgVbBeBCLXndqNhP0GP9BCAOwLvptErqiUperwrA8FXHaMhRm9Y gK6mOWMdpaxZcgAGVmDDCsNnuGC6iNUVONwaQn8zhHTcAB3cc7xLzaTabnZf9SCV+3rh KeYEOxzYsaxNR7WiVqkeISYHMpj0UKrPP7MArPMKYw9E/L0AWgbTMLVm0EeF5loVaiCY vPP4YFriiKMSkbyrdaw6SS791dz7wjEXuM3irwBxKRSz0Y25awejMthL8xaGyolI+4u6 ogdA== X-Gm-Message-State: AOAM530v1VFJaLwXsLyRUikrEM8O7M5vihgEFWQuk15Iy7qd91HbPi/W cjkoteXOAbt1nkECJlgaXPKWnA== X-Google-Smtp-Source: ABdhPJzfUOTSiEIO8vmFi289F1KdmftdU94AJf8184tkNe2WwMPwGQvEjcXrzPOyooX5EtcAKy8b1w== X-Received: by 2002:adf:fac4:: with SMTP id a4mr9983643wrs.189.1624612443830; Fri, 25 Jun 2021 02:14:03 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 5/7] GitLab: Add "Feature Request" issue template. Date: Fri, 25 Jun 2021 10:13:53 +0100 Message-Id: <20210625091355.25673-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625091355.25673-1-alex.bennee@linaro.org> References: <20210625091355.25673-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::429; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x429.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: Thomas Huth , Peter Krempa , John Snow , qemu-devel@nongnu.org, Stefan Hajnoczi , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: John Snow Based on Peter Krempa's libvirt template, feature.md. Signed-off-by: John Snow Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Stefan Hajnoczi Reviewed-by: Thomas Huth Reviewed-by: Alex Benn=C3=A9e CC: Peter Krempa Message-Id: <20210607153155.1760158-3-jsnow@redhat.com> Message-Id: <20210623102749.25686-6-alex.bennee@linaro.org> diff --git a/.gitlab/issue_templates/feature_request.md b/.gitlab/issue_tem= plates/feature_request.md new file mode 100644 index 0000000000..7de02dcc2c --- /dev/null +++ b/.gitlab/issue_templates/feature_request.md @@ -0,0 +1,32 @@ + + +## Goal + + + +## Technical details + + + +## Additional information + + + +/label ~"kind::Feature Request" --=20 2.20.1 From nobody Mon Feb 9 08:41:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1624612873110440.6440111628799; Fri, 25 Jun 2021 02:21:13 -0700 (PDT) Received: from localhost ([::1]:44874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwi1P-0005J5-Ua for importer@patchew.org; Fri, 25 Jun 2021 05:21:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwhuc-0000pn-Oj for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:10 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:43908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwhuZ-00030D-Tt for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:10 -0400 Received: by mail-wr1-x42c.google.com with SMTP id a13so9767948wrf.10 for ; Fri, 25 Jun 2021 02:14:07 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 2sm10738368wmk.24.2021.06.25.02.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 02:14:02 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EF9341FF92; Fri, 25 Jun 2021 10:13:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RiwmsClorkbOaoMh5w64DCeHLBIUZwprnnwBrOgDzNU=; b=nRlUPV+7ZN08c3ssbxwozBxsO9uN+MKSRnNZOW0koGD48BXPAX2FlmEf7U3C4VDYF6 yJo5Jcb9rjtG8RZRWFPKAkI3Ajv3KeOtMNLdL60elVaNzHC3QwgOxgF4M62g6d87k/q+ umDDFf4LENpooSG+FFphdqrSB+tyQrCw0DZoO8GQv5HCQ5+QOEIfRrxV9jfhbMu2Jqfh HP+r1oeKChtG+GJ8kSkVOcN1HYEQq1LfizNI3GvuLfZSd3/JRaNXtmRDLoXSQ6pd/jkW bAzyOlZK35vBqZ0QL8yIp/nnmU7Q70He4jwAaHA/QJTDz/QImFSD/SEiiEYwmBzB5aKr f3Eg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=RiwmsClorkbOaoMh5w64DCeHLBIUZwprnnwBrOgDzNU=; b=TsKRSbZpw7WhpLgD3TSv8Vy1ujdG1SR7fz+cQkIvwU/q6+CkQnFxl/WxFrTSVUAn3y umVlkR2tzqK+dVYQJiSTaBadJDGEE1nxYnarD9TbWMIx1N/fJBd3coUFKtYD9oh7CZEN Vnn386NZi79WALGQqsdq29acynykNsTq4UCfCy1fG4mfoMsWf4Y0hxe/WOZiUKUehe4X cRn1YL5JpEpcVpk5nT4jrymEtxNM0DbsdGgCJe4b46KhCvaV0DQsiaUJrRwy/E7VfuNe LoM7zgaP0M6OP9g/nLy1rlatpTXkPW1PVA9EDdiuurFfAonUKNxgHZ62eCjr4GSYo5Zz HuFQ== X-Gm-Message-State: AOAM532K9/rYSh451PkpmmaqKBXOjFER6R8yR4G9TZXcMifx1/wb2SDD yRH6AyC+WXVCtjvz8zLwRxLcvQ== X-Google-Smtp-Source: ABdhPJxMaGyarBirZAvwE/S01e4b2uf0+ytNFLbrN+VZtKw4RXfNYZxBDlyEyy3gJrWVO0TnlWcgZg== X-Received: by 2002:a5d:538f:: with SMTP id d15mr9763412wrv.408.1624612446575; Fri, 25 Jun 2021 02:14:06 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 6/7] tests/tcg: skip the signals test for hppa/s390x for now Date: Fri, 25 Jun 2021 10:13:54 +0100 Message-Id: <20210625091355.25673-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625091355.25673-1-alex.bennee@linaro.org> References: <20210625091355.25673-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::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.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: Thomas Huth , David Hildenbrand , Cornelia Huck , Richard Henderson , qemu-devel@nongnu.org, "open list:S390 TCG CPUs" , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) There are fixes currently in flight but as this is getting in the way of a green CI we might as well skip for now. For reference the fix series are: linux-user: Move signal trampolines to new page 20210616011209.1446045-1-richard.henderson@linaro.org and linux-user: Load a vdso for x86_64 and hppa 20210619034329.532318-1-richard.henderson@linaro.org Signed-off-by: Alex Benn=C3=A9e Acked-by: Cornelia Huck Cc: Richard Henderson Message-Id: <20210623102749.25686-7-alex.bennee@linaro.org> diff --git a/tests/tcg/hppa/Makefile.target b/tests/tcg/hppa/Makefile.target index 8bf01966bd..71791235f6 100644 --- a/tests/tcg/hppa/Makefile.target +++ b/tests/tcg/hppa/Makefile.target @@ -4,3 +4,7 @@ =20 # On parisc Linux supports 4K/16K/64K (but currently only 4k works) EXTRA_RUNS+=3Drun-test-mmap-4096 # run-test-mmap-16384 run-test-mmap-65536 + +# There is a race that causes this to fail about 1% of the time +run-signals: signals + $(call skip-test, $<, "BROKEN awaiting vdso support") diff --git a/tests/tcg/s390x/Makefile.target b/tests/tcg/s390x/Makefile.tar= get index 241ef28f61..0036b8a505 100644 --- a/tests/tcg/s390x/Makefile.target +++ b/tests/tcg/s390x/Makefile.target @@ -8,3 +8,7 @@ TESTS+=3Dexrl-trtr TESTS+=3Dpack TESTS+=3Dmvo TESTS+=3Dmvc + +# This triggers failures on s390x hosts about 4% of the time +run-signals: signals + $(call skip-test, $<, "BROKEN awaiting sigframe clean-ups") --=20 2.20.1 From nobody Mon Feb 9 08:41:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1624612868571323.9671838452239; Fri, 25 Jun 2021 02:21:08 -0700 (PDT) Received: from localhost ([::1]:44504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwi1L-00052p-BF for importer@patchew.org; Fri, 25 Jun 2021 05:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwhub-0000kk-A4 for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:09 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:39814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwhuZ-0002zo-B8 for qemu-devel@nongnu.org; Fri, 25 Jun 2021 05:14:08 -0400 Received: by mail-wm1-x32b.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso7986704wmh.4 for ; Fri, 25 Jun 2021 02:14:06 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m67sm11273088wmm.17.2021.06.25.02.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 02:14:02 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 143601FF93; Fri, 25 Jun 2021 10:13:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nuaYXTg4/dBgDQ4lrFjh3sy+LtieNejFb8VKCFi7jGg=; b=mPL6TbPdmvFgWghaFtK9AcxZMQ0AL9+CkOnMm48yikiwBklmZ7ZMZ1fsPWo/MX3JjJ l98aHWw+CSaPUpXwEJAO133Igvk82ZQhGPUs4bWaIZFcLlTquNhskwHbosndWze7NEF6 JNeiTBAD6yo5q/aXHsTieCb5xgBP8yUMWOhlwOWdNVgyqEo6okotV8EFCA+7SP5txJYR rhSQCMXXqYm5B6BIiia0oq7aRRBnd1Abe89XDibeAiT6g9jtBV2Kj9IQC5xvyO9nnGs9 1I64zvU8ESCwBJkqWYUsiEb03rJRsgv7NRUEfuWOanFzVUW0EC7ELOmNZuunPvzbtwff VT9w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=nuaYXTg4/dBgDQ4lrFjh3sy+LtieNejFb8VKCFi7jGg=; b=bEbC9CpfZI4ZBrSdhoMjoSBlh9BLPn95jiWqRjC8NhjW2p/v0nCt2ZHGRBZj3tcR2G 6Pw+YymJAQQ8pi3pJKr67GxSy+DtvIDNuuDIBLISSlZfNMrzFGwKy4KL7HJb9gskDSmH nKhRdunkeu2+y9+NxeEyOalAptAq/1Wn1k+RwKyJ2t8leqFUMHW6Gpja++/VWLQHB9BD vha/8k+nl88QUNtTel95oQcD0rXfUEHf9cQty5ycjiLn6+VVsThLldTF1EDWparuaiG8 aSj5cCvL1dB9J8HE/EXxV/qY0sEL4xVWYok6XrBl4RVinraIBatvZC269rRVun/0K1I0 mZ0g== X-Gm-Message-State: AOAM533DqdG+zHU/EDhdDZKnjT9jg/1wbP4L7Ut4ldeGhBb9pHNtztx8 hJ7UFptmzzB41SBLgDgIOQ1FsDDVfX9VsQ== X-Google-Smtp-Source: ABdhPJxfrdEcmSLWQMxKojyCtS0D7cuwgKikvBOC9be20y0bzhkjsOHKO7jqaUKyeuc75BkzxMJnVw== X-Received: by 2002:a1c:4682:: with SMTP id t124mr9231718wma.94.1624612445917; Fri, 25 Jun 2021 02:14:05 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 7/7] plugins/api: expose symbol lookup to plugins Date: Fri, 25 Jun 2021 10:13:55 +0100 Message-Id: <20210625091355.25673-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625091355.25673-1-alex.bennee@linaro.org> References: <20210625091355.25673-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::32b; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32b.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: Mahmoud Mandour , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) This is a quality of life helper for plugins so they don't need to re-implement symbol lookup when dumping an address. The strings are constant so don't need to be duplicated. One minor tweak is to return NULL instead of a zero length string to show lookup failed. Signed-off-by: Alex Benn=C3=A9e Signed-off-by: Mahmoud Mandour Message-Id: <20210608040532.56449-2-ma.mandourr@gmail.com> Message-Id: <20210623102749.25686-8-alex.bennee@linaro.org> diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h index 97cdfd7761..dc3496f36c 100644 --- a/include/qemu/qemu-plugin.h +++ b/include/qemu/qemu-plugin.h @@ -525,6 +525,15 @@ qemu_plugin_register_vcpu_syscall_ret_cb(qemu_plugin_i= d_t id, =20 char *qemu_plugin_insn_disas(const struct qemu_plugin_insn *insn); =20 +/** + * qemu_plugin_insn_symbol() - best effort symbol lookup + * @insn: instruction reference + * + * Return a static string referring to the symbol. This is dependent + * on the binary QEMU is running having provided a symbol table. + */ +const char *qemu_plugin_insn_symbol(const struct qemu_plugin_insn *insn); + /** * qemu_plugin_vcpu_for_each() - iterate over the existing vCPU * @id: plugin ID diff --git a/plugins/api.c b/plugins/api.c index 817c9b6b69..332e2c60e2 100644 --- a/plugins/api.c +++ b/plugins/api.c @@ -233,6 +233,12 @@ char *qemu_plugin_insn_disas(const struct qemu_plugin_= insn *insn) return plugin_disas(cpu, insn->vaddr, insn->data->len); } =20 +const char *qemu_plugin_insn_symbol(const struct qemu_plugin_insn *insn) +{ + const char *sym =3D lookup_symbol(insn->vaddr); + return sym[0] !=3D 0 ? sym : NULL; +} + /* * The memory queries allow the plugin to query information about a * memory access. --=20 2.20.1