From nobody Mon Feb 9 00:42:18 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1641858672350756.1917641032117; Mon, 10 Jan 2022 15:51:12 -0800 (PST) Received: from localhost ([::1]:37494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n74RT-0004lX-7o for importer@patchew.org; Mon, 10 Jan 2022 18:51:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n749m-00060A-1h for qemu-devel@nongnu.org; Mon, 10 Jan 2022 18:32:55 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:39677) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n749k-0000Q4-36 for qemu-devel@nongnu.org; Mon, 10 Jan 2022 18:32:53 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-266-2h7Z4SVcNoiAHQGeWigzAw-1; Mon, 10 Jan 2022 18:32:47 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4B06A100F942; Mon, 10 Jan 2022 23:32:46 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.16.219]) by smtp.corp.redhat.com (Postfix) with ESMTP id F1BE77B031; Mon, 10 Jan 2022 23:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641857570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t5l4tg2t/K05Hr3lka1OpH095sVCTfVTEl5F5DN+1LI=; b=Ny19NHI1mr3CtGzGQCPQP8aHYKQaywRLJVSLRkv1Qz6Cg1MRhGrQfEemoL7e+m2m4XNEi+ mDdP1cu4YK+CIHKHqmwJsrtYJaKfV8AdwC56wHJMKCZ14p4+q9KBfRaAer4Qb3RERLoS/S DzPw7jJnUBxMaJqk2H5/6kWhmi5E9ZQ= X-MC-Unique: 2h7Z4SVcNoiAHQGeWigzAw-1 From: John Snow To: qemu-devel@nongnu.org Subject: [PATCH v3 31/31] python: rename 'aqmp-tui' to 'qmp-tui' Date: Mon, 10 Jan 2022 18:29:10 -0500 Message-Id: <20220110232910.1923864-32-jsnow@redhat.com> In-Reply-To: <20220110232910.1923864-1-jsnow@redhat.com> References: <20220110232910.1923864-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jsnow@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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=170.10.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.597, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , Cc: Kevin Wolf , Eduardo Habkost , Vladimir Sementsov-Ogievskiy , Daniel Berrange , Beraldo Leal , qemu-block@nongnu.org, Markus Armbruster , Wainer Moschetta , Hanna Reitz , Gerd Hoffmann , Cleber Rosa , John Snow Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1641858672718100003 Content-Type: text/plain; charset="utf-8" This is the last vestige of the "aqmp" moniker surviving in the tree; remov= e it. Signed-off-by: John Snow Reviewed-by: Beraldo Leal --- python/qemu/qmp/{aqmp_tui.py =3D> qmp_tui.py} | 12 ++++++------ python/setup.cfg | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) rename python/qemu/qmp/{aqmp_tui.py =3D> qmp_tui.py} (98%) diff --git a/python/qemu/qmp/aqmp_tui.py b/python/qemu/qmp/qmp_tui.py similarity index 98% rename from python/qemu/qmp/aqmp_tui.py rename to python/qemu/qmp/qmp_tui.py index 184a3e4690..17dc94e7c3 100644 --- a/python/qemu/qmp/aqmp_tui.py +++ b/python/qemu/qmp/qmp_tui.py @@ -6,13 +6,13 @@ # This work is licensed under the terms of the GNU GPL, version 2 or # later. See the COPYING file in the top-level directory. """ -AQMP TUI +QMP TUI =20 -AQMP TUI is an asynchronous interface built on top the of the AQMP library. +QMP TUI is an asynchronous interface built on top the of the QMP library. It is the successor of QMP-shell and is bought-in as a replacement for it. =20 -Example Usage: aqmp-tui -Full Usage: aqmp-tui --help +Example Usage: qmp-tui +Full Usage: qmp-tui --help """ =20 import argparse @@ -129,7 +129,7 @@ def has_handler_type(logger: logging.Logger, =20 class App(QMPClient): """ - Implements the AQMP TUI. + Implements the QMP TUI. =20 Initializes the widgets and starts the urwid event loop. =20 @@ -612,7 +612,7 @@ def main() -> None: Driver of the whole script, parses arguments, initialize the TUI and the logger. """ - parser =3D argparse.ArgumentParser(description=3D'AQMP TUI') + parser =3D argparse.ArgumentParser(description=3D'QMP TUI') parser.add_argument('qmp_server', help=3D'Address of the QMP server. ' 'Format ') parser.add_argument('--num-retries', type=3Dint, default=3D10, diff --git a/python/setup.cfg b/python/setup.cfg index 911ae02de7..4614521dea 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -51,7 +51,7 @@ devel =3D fuse =3D fusepy >=3D 2.0.4 =20 -# AQMP TUI dependencies +# QMP TUI dependencies tui =3D urwid >=3D 2.1.2 urwid-readline >=3D 0.13 @@ -67,7 +67,7 @@ console_scripts =3D qom-fuse =3D qemu.utils.qom_fuse:QOMFuse.entry_point [fuse] qemu-ga-client =3D qemu.utils.qemu_ga_client:main qmp-shell =3D qemu.qmp.qmp_shell:main - aqmp-tui =3D qemu.qmp.aqmp_tui:main [tui] + qmp-tui =3D qemu.qmp.qmp_tui:main [tui] =20 [flake8] extend-ignore =3D E722 # Prefer pylint's bare-except checks to flake8's @@ -83,7 +83,7 @@ namespace_packages =3D True # fusepy has no type stubs: allow_subclassing_any =3D True =20 -[mypy-qemu.qmp.aqmp_tui] +[mypy-qemu.qmp.qmp_tui] # urwid and urwid_readline have no type stubs: allow_subclassing_any =3D True =20 --=20 2.31.1