[PATCH 0/4] python: update linting for new mypy/pylint releases

2024-11-01 Thread John Snow
Various python tests in the "check-python-tox" test case on GitLab have begun failing due to newer package versions. This patch set corrects those issues and also improves the reliability of local developer tests which may be using these tooling versions outside of GitLab pinned version tests. The

[PATCH 1/4] iotests: reflow ReproducibleTestRunner arguments

2024-11-01 Thread John Snow
Trivial reflow to let the type names breathe. (I need to add a longer type name.) Signed-off-by: John Snow --- tests/qemu-iotests/iotests.py | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index ea48af

[PATCH 3/4] python: disable too-many-positional-arguments warning

2024-11-01 Thread John Snow
Newest versions of pylint complain about specifically positional arguments in addition to too many in general. We already disable the general case, so silence this new warning too. Signed-off-by: John Snow --- python/setup.cfg| 1 + tests/qemu-iotests/pylintrc | 1 + 2 files changed,

[PATCH 4/4] python: silence pylint raising-non-exception error

2024-11-01 Thread John Snow
As of (at least) pylint 3.3.1, this code trips pylint up into believing we are raising something other than an Exception. We are not: the first two values may indeed be "None", but the last and final value must by definition be a SystemExit exception. Signed-off-by: John Snow --- python/scripts/

[PATCH 2/4] iotests: correct resultclass type in ReproducibleTestRunner

2024-11-01 Thread John Snow
I have a vague memory that I suggested this base class to Vladimir and said "Maybe someday it will break, and I'll just fix it then." Guess that's today. Fixes various mypy errors in the "make check-tox" python test for at least Python3.8; seemingly requires a fairly modern mypy and/or Python base

backing storage for eMMC boot partitions

2024-11-01 Thread Jan Lübbe
On Tue, 2024-10-29 at 07:40 -0700, Guenter Roeck wrote: > On 10/28/24 01:41, Jan Lübbe wrote: > > On Sun, 2024-10-27 at 20:32 -0700, Guenter Roeck wrote: > > > On 10/27/24 15:26, Cédric Le Goater wrote: > > > > On 10/27/24 23:11, Guenter Roeck wrote: > > > > > On 10/27/24 14:13, Cédric Le Goater wr

Re: [PATCH v14 09/10] hw/nvme: add reservation protocal command

2024-11-01 Thread Klaus Jensen
On Oct 11 20:12, Changqi Lu wrote: > Add reservation acquire, reservation register, > reservation release and reservation report commands > in the nvme device layer. > > By introducing these commands, this enables the nvme > device to perform reservation-related tasks, including > querying keys, q

Re: [PATCH] hw/nvme: Remove references to PCI IRQ "pulsing" when asserting

2024-11-01 Thread Klaus Jensen
On Oct 18 15:01, Julia wrote: > Actually, it seems that trace_pci_nvme_irq_pin is emitted even if the > IRQ is not asserted due to a setting of the interrupt masks. Which is > weird because there's no corresponding one for deasserting. Possibly > this should be reworded for 'interrupt is high (but