From nobody Sat May 18 08:35:51 2024 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 ARC-Seal: i=1; a=rsa-sha256; t=1587462344; cv=none; d=zohomail.com; s=zohoarc; b=ghhMZwnaBn4a1+aQZnHMnmH56bUxhK01mcCO8QaxmxeB4Tnd+zPo2dIXgZ4p7JEnFl0auTg0QThXp2eTWIV9qWBqvHmZ4wZWslp6jvbdwG8JILF/GOFcM8mBVLKwcrsqcfCpDPt8XfNHHhiTjhcz3rpnA4vrVGa1Sb6OAl9K4PA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587462344; 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=8G62XSTUPNKZGFwOZugFbJOa4c1ZSiwyEE9S8xUHdlI=; b=fHpc3K+lvB+ze8jqELS+fBvjloiVIBPH0z/atnB4ZPMn9ylhB8jltZQdJZiGDg1Jhk9BbAeuBGe54saJc/XWSBm3th/dKY01ZMtJZdqMl7VCuk8izx6Td3lW3mBzgGuJDKBtS0mIMbbcQJuz/JUL/d+N5iZHpZDVjygcHg+eSSc= ARC-Authentication-Results: i=1; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1587462344206957.085743726236; Tue, 21 Apr 2020 02:45:44 -0700 (PDT) Received: from localhost ([::1]:54850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQpTK-0002Ig-Lv for importer@patchew.org; Tue, 21 Apr 2020 05:45:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37478) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQpQ7-0005hw-Ud for qemu-devel@nongnu.org; Tue, 21 Apr 2020 05:42:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQpQ5-0004Xf-K9 for qemu-devel@nongnu.org; Tue, 21 Apr 2020 05:42:23 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:52943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQpQ5-0004Vp-6O; Tue, 21 Apr 2020 05:42:21 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 188so2806542wmc.2; Tue, 21 Apr 2020 02:42:20 -0700 (PDT) Received: from x1w.redhat.com (116.red-83-42-57.dynamicip.rima-tde.net. [83.42.57.116]) by smtp.gmail.com with ESMTPSA id b22sm3082814wmj.1.2020.04.21.02.42.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 02:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8G62XSTUPNKZGFwOZugFbJOa4c1ZSiwyEE9S8xUHdlI=; b=PVh1fAYqEy5lq4uKVL8+41Br7557qI5TISw7YOUxuJncoClwfzgWIEGfNELHo7oSIJ Pg6mRIc8Ozct1Eo0FfyUCcPxqvar1B+vBdhdXPrAXHBSyplgNZLPTYjKVj3Ira6ip4Px 9qzSfwxw5XhmUjuXrpC3Z6kDReKZ69O2eCED7l/1Cn92iXAVl857G9IGmKaKBc7OEjT6 NhQd23ZweM7jBq+JmzNwgxwi+22ajGqt4ZgaqcnRYt7jIdZXpYCIOhKdsgXLUYVtjLKh FkzIEX6I2QcrE1AIdDtxyvUcI1lSwIO7C2YJ0pheaQ4uMN9Agq7/zjn0v4CDkuVufOfU H64A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=8G62XSTUPNKZGFwOZugFbJOa4c1ZSiwyEE9S8xUHdlI=; b=pDWcYxJknGfTQ/Q8cQUIR9g9F3qb0e6oWz4A17rVYqdA6rBRad6mqxPscMz9k2Wbsc eX6ZpMb1yCO9xixvHStM8Qwk1byaE3O6hbRLEcHu16svlFuq3AB2gomeQX2/h3eBmZ6O 2z+JIFeSaKNpcnIlH9AeSy3vqzlaUm1N9803PU5BA8PB1HohaZHt7QAR6MFHyM4Z1RAS Qac9afMYyyAHbPECVCo3l027NBsgOxF/kyK9lBbF7QmcDhNlWEk9kF2Ph0sE9dTQQ42k eFQ59U49WBlokSEFtV5f6g4W2ggP5AjV9VYBKhS8ho3sczwoG4Bbt0wVAvNPb5MjJwsC KYpw== X-Gm-Message-State: AGi0PuY60DyXxlmpHqCbHLokVFIc52eQAuyPHR8x4+g/oIWSKx5wZhej sBwy4wt/Hfsxrw/kTzxToTIRZSFS53U= X-Google-Smtp-Source: APiQypLAAqTSX8s4h8hglYTTj4twY7Y6E9o/+GhFMgXGxwvaPEEELZ8d+709MxN6XlIbCLQPTcGCeQ== X-Received: by 2002:a7b:c858:: with SMTP id c24mr4220857wml.51.1587462139381; Tue, 21 Apr 2020 02:42:19 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 1/4] MAINTAINERS: Cover the GDB Python scripts in the gdbstub section Date: Tue, 21 Apr 2020 11:42:13 +0200 Message-Id: <20200421094216.24927-2-f4bug@amsat.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200421094216.24927-1-f4bug@amsat.org> References: <20200421094216.24927-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32c.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::32c 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: Fam Zheng , Eduardo Habkost , qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Markus Armbruster , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Hajnoczi , Cleber Rosa , =?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) Keep an eye on these "same same, but different" files. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Alex Benn=C3=A9e --- Cc: "Alex Benn=C3=A9e" --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8cbc1fac2b..7a7f2b9c31 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2083,6 +2083,7 @@ R: Philippe Mathieu-Daud=C3=A9 S: Maintained F: gdbstub* F: gdb-xml/ +F: scripts/qemugdb/ =20 Memory API M: Paolo Bonzini --=20 2.21.1 From nobody Sat May 18 08:35:51 2024 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 ARC-Seal: i=1; a=rsa-sha256; t=1587462238; cv=none; d=zohomail.com; s=zohoarc; b=dP4L84N3413Iqr4HZ1cFaxU2Nf4Vg1lWP8IyOnCbTpBapEtbz3kaimeacWjQgBaRLQviddYOpNWmxvB2DDy7yTMxZPzpOJrgYdsZK5E7AR/bSfeETfJi7KkZI7MvupiiFUhz7EhfECfEiMDVFi1wTbatTvzFEz2N/aMkMFl0TE4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587462238; 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=o7iRMBDTE63C8dAXeaFq6vizBKPMbrYiwVf3GYE2Y2Y=; b=OmXXEpmta4vWWQsDqqSW9qGBRyLPZ7jqIJUQUnNQ+EWXXKvO0ar67TrQ61NoPC0WdldhFef4e+aLz80B5n1WN0rVD/0M09ADMF93cAwfmKwKOjKItK+CwQkCho52HcQbhr3VrEdpHmSnCMqdrXSNCDZ6cGCZigqWf7mcFb+Hz+s= ARC-Authentication-Results: i=1; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1587462238636695.6874843195849; Tue, 21 Apr 2020 02:43:58 -0700 (PDT) Received: from localhost ([::1]:54782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQpRd-0007WI-BN for importer@patchew.org; Tue, 21 Apr 2020 05:43:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37472) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQpQ7-0005hq-Pe for qemu-devel@nongnu.org; Tue, 21 Apr 2020 05:42:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQpQ7-0004au-7H for qemu-devel@nongnu.org; Tue, 21 Apr 2020 05:42:23 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:38484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQpQ6-0004Y7-RT; Tue, 21 Apr 2020 05:42:22 -0400 Received: by mail-wr1-x42a.google.com with SMTP id k11so15711331wrp.5; Tue, 21 Apr 2020 02:42:22 -0700 (PDT) Received: from x1w.redhat.com (116.red-83-42-57.dynamicip.rima-tde.net. [83.42.57.116]) by smtp.gmail.com with ESMTPSA id b22sm3082814wmj.1.2020.04.21.02.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 02:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o7iRMBDTE63C8dAXeaFq6vizBKPMbrYiwVf3GYE2Y2Y=; b=q6Dm2Yqpe/1yM04+F8OMPLKQbiScidcnIAohx68k27g972levFkwcOLILTuNEgQX9V F2rb6Uapn4RMrCHcCyfozcsebL0e0heTNyDbFk9D9CKEEVV53fqluL2Foqo6qiVerqzA m/cg65Afm4oq3/q6XvBOusoJSUDpBmcc6kDOIYCQ4tGpv8OSnhBceq8QcIK/A/d/0miP 8rc+RTgWaVAeixw0yuAsVy5CW7jM5apq8cjaRv87ppu7e9EAA5ZLQUCf+fMi/3RRzLYv AlV4jPnI05TcRPXTlVm4wYloSsXuLl4hRGsQtpmXZZQiXK01qzA8YRIDb+1GlOboPjvI l0gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=o7iRMBDTE63C8dAXeaFq6vizBKPMbrYiwVf3GYE2Y2Y=; b=D7HJEC8PMarHgCj2w9TS/M3KJt2fh4HutWCrT8qq4MwSdSjRgzOCZ1TbxkdmpiPF0Q MBWFN8XCya4Un6Xe+Xe1+RwYO8o66+6Qb5GnYpT9ga6MXR9WYpzgdo8Jol2sW3hsaZ/l QBEka5Xg1nfcnog7p0Kf/IaQTBVgKpEToamxikXNYSNGnmntQH35lHAnw106lXSwsQX0 ZrT/NLvOsB5cJx4EDyZVmyJwB4HXVoVT6Vhh3DB8RML8UswEbqIJ7QCxTUbRkkqO6psj SHzzERKRfoLFeKVkIdZeKnyz1UZxNPSjyOgiWb2HWCq/8m4boT6e3fHnuqlIJAvcZ/DF tKPg== X-Gm-Message-State: AGi0PuaP/2ftWQ52nDlIDkdwSKrCH+1UBrvFeh6PjuFBUHVm6/uwdOow FiDfBPQB/331x6054M23n8ogBgkOkl8= X-Google-Smtp-Source: APiQypLMEPUEcteMZAnPk9gU/9FMqgmhYnRPJBmIwAwCQghlo01thDNSZaaMET/j6yBjSreJppYwEw== X-Received: by 2002:a05:6000:11cb:: with SMTP id i11mr12791854wrx.339.1587462140582; Tue, 21 Apr 2020 02:42:20 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 2/4] scripts/qemugdb: Remove shebang header Date: Tue, 21 Apr 2020 11:42:14 +0200 Message-Id: <20200421094216.24927-3-f4bug@amsat.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200421094216.24927-1-f4bug@amsat.org> References: <20200421094216.24927-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42a.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::42a 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: Fam Zheng , Eduardo Habkost , qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Markus Armbruster , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Hajnoczi , Cleber Rosa , =?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) These scripts are loaded as plugin by GDB (and they don't have any __main__ entry point). Remove the shebang header. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Alex Benn=C3=A9e --- scripts/qemugdb/__init__.py | 3 +-- scripts/qemugdb/aio.py | 3 +-- scripts/qemugdb/coroutine.py | 3 +-- scripts/qemugdb/mtree.py | 4 +--- scripts/qemugdb/tcg.py | 1 - 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/scripts/qemugdb/__init__.py b/scripts/qemugdb/__init__.py index 969f552b26..da8ff612e5 100644 --- a/scripts/qemugdb/__init__.py +++ b/scripts/qemugdb/__init__.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +# # GDB debugging support # # Copyright (c) 2015 Linaro Ltd diff --git a/scripts/qemugdb/aio.py b/scripts/qemugdb/aio.py index 2ba00c4444..d7c1ba0c28 100644 --- a/scripts/qemugdb/aio.py +++ b/scripts/qemugdb/aio.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +# # GDB debugging support: aio/iohandler debug # # Copyright (c) 2015 Red Hat, Inc. diff --git a/scripts/qemugdb/coroutine.py b/scripts/qemugdb/coroutine.py index 41e079d0e2..db61389022 100644 --- a/scripts/qemugdb/coroutine.py +++ b/scripts/qemugdb/coroutine.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +# # GDB debugging support # # Copyright 2012 Red Hat, Inc. and/or its affiliates diff --git a/scripts/qemugdb/mtree.py b/scripts/qemugdb/mtree.py index 3030a60d3f..8fe42c3c12 100644 --- a/scripts/qemugdb/mtree.py +++ b/scripts/qemugdb/mtree.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +# # GDB debugging support # # Copyright 2012 Red Hat, Inc. and/or its affiliates @@ -84,4 +83,3 @@ def print_item(self, ptr, offset =3D gdb.Value(0), level = =3D 0): while not isnull(subregion): self.print_item(subregion, addr, level) subregion =3D subregion['subregions_link']['tqe_next'] - diff --git a/scripts/qemugdb/tcg.py b/scripts/qemugdb/tcg.py index 18880fc9a7..16c03c06a9 100644 --- a/scripts/qemugdb/tcg.py +++ b/scripts/qemugdb/tcg.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # # GDB debugging support, TCG status --=20 2.21.1 From nobody Sat May 18 08:35:51 2024 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 ARC-Seal: i=1; a=rsa-sha256; t=1587462252; cv=none; d=zohomail.com; s=zohoarc; b=XdkYO3eu9yLNlsqc5yh64dySsn0iFM7SHs9+xs9MjzN1VzPRP6/geRL0s63IYKDEbhdA7UIMgc6/KKVWMmCvUNbDlZbPwqMJh3P+pxoAWLqLaIqzD6F/gX2kZc+nPPBd60jttn6N43Akn41aZwymEAkokqF24QTRZpr/TCfTU5g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587462252; 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=96oLntjjoqhOPf+EtI3IXmVFJF9aW7sLCnox450L/Po=; b=m9UiioB085iLiZIPYYakuaFVQ1WyZK1v6ynsESyH2Zp9pHk/uNONUMB68ooRY1iTfyf/rvnuWhMtvs4HWKtHTl+zRrb3hJePVUB8WjebB5LqO6ZowsHwreduiI2ssey8nhZ8DDWml8fezqrCFtI8DLXrExFUtJ04kg3xp29WyZ8= ARC-Authentication-Results: i=1; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1587462252471527.8292141028925; Tue, 21 Apr 2020 02:44:12 -0700 (PDT) Received: from localhost ([::1]:54784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQpRr-0007jj-7L for importer@patchew.org; Tue, 21 Apr 2020 05:44:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37494) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQpQB-0005jF-Jv for qemu-devel@nongnu.org; Tue, 21 Apr 2020 05:42:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQpQ9-0004dw-Oo for qemu-devel@nongnu.org; Tue, 21 Apr 2020 05:42:26 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:45495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQpQ8-0004aL-6E; Tue, 21 Apr 2020 05:42:25 -0400 Received: by mail-wr1-x42a.google.com with SMTP id t14so15645194wrw.12; Tue, 21 Apr 2020 02:42:23 -0700 (PDT) Received: from x1w.redhat.com (116.red-83-42-57.dynamicip.rima-tde.net. [83.42.57.116]) by smtp.gmail.com with ESMTPSA id b22sm3082814wmj.1.2020.04.21.02.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 02:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=96oLntjjoqhOPf+EtI3IXmVFJF9aW7sLCnox450L/Po=; b=iZp5E2Y3ExAAlUIYBUgTr2PWBZZ8j2bklma4Qk9dhh7zEX7QXajB7OHyyX4l3qVCi7 1Vl2znquzHo5g5160DrBeq/n2Npa7fCLJm2gWQbF1Mf+XbBeMOPT8MzH3gixiQP4Gi1S o5daMPMtxZpBlsRIjKvhhUmQprESnV44om+iE8DaEz6+Ywku0ePiqFDCC3bf51dF2uU0 rqWEZiJbPe8QCxYBOxpX5l8GMHUHr/ZyoRw8tZZzCaBWwXrU4eerB4YUK9Ji3HN13oyn 5klRIJM4fIjIXeoI9nRQzd7o/twt7WXgvInYgpVgbpjE10EttZrRevJjoklcUmXz96bI mZOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=96oLntjjoqhOPf+EtI3IXmVFJF9aW7sLCnox450L/Po=; b=Hg5KW/GtGAKYf0/jjK6Il5Mr8AEdiv2379dIdiNJ45T954Yvuecl8DL1HxgYohjRng /JBQEtZdh7bCHUnux5p4hfwGO3ozIlbkQFvHH+qUaZJ6+KdvoLxAENyXtm9flQ3jxNAp mGAYJIL6kRnfeaNSbfdEgEIPm1Xry0iOynST1xKYx7AueVXvWo6uhNKy1ySwRHyFyAlx Xn4DKDDiQSdILxChncpbmQY432PYOM/1AXjdwqiMrhXSI153hD9qUzjHpWlL5uout6n+ 94gvv9zH+/V043BgENulGuCI+taBXASd5fv7W3AK3+15/M8vUJ/8GCoACZcFluIudjZ4 rl9w== X-Gm-Message-State: AGi0PuYLETKkTrwW/E4vpR9g3fG9yRoRlZFKeadLUQjXvxr5fj2DQPI7 cNXVrTfYusGKGdbqxOHUpupxIDbOOmU= X-Google-Smtp-Source: APiQypJm7BgnP7XDy42rErTcRewogUVFVcxhNHjVfl6dY1G/KphXQxGl+02+FvoS5GYY4+/+iQKbKg== X-Received: by 2002:a5d:654f:: with SMTP id z15mr24137450wrv.338.1587462141832; Tue, 21 Apr 2020 02:42:21 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 3/4] scripts/qmp: Use Python 3 interpreter Date: Tue, 21 Apr 2020 11:42:15 +0200 Message-Id: <20200421094216.24927-4-f4bug@amsat.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200421094216.24927-1-f4bug@amsat.org> References: <20200421094216.24927-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42a.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::42a 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: Fam Zheng , Eduardo Habkost , qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Markus Armbruster , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Hajnoczi , Cleber Rosa , =?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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- scripts/qmp/qom-get | 2 +- scripts/qmp/qom-list | 2 +- scripts/qmp/qom-set | 2 +- scripts/qmp/qom-tree | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/qmp/qom-get b/scripts/qmp/qom-get index 007b4cd442..72ccd79330 100755 --- a/scripts/qmp/qom-get +++ b/scripts/qmp/qom-get @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 ## # QEMU Object Model test tools # diff --git a/scripts/qmp/qom-list b/scripts/qmp/qom-list index 03bda3446b..5b8f9fd855 100755 --- a/scripts/qmp/qom-list +++ b/scripts/qmp/qom-list @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 ## # QEMU Object Model test tools # diff --git a/scripts/qmp/qom-set b/scripts/qmp/qom-set index c37fe78b00..b475e397fc 100755 --- a/scripts/qmp/qom-set +++ b/scripts/qmp/qom-set @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 ## # QEMU Object Model test tools # diff --git a/scripts/qmp/qom-tree b/scripts/qmp/qom-tree index 1c8acf61e7..86233fa211 100755 --- a/scripts/qmp/qom-tree +++ b/scripts/qmp/qom-tree @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 ## # QEMU Object Model test tools # --=20 2.21.1 From nobody Sat May 18 08:35:51 2024 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 ARC-Seal: i=1; a=rsa-sha256; t=1587462252; cv=none; d=zohomail.com; s=zohoarc; b=Hnt1rccZrRvNvY6F3ACZSnp+EVG2j456I1lHk5ZGiCmkF49X/Qct5ywGhLNSX8/abcpdHYfCOA8vzPJMv5UcFgjh7ObUNwKxqbBY05qVonKECmT0DKG0dn/621k+Quc7pC4imrSOrab/z4mPIiwzQGOYiJ6gfMt5p2PpaFsJA/I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587462252; 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=QMzOijh8unN2JXd6IzCqKunT7wI91R5lL1fMI9L6xjM=; b=TlCUHeCHBUhiB56oTWRMJd2KviyjDLN2NjhxeJ+JYEnexGRqKflrkGHheKNAw60HzbAaROFgda111nG0V9+2oE13g8nTztthFlgJaJO+KAnZjq/7dTSbtsL5Pp0Zgfniw1caBJNViUkh7iUwP9eF7Oji9ownceZz6SRf6xzdiDo= ARC-Authentication-Results: i=1; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1587462252416540.0939684785681; Tue, 21 Apr 2020 02:44:12 -0700 (PDT) Received: from localhost ([::1]:54786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQpRr-0007kg-05 for importer@patchew.org; Tue, 21 Apr 2020 05:44:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37510) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQpQC-0005jQ-7B for qemu-devel@nongnu.org; Tue, 21 Apr 2020 05:42:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQpQB-0004iP-OX for qemu-devel@nongnu.org; Tue, 21 Apr 2020 05:42:28 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:38567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQpQ9-0004ch-Mm; Tue, 21 Apr 2020 05:42:25 -0400 Received: by mail-wm1-x343.google.com with SMTP id g12so2897316wmh.3; Tue, 21 Apr 2020 02:42:24 -0700 (PDT) Received: from x1w.redhat.com (116.red-83-42-57.dynamicip.rima-tde.net. [83.42.57.116]) by smtp.gmail.com with ESMTPSA id b22sm3082814wmj.1.2020.04.21.02.42.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 02:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QMzOijh8unN2JXd6IzCqKunT7wI91R5lL1fMI9L6xjM=; b=hc7b2PyV0e7acRjt0cLEIaIEJqVuKDYHHIojepJgqpEN4THKAZEb+QWr3vjLcYUN3t PB3a6MbYiHF4gorq5sogB5gid3woci6a3f9DCiXftabBWj4mpOMiZnvFan7wl3EYh61b WIH9DOOerVjuUbfxFLS5RlHywmx3qkp+OEup3viM74yMSPbeTi9H6PURRrxWN9OVJyqZ 8kM3OLhx4MOTmtjmpWli3xioRohyspA/h+4LQTBljU9wHBrTH5H5Ap2ZZcpETkmdzuyM QamxYHYh23qDy4spyFSDMOFcODiAs0TuMYUrJGF7uNy1fwjGTsHS+DPMkZaPsKgEmOHJ t0Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=QMzOijh8unN2JXd6IzCqKunT7wI91R5lL1fMI9L6xjM=; b=fyT732SyP9p5ZCYG8a229RbmhuZ9AyG0/mo0cFmGYMxLXcwMi3pZOzVgeq+EEMX+do TB7uMcawQHTn0N+DDdsMoQLul3uj0hWh767CC5gm3LF1G+A/Mg2Zyxr1xNZIfpLe+F2n NwNXlNNzaOcmgwep5CpTAKdXFGj4cRSl+g6BKstbQ98QKcfnCW7GMxZmeQLw+8xgyHYI SVm5FtP96/+WAD2e7GI1Om56FKFAlASxMhHRoKNBRlE+Euoa3YSWwYTQ5CL3xZsPAnsi 1kDl+7dTqTyRSM9J6n+gCbReVTxgaXfZVTw11Bo8lgBYt89mM5TUjGyicuKcuIWJKOmB /s1A== X-Gm-Message-State: AGi0PuayEw3DSJkRY2JsGdbUEe03m+QN80GKFS6ek7PY1Hqcw/Jx6gOm +mXb5GpLfxCi20BhuFtCW8UMx+bD/Bs= X-Google-Smtp-Source: APiQypKdDNJdDaUcRArzHf5icPAQsTD3WR5sADtf3cFCaeLzhHoRYpb4IyhYJC48Pjb9KWVMAwR8iQ== X-Received: by 2002:a1c:4144:: with SMTP id o65mr4233872wma.78.1587462143456; Tue, 21 Apr 2020 02:42:23 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 4/4] scripts/qmp: Fix QEMU Python scripts path Date: Tue, 21 Apr 2020 11:42:16 +0200 Message-Id: <20200421094216.24927-5-f4bug@amsat.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200421094216.24927-1-f4bug@amsat.org> References: <20200421094216.24927-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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::343; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x343.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::343 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: Fam Zheng , Eduardo Habkost , qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Markus Armbruster , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Hajnoczi , Cleber Rosa , =?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) QEMU Python scripts have been moved in commit 8f8fd9edba4 ("Introduce Python module structure"). Use the same sys.path modification used in the referenced commit to be able to use these scripts again. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: John Snow --- scripts/qmp/qmp | 4 +++- scripts/qmp/qom-fuse | 4 +++- scripts/qmp/qom-get | 4 +++- scripts/qmp/qom-list | 4 +++- scripts/qmp/qom-set | 4 +++- scripts/qmp/qom-tree | 4 +++- 6 files changed, 18 insertions(+), 6 deletions(-) diff --git a/scripts/qmp/qmp b/scripts/qmp/qmp index 0625fc2aba..8e52e4a54d 100755 --- a/scripts/qmp/qmp +++ b/scripts/qmp/qmp @@ -11,7 +11,9 @@ # See the COPYING file in the top-level directory. =20 import sys, os -from qmp import QEMUMonitorProtocol + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'pytho= n')) +from qemu.qmp import QEMUMonitorProtocol =20 def print_response(rsp, prefix=3D[]): if type(rsp) =3D=3D list: diff --git a/scripts/qmp/qom-fuse b/scripts/qmp/qom-fuse index 6bada2c33d..5fa6b3bf64 100755 --- a/scripts/qmp/qom-fuse +++ b/scripts/qmp/qom-fuse @@ -15,7 +15,9 @@ import fuse, stat from fuse import Fuse import os, posix from errno import * -from qmp import QEMUMonitorProtocol + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'pytho= n')) +from qemu.qmp import QEMUMonitorProtocol =20 fuse.fuse_python_api =3D (0, 2) =20 diff --git a/scripts/qmp/qom-get b/scripts/qmp/qom-get index 72ccd79330..59090069dc 100755 --- a/scripts/qmp/qom-get +++ b/scripts/qmp/qom-get @@ -13,7 +13,9 @@ =20 import sys import os -from qmp import QEMUMonitorProtocol + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'pytho= n')) +from qemu.qmp import QEMUMonitorProtocol =20 cmd, args =3D sys.argv[0], sys.argv[1:] socket_path =3D None diff --git a/scripts/qmp/qom-list b/scripts/qmp/qom-list index 5b8f9fd855..c5d0c8127d 100755 --- a/scripts/qmp/qom-list +++ b/scripts/qmp/qom-list @@ -13,7 +13,9 @@ =20 import sys import os -from qmp import QEMUMonitorProtocol + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'pytho= n')) +from qemu.qmp import QEMUMonitorProtocol =20 cmd, args =3D sys.argv[0], sys.argv[1:] socket_path =3D None diff --git a/scripts/qmp/qom-set b/scripts/qmp/qom-set index b475e397fc..e9d7e0b054 100755 --- a/scripts/qmp/qom-set +++ b/scripts/qmp/qom-set @@ -13,7 +13,9 @@ =20 import sys import os -from qmp import QEMUMonitorProtocol + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'pytho= n')) +from qemu.qmp import QEMUMonitorProtocol =20 cmd, args =3D sys.argv[0], sys.argv[1:] socket_path =3D None diff --git a/scripts/qmp/qom-tree b/scripts/qmp/qom-tree index 86233fa211..d96b17256e 100755 --- a/scripts/qmp/qom-tree +++ b/scripts/qmp/qom-tree @@ -15,7 +15,9 @@ =20 import sys import os -from qmp import QEMUMonitorProtocol + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'pytho= n')) +from qemu.qmp import QEMUMonitorProtocol =20 cmd, args =3D sys.argv[0], sys.argv[1:] socket_path =3D None --=20 2.21.1