Skip to contentSkip to conversation

MAINTAINERS: Fix F: lines

PATCH Superseded Markus Armbruster 21 participants 76 messages May 21 – Jun 15

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#9 lore raw

PATCH 6/39 MAINTAINERS: Drop stale F: from "Overall KVM CPUs"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we moved the only file out of include/hw/kvm/. Its new location is covered by "X86 TCG CPUs". Drop the stale line.

Fixes a09ef8ff0a (hw/i386: Rename 'hw/kvm/clock.h' -> 'hw/i386/kvm/clock.h', 2023-06-20)
Cc Paolo Bonzini <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index d52aada408..d0d89915d0 100644
@@ -471,7 +471,6 @@ S: Supported
 F: */*/kvm*
 F: accel/kvm/
 F: accel/stubs/kvm-stub.c
-F: include/hw/kvm/
 F: include/system/kvm*.h
 F: scripts/kvm/kvm_flightrecorder
 
Signature · 1 line
2.54.0
#28 lore raw

PATCH 19/39 MAINTAINERS: Fix F: typo in "ACPI/HEST/GHES/ARM processor CPER"

In reply to Markus Armbruster
Fixes ddd8f3baa2 (qapi/acpi-hest: add an interface to do generic CPER error injection, 2025-09-23)
Cc Mauro Carvalho Chehab <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 6268ee1d73..38064971fe 100644
@@ -2237,7 +2237,7 @@ ACPI/HEST/GHES/ARM processor CPER
 M: Mauro Carvalho Chehab <[email protected]>
 L: [email protected]
 S: Maintained
-F: hw/arm/ghes_cper.c
+F: hw/acpi/ghes_cper.c
 F: hw/acpi/ghes_cper_stub.c
 F: qapi/acpi-hest.json
 F: scripts/ghes_inject.py
Signature · 1 line
2.54.0
#13 lore raw

PATCH 10/39 MAINTAINERS: Drop bad F: in "X86 Xen CPUs"

In reply to Markus Armbruster

include/hw/block/dataplane/xen* does not exist. hw/block/dataplane/xen* does, and is covered. Drop the bad line.

Fixes fcab2b464e (xen: add header and build dataplane/xen-block.c, 2019-01-08)
Cc Stefano Stabellini <[email protected]>
Cc Anthony PERARD <[email protected]>
Cc Edgar E. Iglesias <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 65a1dc99b2..44e5f096a1 100644
@@ -640,7 +640,6 @@ F: hw/xen/
 F: hw/xenpv/
 F: hw/i386/xen/
 F: hw/pci-host/xen_igd_pt.c
-F: include/hw/block/dataplane/xen*
 F: include/hw/xen/
 F: include/system/xen.h
 F: include/system/xen-mapcache.h
Signature · 1 line
2.54.0
#11 lore raw

PATCH 8/39 MAINTAINERS: Drop stale F: from "virtio"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we deleted makefiles. Update it now.

Fixes be786d2f4a (meson: convert hw/virtio, 2019-08-15)
Cc Michael S. Tsirkin <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 9478a95194..caa849b98d 100644
@@ -2427,7 +2427,6 @@ virtio
 M: Michael S. Tsirkin <[email protected]>
 S: Supported
 F: hw/*/virtio*
-F: hw/virtio/Makefile.objs
 F: hw/virtio/trace-events
 F: qapi/virtio.json
 F: net/vhost-user.c
Signature · 1 line
2.54.0
#5 lore raw

PATCH 4/39 MAINTAINERS: Drop stale F: in "RISC-V TCG CPUs"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we merged linux-user/host/riscv32/ and linux-user/host/riscv32/ into linux-user/host/riscv/. The files since moved to linux linux-user/include/host/riscv64/, which is covered by "Linux user". Good enough; drop the stale lines. Matches the other targets.

Fixes ba0e733362 (configure: Merge riscv32 and riscv64 host architectures, 2021-09-17)
Cc Palmer Dabbelt <[email protected]>
Cc Alistair Francis <[email protected]>
Cc Weiwei Li <[email protected]>
Cc Daniel Henrique Barboza <[email protected]>
Cc Liu Zhiwei <[email protected]>
Cc Chao Liu <[email protected]>
---
 MAINTAINERS | 2 --
 1 file changed, 2 deletions(-)
MAINTAINERS +0 -2
index af76d9544d..366fc6c257 100644
@@ -361,8 +361,6 @@ F: hw/riscv/
 F: hw/intc/riscv*
 F: include/hw/char/riscv_htif.h
 F: include/hw/riscv/
-F: linux-user/host/riscv32/
-F: linux-user/host/riscv64/
 F: common-user/host/riscv*
 F: tests/functional/riscv32
 F: tests/functional/riscv64
Signature · 1 line
2.54.0
#4 lore raw

PATCH 3/39 MAINTAINERS: Drop stale F: from "Guest CPU cores (TCG)"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we merged util/cacheinfo.c into util/cacheflush.c. Update it now.

Fixes 7971375287 (util: Merge cacheflush.c and cacheinfo.c, 2022-06-20)
Cc Richard Henderson <[email protected]>
Cc Paolo Bonzini <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 61d758f9e1..af76d9544d 100644
@@ -175,7 +175,6 @@ F: page-vary-system.c
 F: page-vary-common.c
 F: accel/tcg/
 F: accel/stubs/tcg-stub.c
-F: util/cacheinfo.c
 F: util/cacheflush.c
 F: scripts/decodetree.py
 F: docs/devel/decodetree.rst
Signature · 1 line
2.54.0
#0 lore raw

cover MAINTAINERS: Fix F: lines

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

Philippe Mathieu-Daudé recently posted a few fixes:

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path
MAINTAINERS: Cover debian-loongarch-cross.docker with LoongArch section
MAINTAINERS: Cover debian-xtensa-cross.docker with Xtensa section
MAINTAINERS: Cover debian-tricore-cross.docker with TriCore section
MAINTAINERS: Cover python.docker with Python library section
MAINTAINERS: Fix s390x storage key/attribute device paths
MAINTAINERS: Fix tcg/s390x/ path
MAINTAINERS: Correct scripts/coverity-model.c path
MAINTAINERS: Fix hexagon-linux-user.mak path

These are in

Subject: [PATCH 0/7] docker: Remove LegacyKeyValueFormat warnings
Date: Mon, 18 May 2026 12:22:15 +0200
Message-ID: <[email protected]>

Subject: [PATCH v2 0/4] buildsys: Stop checking for ESA/390 host
Date: Tue, 19 May 2026 19:12:36 +0200
Message-ID: <[email protected]>

Subject: [PATCH] MAINTAINERS: Correct scripts/coverity-model.c path
Date: Tue, 19 May 2026 19:19:26 +0200
Message-ID: <[email protected]>

Subject: [PATCH] MAINTAINERS: Fix hexagon-linux-user.mak path
Date: Wed, 20 May 2026 14:39:47 +0200
Message-ID: <[email protected]>

This series takes care of the remainder, except for one discussed below. It applies cleanly with and without Philippe's patches.

The exception is the last line in

Python scripts
M: John Snow <[email protected]>
M: Cleber Rosa <[email protected]>
S: Odd Fixes
F: scripts/*.py
F: tests/*.py

Both F: are actually wrong here: they match only in the scripts/ and tests/ not further down. Left for another day.

Markus Armbruster (39):
MAINTAINERS: Improve another "Overall" section headline
MAINTAINERS: Delete trailing colons in section headlines
MAINTAINERS: Drop stale F: from "Guest CPU cores (TCG)"
MAINTAINERS: Drop stale F: in "RISC-V TCG CPUs"
MAINTAINERS: Drop stale F: in "SPARC TCG CPUs"
MAINTAINERS: Drop stale F: from "Overall KVM CPUs"
MAINTAINERS: Drop stale F: from "Overall CPUs other accelerators"
MAINTAINERS: Drop stale F: from "virtio"
MAINTAINERS: Fix F: in "Apple Silicon HVF CPUs"
MAINTAINERS: Drop bad F: in "X86 Xen CPUs"
MAINTAINERS: Fix F: in "WebAssembly"
MAINTAINERS: Fix F: in "Allwinner-a10"
MAINTAINERS: Fix F: in "Raspberry Pi"
MAINTAINERS: Drop bad F: from "Xilinx Zynq"
MAINTAINERS: Drop stale F: from "New World (mac99)"
MAINTAINERS: Drop stale F: from "sPAPR (pseries)"
MAINTAINERS: Fix F: typo in "sam460ex"
MAINTAINERS: Fix F: in "SiFive Machines"
MAINTAINERS: Fix F: typo in "ACPI/HEST/GHES/ARM processor CPER"
MAINTAINERS: Fix F: in "SSI"
MAINTAINERS: Fix F: in "vhost"
MAINTAINERS: Fix F: in "virtio-input"
MAINTAINERS: Fix bad / stale F: in "virtio-rng"
MAINTAINERS: Fix F: in "vhost-user-stubs"
MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"
MAINTAINERS: Fix F: typo in "pcf8574"
MAINTAINERS: Drop stale F: from "Block I/O path"
MAINTAINERS: Fix F: typo in "Dump"
MAINTAINERS: Drop stale F: from "Human Monitor (HMP)"
MAINTAINERS: Fix F: in "QDev"
MAINTAINERS: Fix F: in "QMP"
MAINTAINERS: Fix F: typo in "I3C"
MAINTAINERS: Drop stale F: from "EDK2 Firmware"
MAINTAINERS: Drop stale F: from "TCI TCG target"
MAINTAINERS: Drop stale F: from "Linux io_uring"
MAINTAINERS: Fix F: in "VFIO-USER"
MAINTAINERS: Fix F: in "Build and test automation"
MAINTAINERS: Drop stale F: from "Sphinx documentation configuration

    ..."

MAINTAINERS: Fix F: in "Rust build system integration"

 MAINTAINERS | 73 ++++++++++++++++++-----------------------------------
 1 file changed, 24 insertions(+), 49 deletions(-)
Signature · 1 line
2.54.0
#18 lore raw

PATCH 13/39 MAINTAINERS: Fix F: in "Raspberry Pi"

Cover hw/arm/raspi4b.c. Drop hw/arm/raspi_platform.h, it's in include/hw/arm/, and covered there.

Fixes 95a5db3ae5 (MAINTAINERS: Add entries for missing ARM boards, 2018-11-19)
Cc Peter Maydell <[email protected]>
Cc Philippe Mathieu-Daudé <[email protected]>
---
 MAINTAINERS | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +1 -2
index 839e5036f9..a346728415 100644
@@ -1015,8 +1015,7 @@ M: Peter Maydell <[email protected]>
 R: Philippe Mathieu-Daudé <[email protected]>
 L: [email protected]
 S: Odd Fixes
-F: hw/arm/raspi.c
-F: hw/arm/raspi_platform.h
+F: hw/arm/raspi*.c
 F: hw/*/bcm283*
 F: include/hw/arm/rasp*
 F: include/hw/*/bcm283*
Signature · 1 line
2.54.0
#63 lore raw

PATCH 37/39 MAINTAINERS: Fix F: in "Build and test automation"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we split of the testing docs. Commit 97b091c88f (MAINTAINERS: Update the paths to the testing documentation files, 2025-06-10) updated it belatedly, but missed one line. Correct that now.

Fixes ff41da5030 (docs/devel: Split testing docs from the build docs and move to separate folder, 2024-08-30)
Cc Alex Bennée <[email protected]>
Cc Pierrick Bouvier <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index ca86e1410b..e13939589a 100644
@@ -4491,7 +4491,7 @@ F: .github/workflows/lockdown.yml
 F: .gitlab-ci.yml
 F: .gitlab-ci.d/
 F: .travis.yml
-F: docs/devel/ci*
+F: docs/devel/testing/ci*
 F: scripts/ci/
 F: tests/docker/
 F: tests/vm/
Signature · 1 line
2.54.0
#10 lore raw

PATCH 7/39 MAINTAINERS: Drop stale F: from "Overall CPUs other accelerators"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we deleted makefiles. Update it now.

Fixes 1a82878a08 (meson: accel, 2019-08-18)
Cc Richard Henderson <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc Philippe Mathieu-Daudé <[email protected]>
---
 MAINTAINERS | 2 --
 1 file changed, 2 deletions(-)
MAINTAINERS +0 -2
index d0d89915d0..9478a95194 100644
@@ -547,8 +547,6 @@ F: include/system/cpus.h
 F: include/accel/accel-*.h
 F: accel/accel-*.?
 F: accel/dummy-cpus.?
-F: accel/Makefile.objs
-F: accel/stubs/Makefile.objs
 F: cpu-common.c
 F: cpu-target.c
 F: qapi/accelerator.json
Signature · 1 line
2.54.0
#43 lore raw

PATCH 27/39 MAINTAINERS: Drop stale F: from "Block I/O path"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we deleted tests/unit/test-fdmon-epoll.c. Update it now.

Fixes 60f782b6b7 (aio: remove aio_disable_external() API, 2023-05-16)
Cc Stefan Hajnoczi <[email protected]>
Cc Fam Zheng <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 4ef1bd2835..8859406c9f 100644
@@ -3141,7 +3141,6 @@ F: include/qemu/aio.h
 F: include/qemu/aio-wait.h
 F: include/qemu/defer-call.h
 F: scripts/qemugdb/aio.py
-F: tests/unit/test-fdmon-epoll.c
 T: git https://github.com/stefanha/qemu.git block
 
 Block SCSI subsystem
Signature · 1 line
2.54.0
#51 lore raw

PATCH 31/39 MAINTAINERS: Fix F: in "QMP"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we renamed docs/devel/writing-monitor-commands.rst, and when we renamed monitor/misc.c. The latter file no longer exists, so simply drop the line. Update the other one.

Fixes 0e33e3d2c4 (docs/devel: rename file for writing monitor commands, 2021-09-09)
Fixes 864a3fa439 (monitor: Rename misc.c to hmp-target.c, 2023-01-24)
---
 MAINTAINERS | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +1 -2
index 9ad37f5133..b1b298fb0e 100644
@@ -3591,12 +3591,11 @@ M: Markus Armbruster <[email protected]>
 S: Supported
 F: monitor/monitor-internal.h
 F: monitor/qmp*
-F: monitor/misc.c
 F: monitor/monitor.c
 F: qapi/control.json
 F: qapi/error.json
 F: qapi/introspect.json
-F: docs/devel/*qmp-*
+F: docs/devel/writing-monitor-commands.rst
 F: docs/interop/*qmp-*
 F: scripts/qmp/
 F: tests/qtest/qmp-test.c
Signature · 1 line
2.54.0
#17 lore raw

PATCH 12/39 MAINTAINERS: Fix F: in "Allwinner-a10"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we renamed axp209.c to axp22x.c. Update it now.

Fixes a954543092 (hw/misc: Rename axp209 to axp22x and add support AXP221 PMU, 2023-06-06)
Cc Peter Maydell <[email protected]>
Cc Strahinja Jankovic <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index a4680516f6..839e5036f9 100644
@@ -733,7 +733,7 @@ F: hw/ide/ahci-allwinner.c
 F: include/hw/*/allwinner*
 F: hw/arm/cubieboard.c
 F: docs/system/arm/cubieboard.rst
-F: hw/misc/axp209.c
+F: hw/misc/axp2xx.c
 F: tests/functional/arm/test_cubieboard.py
 
 Allwinner-h3
Signature · 1 line
2.54.0
#15 lore raw

PATCH 11/39 MAINTAINERS: Fix F: in "WebAssembly"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we renamed emsdk-wasm-cross.docker to emsdk-wasm64-cross.docker. Update it now.

Fixes 792d94406a (tests/docker: rename wasm cross container, 2026-01-28)
Cc Kohei Tokunaga <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 44e5f096a1..a4680516f6 100644
@@ -709,7 +709,7 @@ F: include/system/os-wasm.h
 F: os-wasm.c
 F: util/coroutine-wasm.c
 F: configs/meson/emscripten.txt
-F: tests/docker/dockerfiles/emsdk-wasm-cross.docker
+F: tests/docker/dockerfiles/emsdk-wasm64-cross.docker
 
 Alpha Machines
 --------------
Signature · 1 line
2.54.0
#22 lore raw

PATCH 16/39 MAINTAINERS: Drop stale F: from "sPAPR (pseries)"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we deleted include/hw/ppc/pef.h. Update it now.

Fixes 00a238b1a8 (ppc/pef: switch to use confidential_guest_kvm_init/reset(), 2024-02-29)
Cc Nicholas Piggin <[email protected]>
Cc Harsh Prateek Bora <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index d1cefd2cbb..87450a84de 100644
@@ -1634,7 +1634,6 @@ F: hw/*/xics*
 F: include/hw/*/xics*
 F: include/hw/ppc/fdt.h
 F: hw/ppc/fdt.c
-F: include/hw/ppc/pef.h
 F: hw/ppc/pef.c
 F: pc-bios/slof.bin
 F: docs/system/ppc/pseries.rst
Signature · 1 line
2.54.0
#26 lore raw

PATCH 18/39 MAINTAINERS: Fix F: in "SiFive Machines"

In reply to Markus Armbruster

The MAINTAINERS update for moving tests into target-specific folders missed one file. Correct that.

Fixes e1a8572a8d (tests/functional: Move riscv32/riscv64 tests into target-specific folders, 2025-08-19)
Cc Alistair Francis <[email protected]>
Cc Palmer Dabbelt <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 00a24612b7..6268ee1d73 100644
@@ -1773,7 +1773,7 @@ S: Supported
 F: docs/system/riscv/sifive_u.rst
 F: hw/*/*sifive*.c
 F: include/hw/*/*sifive*.h
-F: tests/functional/test_riscv64_sifive_u.py
+F: tests/functional/riscv64/test_sifive_u.py
 
 AMD Microblaze-V Generic Board
 M: Sai Pavan Boddu <[email protected]>
Signature · 1 line
2.54.0
#66 lore raw

PATCH 39/39 MAINTAINERS: Fix F: in "Rust build system integration"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we moved rust/wrapper.h, and again when we split it up. Update it now.

Cc Manos Pitsidianakis <[email protected]>
Fixes 1ae4ca0463 (rust: move rust.bindgen to qemu-api crate, 2025-06-13)
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index b7fe4fa58a..37bc1bab06 100644
@@ -4629,7 +4629,7 @@ F: scripts/rust/
 F: rust/.gitignore
 F: rust/Kconfig
 F: rust/meson.build
-F: rust/wrapper.h
+F: rust/bindings/*/wrapper.h
 
 Miscellaneous
 -------------
Signature · 1 line
2.54.0
#31 lore raw

PATCH 22/39 MAINTAINERS: Fix F: in "virtio-input"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we moved docs/system/devices/vhost-user-input.rst to docs/system/devices/virtio/. We later folded it into docs/system/devices/virtio/vhost-user-contrib.rst, so cover that instead.

Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Gerd Hoffmann <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index c19d59050d..d58459d7f0 100644
@@ -2491,7 +2491,7 @@ L: [email protected]
 virtio-input
 M: Gerd Hoffmann <[email protected]>
 S: Odd Fixes
-F: docs/system/devices/vhost-user-input.rst
+F: docs/system/devices/virtio/vhost-user-contrib.rst
 F: hw/input/virtio-input*.c
 F: hw/virtio/vhost-user-input.c
 F: include/hw/virtio/virtio-input.h
Signature · 1 line
2.54.0
#1 lore raw

PATCH 1/39 MAINTAINERS: Improve another "Overall" section headline

In reply to Markus Armbruster

Having scripts/get_maintainer.pl report "Overall" like

    $ scripts/get_maintainer.pl -f cpu-target.c
    Richard Henderson <[email protected]> (maintainer:Overall)
    Paolo Bonzini <[email protected]> (reviewer:Overall)
    "Philippe Mathieu-Daudé" <[email protected]> (reviewer:Overall)
    [email protected] (open list:All patches CC here)

John Doe <[email protected]> (maintainer:Overall)

is less than useful. Commit 6347e1f1cc (MAINTAINERS: Improve section headlines, 2019-06-06) took care of the issue, but then commit 79ac391592 (MAINTAINERS: Add an 'overall' entry for accelerators, 2020-06-18) added another instance. Take care of that one.

Cc Richard Henderson <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc Philippe Mathieu-Daudé <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 58686731ba..3270d3d648 100644
@@ -539,7 +539,7 @@ F: tests/functional/x86_64/test_kvm_xen.py
 
 Guest CPU Cores (other accelerators)
 ------------------------------------
-Overall
+Overall CPUs other accelerators
 M: Richard Henderson <[email protected]>
 R: Paolo Bonzini <[email protected]>
 R: Philippe Mathieu-Daudé <[email protected]>
Signature · 1 line
2.54.0
#12 lore raw

PATCH 9/39 MAINTAINERS: Fix F: in "Apple Silicon HVF CPUs"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we deleted target/arm/hvf-stub.c. Update it now.

Fixes 293984563e (hw/arm, accel/hvf, whpx: unify get_physical_address_range between WHPX and HVF, 2026-02-10)
Cc Alexander Graf <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index caa849b98d..65a1dc99b2 100644
@@ -556,7 +556,6 @@ Apple Silicon HVF CPUs
 M: Alexander Graf <[email protected]>
 S: Maintained
 F: target/arm/hvf/
-F: target/arm/hvf-stub.c
 
 X86 HVF CPUs
 M: Roman Bolshakov <[email protected]>
Signature · 1 line
2.54.0
#60 lore raw

PATCH 36/39 MAINTAINERS: Fix F: in "VFIO-USER"

In reply to Markus Armbruster

The commit adding the section added two bad F: lines:
include/hw/vfio-user/ never existed, and subprojects/libvfio-user had long been replaced by subprojects/libvfio.wrap. Drop the former, and correct the latter.

Fixes 9fca2b7d70 (vfio-user: add vfio-user class and container, 2025-06-25)
Cc John Levon <[email protected]>
Cc Thanos Makatos <[email protected]>
Cc Cédric Le Goater <[email protected]>
---
 MAINTAINERS | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +1 -2
index 7a1b1317cf..ca86e1410b 100644
@@ -4468,8 +4468,7 @@ S: Supported
 F: docs/interop/vfio-user.rst
 F: docs/system/devices/vfio-user.rst
 F: hw/vfio-user/*
-F: include/hw/vfio-user/*
-F: subprojects/libvfio-user
+F: subprojects/libvfio-user.wrap
 F: tests/functional/x86_64/test_vfio_user_client.py
 
 EBPF
Signature · 1 line
2.54.0
#45 lore raw

PATCH 28/39 MAINTAINERS: Fix F: typo in "Dump"

In reply to Markus Armbruster
Fixes 6d3da32c8b (MAINTAINERS: Add Windows dump to section "Dump", 2019-06-19)
Cc Marc-André Lureau <[email protected]>
Cc Ani Sinha <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 8859406c9f..95dbd663d4 100644
@@ -3267,7 +3267,7 @@ R: Ani Sinha <[email protected]>
 F: dump/
 F: hw/misc/vmcoreinfo.c
 F: include/hw/misc/vmcoreinfo.h
-F: include/qemu/win_dump_defs
+F: include/qemu/win_dump_defs.h
 F: include/system/dump-arch.h
 F: include/system/dump.h
 F: qapi/dump.json
Signature · 1 line
2.54.0
#49 lore raw

PATCH 30/39 MAINTAINERS: Fix F: in "QDev"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we moved qdev headers from include/hw/ to include/hw/core/. Update it now.

Fixes 3775d19906 (include: move hw/qdev-clock.h to hw/core/, 2025-11-27)
Fixes d1000ecae2 (include: move hw/qdev-core.h to hw/core/, rename, 2025-11-27)
Fixes f7889f86bd (include: move hw/qdev-dma.h to hw/core/, 2025-11-27)
Fixes 78d45220b4 (include: move hw/qdev-properties.h to hw/core/, 2025-11-27)
Fixes e1e9a72500 (include: move hw/qdev-properties-system.h to hw/core/, 2025-11-27)
Cc Paolo Bonzini <[email protected]>
Cc Daniel P. Berrange <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index abffa4730e..9ad37f5133 100644
@@ -3575,7 +3575,7 @@ F: docs/qdev-device-use.txt
 F: hw/core/qdev*
 F: hw/core/bus.c
 F: hw/core/sysbus.c
-F: include/hw/qdev*
+F: include/hw/core/qdev*
 F: include/monitor/qdev.h
 F: qapi/qdev.json
 F: system/qdev-monitor.c
Signature · 1 line
2.54.0
#20 lore raw

PATCH 14/39 MAINTAINERS: Drop bad F: from "Xilinx Zynq"

In reply to Markus Armbruster

hw/misc/zynq_slcr.c never existed.

Fixes 246f530cdb (adc: Move the zynq-xadc file to the adc directories, 2021-05-18)
Cc Edgar E. Iglesias <[email protected]>
Cc Alistair Francis <[email protected]>
Cc Peter Maydell <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index a346728415..976bb65778 100644
@@ -1145,7 +1145,6 @@ F: hw/*/xilinx_*
 F: hw/*/cadence_*
 F: hw/misc/zynq_slcr.c
 F: hw/adc/zynq-xadc.c
-F: include/hw/misc/zynq_slcr.h
 F: include/hw/adc/zynq-xadc.h
 X: hw/ssi/xilinx_*
 F: docs/system/arm/xlnx-zynq.rst
Signature · 1 line
2.54.0
#8 lore raw

PATCH 5/39 MAINTAINERS: Drop stale F: in "SPARC TCG CPUs"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we dropped tests/tcg/sparc64/. Update it now.

Fixes e9206163d9 (tests/tcg: Remove run-test-mmap-*, 2024-01-02)
Cc Mark Cave-Ayland <[email protected]>
Cc Artyom Tarasenko <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 366fc6c257..d52aada408 100644
@@ -423,7 +423,6 @@ F: hw/sparc64/
 F: include/hw/sparc/sparc64.h
 F: disas/sparc.c
 F: tests/functional/sparc*/meson.build
-F: tests/tcg/sparc64/
 
 X86 TCG CPUs
 M: Paolo Bonzini <[email protected]>
Signature · 1 line
2.54.0
#52 lore raw

PATCH 32/39 MAINTAINERS: Fix F: typo in "I3C"

In reply to Markus Armbruster
Fixes 5f682daa65 (MAINTAINERS: Add I3C maintainers and reviewer, 2026-02-25)
Cc Joe Komlodi <[email protected]>
Cc Cédric Le Goater <[email protected]>
Cc Jamin Lin <[email protected]>
Cc Nabih Estefan <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index b1b298fb0e..7899b91620 100644
@@ -3965,7 +3965,7 @@ M: Jamin Lin <[email protected]>
 R: Nabih Estefan <[email protected]>
 S: Maintained
 F: hw/i3c/*.c
-F: hw/i3c/.h
+F: hw/i3c/*.h
 F: hw/i3c/Kconfig
 F: hw/i3c/meson.build
 F: hw/i3c/trace-events
Signature · 1 line
2.54.0
#2 lore raw

PATCH 2/39 MAINTAINERS: Delete trailing colons in section headlines

In reply to Markus Armbruster

These are harmless as far as I can tell, so this is just for consistency.

---
 MAINTAINERS | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
MAINTAINERS +3 -3
index 3270d3d648..61d758f9e1 100644
@@ -2843,7 +2843,7 @@ F: docs/interop/vhost-user-gpu.rst
 F: contrib/vhost-user-gpu
 F: hw/display/vhost-user-*
 
-qemu-vnc:
+qemu-vnc
 M: Marc-André Lureau <[email protected]>
 S: Maintained
 F: tools/qemu-vnc
@@ -4482,7 +4482,7 @@ F: include/hw/remote/iommu.h
 F: tests/functional/multiprocess.py
 F: tests/functional/*/*multiprocess.py
 
-VFIO-USER:
+VFIO-USER
 M: John Levon <[email protected]>
 M: Thanos Makatos <[email protected]>
 M: Cédric Le Goater <[email protected]>
@@ -4494,7 +4494,7 @@ F: include/hw/vfio-user/*
 F: subprojects/libvfio-user
 F: tests/functional/x86_64/test_vfio_user_client.py
 
-EBPF:
+EBPF
 M: Jason Wang <[email protected]>
 R: Andrew Melnychenko <[email protected]>
 R: Yuri Benditovich <[email protected]>
Signature · 1 line
2.54.0
#36 lore raw

PATCH 25/39 MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we moved docs/system/devices/virtio-snd.rst and docs/system/devices/virtio-gpu.rst to docs/system/devices/virtio/. Update it now.

Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Gerd Hoffmann <[email protected]>
Cc Manos Pitsidianakis <[email protected]>
Cc Alex Bennée <[email protected]>
Cc Akihiko Odaki <[email protected]>
Cc Dmitry Osipenko <[email protected]>
---
 MAINTAINERS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
MAINTAINERS +2 -2
index 03817a0ebe..c864fb971d 100644
@@ -2613,7 +2613,7 @@ S: Supported
 F: hw/audio/virtio-snd.c
 F: hw/audio/virtio-snd-pci.c
 F: include/hw/audio/virtio-snd.h
-F: docs/system/devices/virtio-snd.rst
+F: docs/system/devices/virtio/virtio-snd.rst
 
 nvme
 M: Keith Busch <[email protected]>
@@ -2802,7 +2802,7 @@ S: Odd Fixes
 F: hw/display/virtio-gpu*
 F: hw/display/virtio-vga.*
 F: include/hw/virtio/virtio-gpu.h
-F: docs/system/devices/virtio-gpu.rst
+F: docs/system/devices/virtio/virtio-gpu.rst
 F: tests/functional/aarch64/test_virt_gpu.py
 F: tests/functional/x86_64/test_virtio_gpu.py
 
Signature · 1 line
2.54.0
#65 lore raw

PATCH 38/39 MAINTAINERS: Drop stale F: from "Sphinx documentation configuration ..."

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we fused the conf.py into one, and when we deleted the kernel-doc script. Update it now.

Fixes b93f4fbdc4 (docs: Build and install all the docs in a single manual, 2021-01-15)
Fixes 619d5f0211 (scripts/kernel-doc: Delete the old Perl kernel-doc script, 2025-08-14)
Cc John Snow <[email protected]>
Cc Peter Maydell <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 MAINTAINERS | 2 --
 1 file changed, 2 deletions(-)
MAINTAINERS +0 -2
index e13939589a..b7fe4fa58a 100644
@@ -4614,13 +4614,11 @@ M: Peter Maydell <[email protected]>
 M: Mauro Carvalho Chehab <[email protected]>
 S: Maintained
 F: docs/conf.py
-F: docs/*/conf.py
 F: docs/requirements.txt
 F: docs/sphinx/
 F: docs/_templates/
 F: docs/devel/docs.rst
 F: docs/devel/qapi-domain.rst
-F: scripts/kernel-doc
 F: scripts/lib/kdoc/
 
 Rust build system integration
Signature · 1 line
2.54.0
#35 lore raw

PATCH 24/39 MAINTAINERS: Fix F: in "vhost-user-stubs"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we renamed hw/virtio/vhost-user-device-pci.c and hw/virtio/vhost-user-device.c to hw/virtio/vhost-user-test-device-pci.c and hw/virtio/vhost-user-test-device.c. Update it now.

Fixes 722e9022a0 (hw/virtio: rename vhost-user-device and make user creatable, 2025-09-01)
Cc Alex Bennée <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 8fff1649ab..03817a0ebe 100644
@@ -2536,7 +2536,7 @@ vhost-user-stubs
 M: Alex Bennée <[email protected]>
 S: Maintained
 F: hw/virtio/vhost-user-base.c
-F: hw/virtio/vhost-user-device*
+F: hw/virtio/vhost-user-test-device*
 
 vhost-user-rng
 M: Mathieu Poirier <[email protected]>
Signature · 1 line
2.54.0
#58 lore raw

PATCH 35/39 MAINTAINERS: Drop stale F: from "Linux io_uring"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we dropped stubs/io_uring.c. Update it now.

Fixes 047dabef97 (block/io_uring: use aio_add_sqe(), 2025-11-03)
Cc Julia Suvorova <[email protected]>
Cc Stefan Hajnoczi <[email protected]>
Cc Stefano Garzarella <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index d3b79e3eeb..7a1b1317cf 100644
@@ -4350,7 +4350,6 @@ R: Stefano Garzarella <[email protected]>
 L: [email protected]
 S: Maintained
 F: block/io_uring.c
-F: stubs/io_uring.c
 
 qcow2
 M: Kevin Wolf <[email protected]>
Signature · 1 line
2.54.0
#29 lore raw

PATCH 20/39 MAINTAINERS: Fix F: in "SSI"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we renamed tests/qtest/m25p80-test.c to tests/qtest/aspeed_smc-test.c. Update it now.

Fixes 5fde7f10c0 (tests/qtest: Rename m25p80 test in aspeed_smc test, 2021-05-01)
Cc Alistair Francis <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 38064971fe..b7b0cee96c 100644
@@ -2299,7 +2299,7 @@ F: hw/ssi/*
 F: hw/block/m25p80*
 F: include/hw/ssi/ssi.h
 X: hw/ssi/xilinx_*
-F: tests/qtest/m25p80-test.c
+F: tests/qtest/aspeed_smc-test.c
 
 Xilinx SPI
 M: Alistair Francis <[email protected]>
Signature · 1 line
2.54.0
#56 lore raw

PATCH 34/39 MAINTAINERS: Drop stale F: from "TCI TCG target"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we dropped disas/tci.c. Update it now.

Fixes 59964b4f98 (tcg/tci: Implement the disassembler properly, 2021-01-30)
Cc Stefan Weil <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 7862e2df0b..d3b79e3eeb 100644
@@ -4177,7 +4177,6 @@ M: Stefan Weil <[email protected]>
 S: Maintained
 F: tcg/tci/
 F: tcg/tci.c
-F: disas/tci.c
 
 Block drivers
 -------------
Signature · 1 line
2.54.0
#30 lore raw

PATCH 21/39 MAINTAINERS: Fix F: in "vhost"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we moved files from rename from docs/system/devices/ to docs/system/devices/virtio/. Update it now.

Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Michael S. Tsirkin <[email protected]>
Cc Stefano Garzarella <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index b7b0cee96c..c19d59050d 100644
@@ -2401,7 +2401,7 @@ R: Stefano Garzarella <[email protected]>
 S: Supported
 F: hw/*/*vhost*
 F: docs/interop/vhost-user*
-F: docs/system/devices/vhost-user*
+F: docs/system/devices/virtio/vhost-user*
 F: contrib/vhost-user-*/
 F: backends/*vhost*
 F: include/system/vhost-user-backend.h
Signature · 1 line
2.54.0
#41 lore raw

PATCH 26/39 MAINTAINERS: Fix F: typo in "pcf8574"

In reply to Markus Armbruster
Fixes 4cbb1513a2 (hw/gpio: introduce pcf8574 driver, 2024-03-11)
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index c864fb971d..4ef1bd2835 100644
@@ -2717,7 +2717,7 @@ F: include/hw/i2c/i2c_mux_pca954x.h
 pcf8574
 S: Orphan
 F: hw/gpio/pcf8574.c
-F: include/gpio/pcf8574.h
+F: include/hw/gpio/pcf8574.h
 
 Generic Loader
 M: Alistair Francis <[email protected]>
Signature · 1 line
2.54.0
#55 lore raw

PATCH 33/39 MAINTAINERS: Drop stale F: from "EDK2 Firmware"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we dropped roms/Makefile.edk2. Update it now.

Fixes 22e11539e1 (edk2: replace build scripts, 2023-03-09)
Cc Philippe Mathieu-Daudé <[email protected]>
Cc Gerd Hoffmann <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 7899b91620..7862e2df0b 100644
@@ -4007,7 +4007,6 @@ S: Supported
 F: hw/i386/*ovmf*
 F: pc-bios/descriptors/??-edk2-*.json
 F: pc-bios/edk2-*
-F: roms/Makefile.edk2
 F: roms/edk2
 F: roms/edk2-*
 F: tests/data/uefi-boot-images/
Signature · 1 line
2.54.0
#25 lore raw

PATCH 17/39 MAINTAINERS: Fix F: typo in "sam460ex"

In reply to Markus Armbruster
Fixes 2a62bbf4ed (hw/ppc/sam460ex: Update u-boot-sam460ex, 2025-10-28)
Cc BALATON Zoltan <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 87450a84de..00a24612b7 100644
@@ -1693,7 +1693,7 @@ F: hw/display/sm501*
 F: hw/ide/sii3112.c
 F: hw/rtc/m41t80.c
 F: pc-bios/dtb/canyonlands.dt[sb]
-F: pc-bios/u-boot-sam460ex.bin
+F: pc-bios/u-boot-sam460.bin
 F: roms/u-boot-sam460ex
 F: docs/system/ppc/amigang.rst
 F: tests/functional/ppc/test_sam460ex.py
Signature · 1 line
2.54.0
#21 lore raw

PATCH 15/39 MAINTAINERS: Drop stale F: from "New World (mac99)"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we deleted hw/pci-bridge/dec.[hc]. Update it now.

Fixes b1fbf24259 (remove DEC 21154 PCI bridge, 2022-11-29)
Cc Mark Cave-Ayland <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 976bb65778..d1cefd2cbb 100644
@@ -1568,7 +1568,6 @@ S: Odd Fixes
 F: docs/system/ppc/powermac.rst
 F: hw/ppc/mac_newworld.c
 F: hw/pci-host/uninorth.c
-F: hw/pci-bridge/dec.[hc]
 F: hw/misc/macio/
 F: hw/misc/mos6522*.c
 F: hw/nvram/mac_nvram.c
Signature · 1 line
2.54.0
#32 lore raw

PATCH 23/39 MAINTAINERS: Fix bad / stale F: in "virtio-rng"

In reply to Markus Armbruster

tools/vhost-user-rng/* never existed. Drop the bad line.

We neglected to update MAINTAINERS when we moved docs/system/devices/vhost-user-rng.rst to docs/system/devices/virtio/. We later deleted the file. Drop the stale line.

Fixes e3e01466bf (MAINTAINERS: Add maintainer for vhost-user RNG implementation, 2021-06-14)
Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Laurent Vivier <[email protected]>
Cc Amit Shah <[email protected]>
---
 MAINTAINERS | 2 --
 1 file changed, 2 deletions(-)
MAINTAINERS +0 -2
index d58459d7f0..8fff1649ab 100644
@@ -2541,11 +2541,9 @@ F: hw/virtio/vhost-user-device*
 vhost-user-rng
 M: Mathieu Poirier <[email protected]>
 S: Supported
-F: docs/system/devices/vhost-user-rng.rst
 F: hw/virtio/vhost-user-rng.c
 F: hw/virtio/vhost-user-rng-pci.c
 F: include/hw/virtio/vhost-user-rng.h
-F: tools/vhost-user-rng/*
 
 vhost-user-gpio
 M: Alex Bennée <[email protected]>
Signature · 1 line
2.54.0
#47 lore raw

PATCH 29/39 MAINTAINERS: Drop stale F: from "Human Monitor (HMP)"

In reply to Markus Armbruster

We neglected to update MAINTAINERS when we moved hmp.h to include/monitor/. Commit 17dc3ae3e1 (monitor: Extract completion declarations to 'monitor/hmp-completion.h', 2026-03-20) added the missing entry without deleting the stale one. Do that now.

Fixes 275307aaab (hmp: Move hmp.h to include/monitor/, 2019-06-19)
Cc Dr. David Alan Gilbert <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 95dbd663d4..abffa4730e 100644
@@ -3418,7 +3418,6 @@ S: Maintained
 F: monitor/monitor-internal.h
 F: monitor/monitor.c
 F: monitor/hmp*
-F: hmp.h
 F: hmp-commands*.hx
 F: include/monitor/hmp.h
 F: include/monitor/hmp-completion.h
Signature · 1 line
2.54.0
Reviewed-by on v1 32/39
#53 lore raw

RE: [PATCH 32/39] MAINTAINERS: Fix F: typo in "I3C"

In reply to Markus Armbruster

Hi Markus,

Quoted 27 lines

Subject: [PATCH 32/39] MAINTAINERS: Fix F: typo in "I3C"

Fixes 5f682daa65 (MAINTAINERS: Add I3C maintainers and reviewer,

2026-02-25)

Cc Joe Komlodi <[email protected]>
Cc Cédric Le Goater <[email protected]>
Cc Jamin Lin <[email protected]>
Cc Nabih Estefan <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -2
index b1b298fb0e..7899b91620 100644
@@ -3965,7 +3965,7 @@ M: Jamin Lin <[email protected]>
 R: Nabih Estefan <[email protected]>
 S: Maintained
 F: hw/i3c/*.c
-F: hw/i3c/.h
+F: hw/i3c/*.h
 F: hw/i3c/Kconfig
 F: hw/i3c/meson.build
 F: hw/i3c/trace-events
--
Quoted 1 line

2.54.0

Thanks,
Jamin

Reviewed-by on v1 39/39
#67 lore raw

Re: [PATCH 39/39] MAINTAINERS: Fix F: in "Rust build system integration"

In reply to Markus Armbruster
Quoted 9 lines · Markus Armbruster

We neglected to update MAINTAINERS when we moved rust/wrapper.h, and again when we split it up. Update it now.

Cc Manos Pitsidianakis <[email protected]>
Fixes 1ae4ca0463 (rust: move rust.bindgen to qemu-api crate, 2025-06-13)

---

Thanks,

Quoted 19 lines
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -2
index b7fe4fa58a..37bc1bab06 100644
@@ -4629,7 +4629,7 @@ F: scripts/rust/
 F: rust/.gitignore
 F: rust/Kconfig
 F: rust/meson.build
-F: rust/wrapper.h
+F: rust/bindings/*/wrapper.h
 
 Miscellaneous
 -------------
--

2.54.0

Reviewed-by on v1 25/39
#37 lore raw

Re: [PATCH 25/39] MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"

In reply to Markus Armbruster
Quoted 6 lines · Markus Armbruster

We neglected to update MAINTAINERS when we moved docs/system/devices/virtio-snd.rst and docs/system/devices/virtio-gpu.rst to docs/system/devices/virtio/. Update it now.

Quoted 8 lines
Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Gerd Hoffmann <[email protected]>
Cc Manos Pitsidianakis <[email protected]>
Cc Alex Bennée <[email protected]>
Cc Akihiko Odaki <[email protected]>
Cc Dmitry Osipenko <[email protected]>

---

Thanks,

Quoted 28 lines
 MAINTAINERS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
MAINTAINERS +2 -3
index 03817a0ebe..c864fb971d 100644
@@ -2613,7 +2613,7 @@ S: Supported
 F: hw/audio/virtio-snd.c
 F: hw/audio/virtio-snd-pci.c
 F: include/hw/audio/virtio-snd.h
-F: docs/system/devices/virtio-snd.rst
+F: docs/system/devices/virtio/virtio-snd.rst
 
 nvme
 M: Keith Busch <[email protected]>
@@ -2802,7 +2802,7 @@ S: Odd Fixes
 F: hw/display/virtio-gpu*
 F: hw/display/virtio-vga.*
 F: include/hw/virtio/virtio-gpu.h
-F: docs/system/devices/virtio-gpu.rst
+F: docs/system/devices/virtio/virtio-gpu.rst
 F: tests/functional/aarch64/test_virt_gpu.py
 F: tests/functional/x86_64/test_virtio_gpu.py
 
--

2.54.0

Reviewed-by on v1 32/39
#54 lore raw

Re: [PATCH 32/39] MAINTAINERS: Fix F: typo in "I3C"

In reply to Markus Armbruster
Quoted 15 lines · Markus Armbruster
Fixes 5f682daa65 (MAINTAINERS: Add I3C maintainers and reviewer, 2026-02-25)
Cc Joe Komlodi <[email protected]>
Cc Cédric Le Goater <[email protected]>
Cc Jamin Lin <[email protected]>
Cc Nabih Estefan <[email protected]>
---
  MAINTAINERS | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +0 -0
index b1b298fb0e..7899b91620 100644

MAINTAINERS M: Jamin Lin <[email protected]> · line 3971

Quoted 8 lines
MAINTAINERS +1 -1
@@ -3965,7 +3965,7 @@ M: Jamin Lin <[email protected]>
  R: Nabih Estefan <[email protected]>
  S: Maintained
  F: hw/i3c/*.c
-F: hw/i3c/.h
+F: hw/i3c/*.h
  F: hw/i3c/Kconfig
  F: hw/i3c/meson.build
  F: hw/i3c/trace-events

oops. Sorry.

Thanks,

C.

Reviewed-by on v1 36/39
#61 lore raw

Re: [PATCH 36/39] MAINTAINERS: Fix F: in "VFIO-USER"

In reply to Markus Armbruster
Quoted 19 lines · Markus Armbruster

The commit adding the section added two bad F: lines:
include/hw/vfio-user/ never existed, and subprojects/libvfio-user had long been replaced by subprojects/libvfio.wrap. Drop the former, and correct the latter.

Fixes 9fca2b7d70 (vfio-user: add vfio-user class and container, 2025-06-25)
Cc John Levon <[email protected]>
Cc Thanos Makatos <[email protected]>
Cc Cédric Le Goater <[email protected]>
---
  MAINTAINERS | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +0 -0
index 7a1b1317cf..ca86e1410b 100644

MAINTAINERS S: Supported · line 4474

Quoted 9 lines
MAINTAINERS +1 -2
@@ -4468,8 +4468,7 @@ S: Supported
  F: docs/interop/vfio-user.rst
  F: docs/system/devices/vfio-user.rst
  F: hw/vfio-user/*
-F: include/hw/vfio-user/*
-F: subprojects/libvfio-user
+F: subprojects/libvfio-user.wrap
  F: tests/functional/x86_64/test_vfio_user_client.py
 
  EBPF

Thanks,

C.

Reviewed-by on v1 4/39
#6 lore raw

Re: [PATCH 04/39] MAINTAINERS: Drop stale F: in "RISC-V TCG CPUs"

In reply to Markus Armbruster
Quoted 6 lines · Markus Armbruster

We neglected to update MAINTAINERS when we merged linux-user/host/riscv32/ and linux-user/host/riscv32/ into linux-user/host/riscv/. The files since moved to linux linux-user/include/host/riscv64/, which is covered by "Linux user". Good enough; drop the stale lines. Matches the other targets.

Quoted 9 lines
Fixes ba0e733362 (configure: Merge riscv32 and riscv64 host architectures, 2021-09-17)
Cc Palmer Dabbelt <[email protected]>
Cc Alistair Francis <[email protected]>
Cc Weiwei Li <[email protected]>
Cc Daniel Henrique Barboza <[email protected]>
Cc Liu Zhiwei <[email protected]>
Cc Chao Liu <[email protected]>

Thaks,
Chao

Quoted 20 lines
---
 MAINTAINERS | 2 --
 1 file changed, 2 deletions(-)
MAINTAINERS +0 -2
index af76d9544d..366fc6c257 100644
@@ -361,8 +361,6 @@ F: hw/riscv/
 F: hw/intc/riscv*
 F: include/hw/char/riscv_htif.h
 F: include/hw/riscv/
-F: linux-user/host/riscv32/
-F: linux-user/host/riscv64/
 F: common-user/host/riscv*
 F: tests/functional/riscv32
 F: tests/functional/riscv64
Signature · 1 line
2.54.0
#33 lore raw

Re: [PATCH 23/39] MAINTAINERS: Fix bad / stale F: in "virtio-rng"

In reply to Markus Armbruster

Hi,

it seems to be "vhost-user-rng" rather than "virtio-rng"

Thanks,
Laurent

Quoted 31 lines · Markus Armbruster

tools/vhost-user-rng/* never existed. Drop the bad line.

We neglected to update MAINTAINERS when we moved docs/system/devices/vhost-user-rng.rst to docs/system/devices/virtio/. We later deleted the file. Drop the stale line.

Fixes e3e01466bf (MAINTAINERS: Add maintainer for vhost-user RNG implementation, 2021-06-14)
Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Laurent Vivier <[email protected]>
Cc Amit Shah <[email protected]>
---
  MAINTAINERS | 2 --
  1 file changed, 2 deletions(-)
MAINTAINERS +0 -2
index d58459d7f0..8fff1649ab 100644
@@ -2541,11 +2541,9 @@ F: hw/virtio/vhost-user-device*
  vhost-user-rng
  M: Mathieu Poirier <[email protected]>
  S: Supported
-F: docs/system/devices/vhost-user-rng.rst
  F: hw/virtio/vhost-user-rng.c
  F: hw/virtio/vhost-user-rng-pci.c
  F: include/hw/virtio/vhost-user-rng.h
-F: tools/vhost-user-rng/*
 
  vhost-user-gpio
  M: Alex Bennée <[email protected]>
Reviewed-by on v1 16/39
#23 lore raw

Re: [PATCH 16/39] MAINTAINERS: Drop stale F: from "sPAPR (pseries)"

In reply to Markus Armbruster
Quoted 17 lines · Markus Armbruster

We neglected to update MAINTAINERS when we deleted include/hw/ppc/pef.h. Update it now.

Fixes 00a238b1a8 (ppc/pef: switch to use confidential_guest_kvm_init/reset(), 2024-02-29)
Cc Nicholas Piggin <[email protected]>
Cc Harsh Prateek Bora <[email protected]>
---
  MAINTAINERS | 1 -
  1 file changed, 1 deletion(-)
MAINTAINERS +0 -0
index d1cefd2cbb..87450a84de 100644

MAINTAINERS F: hw/*/xics* · line 1637

Quoted 4 lines
MAINTAINERS +0 -1
@@ -1634,7 +1634,6 @@ F: hw/*/xics*
  F: include/hw/*/xics*
  F: include/hw/ppc/fdt.h
  F: hw/ppc/fdt.c
-F: include/hw/ppc/pef.h
Quoted 3 lines
MAINTAINERS +0 -0
  F: hw/ppc/pef.c
  F: pc-bios/slof.bin
  F: docs/system/ppc/pseries.rst
Reviewed-by Stefan Weil on v1 34/39
#57 lore raw

Re: [PATCH 34/39] MAINTAINERS: Drop stale F: from "TCI TCG target"

In reply to Markus Armbruster

Am 21.05.26 um 10:05 schrieb Markus Armbruster:

Quoted 15 lines

We neglected to update MAINTAINERS when we dropped disas/tci.c. Update it now.

Fixes 59964b4f98 (tcg/tci: Implement the disassembler properly, 2021-01-30)
Cc Stefan Weil <[email protected]>
---
  MAINTAINERS | 1 -
  1 file changed, 1 deletion(-)
MAINTAINERS +0 -0
index 7862e2df0b..d3b79e3eeb 100644

MAINTAINERS M: Stefan Weil <[email protected]> · line 4182

Quoted 7 lines
MAINTAINERS +0 -1
@@ -4177,7 +4177,6 @@ M: Stefan Weil <[email protected]>
  S: Maintained
  F: tcg/tci/
  F: tcg/tci.c
-F: disas/tci.c
 
  Block drivers
  -------------

Thanks!

Reviewed-by on v1 11/39
#16 lore raw

Re: [PATCH 11/39] MAINTAINERS: Fix F: in "WebAssembly"

In reply to Markus Armbruster

Hi Markus,

Thank you for fixing it.

Quoted 15 lines

We neglected to update MAINTAINERS when we renamed emsdk-wasm-cross.docker to emsdk-wasm64-cross.docker. Update it now.

Fixes 792d94406a (tests/docker: rename wasm cross container, 2026-01-28)
Cc Kohei Tokunaga <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +0 -0
index 44e5f096a1..a4680516f6 100644

MAINTAINERS F: include/system/os-wasm.h · line 712

Quoted 5 lines
MAINTAINERS +1 -1
@@ -709,7 +709,7 @@ F: include/system/os-wasm.h
 F: os-wasm.c
 F: util/coroutine-wasm.c
 F: configs/meson/emscripten.txt
-F: tests/docker/dockerfiles/emsdk-wasm-cross.docker
+F: tests/docker/dockerfiles/emsdk-wasm64-cross.docker

Regards,
Kohei Tokunaga

#34 lore raw

Re: [PATCH 23/39] MAINTAINERS: Fix bad / stale F: in "virtio-rng"

In reply to Laurent Vivier
Quoted 3 lines · Laurent Vivier

Hi,

it seems to be "vhost-user-rng" rather than "virtio-rng"

Yes, my bad. Thanks!

Reviewed-by on v1 25/39
#38 lore raw

Re: [PATCH 25/39] MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"

In reply to Markus Armbruster
Quoted 5 lines · Markus Armbruster

We neglected to update MAINTAINERS when we moved docs/system/devices/virtio-snd.rst and docs/system/devices/virtio-gpu.rst to docs/system/devices/virtio/. Update it now.

Quoted 7 lines
Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Gerd Hoffmann <[email protected]>
Cc Manos Pitsidianakis <[email protected]>
Cc Alex Bennée <[email protected]>
Cc Akihiko Odaki <[email protected]>
Cc Dmitry Osipenko <[email protected]>
Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
Reviewed-by on v1 29/39
#48 lore raw

Re: [PATCH 29/39] MAINTAINERS: Drop stale F: from "Human Monitor (HMP)"

In reply to Markus Armbruster
Quoted 8 lines · * Markus Armbruster ([email protected]) wrote:

We neglected to update MAINTAINERS when we moved hmp.h to include/monitor/. Commit 17dc3ae3e1 (monitor: Extract completion declarations to 'monitor/hmp-completion.h', 2026-03-20) added the missing entry without deleting the stale one. Do that now.

Fixes 275307aaab (hmp: Move hmp.h to include/monitor/, 2019-06-19)
Cc Dr. David Alan Gilbert <[email protected]>
Quoted 19 lines
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 95dbd663d4..abffa4730e 100644
@@ -3418,7 +3418,6 @@ S: Maintained
 F: monitor/monitor-internal.h
 F: monitor/monitor.c
 F: monitor/hmp*
-F: hmp.h
 F: hmp-commands*.hx
 F: include/monitor/hmp.h
 F: include/monitor/hmp-completion.h
Signature · 1 line
2.54.0
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
Reviewed-by on v1 25/39
#39 lore raw

Re: [PATCH 25/39] MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"

In reply to Markus Armbruster
Quoted 5 lines · Markus Armbruster

We neglected to update MAINTAINERS when we moved docs/system/devices/virtio-snd.rst and docs/system/devices/virtio-gpu.rst to docs/system/devices/virtio/. Update it now.

Quoted 7 lines
Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Gerd Hoffmann <[email protected]>
Cc Manos Pitsidianakis <[email protected]>
Cc Alex Bennée <[email protected]>
Cc Akihiko Odaki <[email protected]>
Cc Dmitry Osipenko <[email protected]>

Regards,
Akihiko Odaki

Reviewed-by on v1 27/39
#44 lore raw

Re: [PATCH 27/39] MAINTAINERS: Drop stale F: from "Block I/O path"

In reply to Markus Armbruster
Quoted 11 lines · Markus Armbruster

We neglected to update MAINTAINERS when we deleted tests/unit/test-fdmon-epoll.c. Update it now.

Fixes 60f782b6b7 (aio: remove aio_disable_external() API, 2023-05-16)
Cc Stefan Hajnoczi <[email protected]>
Cc Fam Zheng <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
Reviewed-by on v1 35/39
#59 lore raw

Re: [PATCH 35/39] MAINTAINERS: Drop stale F: from "Linux io_uring"

In reply to Markus Armbruster
Quoted 9 lines · Markus Armbruster

We neglected to update MAINTAINERS when we dropped stubs/io_uring.c. Update it now.

Fixes 047dabef97 (block/io_uring: use aio_add_sqe(), 2025-11-03)
Cc Julia Suvorova <[email protected]>
Cc Stefan Hajnoczi <[email protected]>
Cc Stefano Garzarella <[email protected]>
Quoted 3 lines
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
Reviewed-by on v1 10/39
#14 lore raw

Re: [PATCH 10/39] MAINTAINERS: Drop bad F: in "X86 Xen CPUs"

In reply to Markus Armbruster
Quoted 9 lines · Markus Armbruster

include/hw/block/dataplane/xen* does not exist. hw/block/dataplane/xen* does, and is covered. Drop the bad line.

Fixes fcab2b464e (xen: add header and build dataplane/xen-block.c, 2019-01-08)
Cc Stefano Stabellini <[email protected]>
Cc Anthony PERARD <[email protected]>
Cc Edgar E. Iglesias <[email protected]>

Thanks,

Signature · 1 line
Anthony PERARD
Reviewed-by on v1 16/39
#24 lore raw

Re: [PATCH 16/39] MAINTAINERS: Drop stale F: from "sPAPR (pseries)"

In reply to Markus Armbruster
Quoted 17 lines · Markus Armbruster

We neglected to update MAINTAINERS when we deleted include/hw/ppc/pef.h. Update it now.

Fixes 00a238b1a8 (ppc/pef: switch to use confidential_guest_kvm_init/reset(), 2024-02-29)
Cc Nicholas Piggin <[email protected]>
Cc Harsh Prateek Bora <[email protected]>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -0
index d1cefd2cbb..87450a84de 100644

MAINTAINERS F: hw/*/xics* · line 1637

Quoted 4 lines
MAINTAINERS +0 -1
@@ -1634,7 +1634,6 @@ F: hw/*/xics*
 F: include/hw/*/xics*
 F: include/hw/ppc/fdt.h
 F: hw/ppc/fdt.c
-F: include/hw/ppc/pef.h

Confirmed that include/hw/ppc/pef.h was removed in commit 00a238b1a845 ("ppc/pef: switch to use confidential_guest_kvm_init/reset()"). The file is no longer in the tree, making this MAINTAINERS entry stale.

Thanks,
Amit

Quoted 7 lines
MAINTAINERS +0 -0
 F: hw/ppc/pef.c
 F: pc-bios/slof.bin
 F: docs/system/ppc/pseries.rst
Signature · 1 line
2.54.0
#68 lore raw
In reply to Markus Armbruster

Hi Markus,

Quoted 91 lines · Markus Armbruster

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

Philippe Mathieu-Daudé recently posted a few fixes:

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path
MAINTAINERS: Cover debian-loongarch-cross.docker with LoongArch section
MAINTAINERS: Cover debian-xtensa-cross.docker with Xtensa section
MAINTAINERS: Cover debian-tricore-cross.docker with TriCore section
MAINTAINERS: Cover python.docker with Python library section
MAINTAINERS: Fix s390x storage key/attribute device paths
MAINTAINERS: Fix tcg/s390x/ path
MAINTAINERS: Correct scripts/coverity-model.c path
MAINTAINERS: Fix hexagon-linux-user.mak path

These are in

   Subject: [PATCH 0/7] docker: Remove LegacyKeyValueFormat warnings
   Date: Mon, 18 May 2026 12:22:15 +0200
   Message-ID: <[email protected]>

   Subject: [PATCH v2 0/4] buildsys: Stop checking for ESA/390 host
   Date: Tue, 19 May 2026 19:12:36 +0200
   Message-ID: <[email protected]>


   Subject: [PATCH] MAINTAINERS: Correct scripts/coverity-model.c path
   Date: Tue, 19 May 2026 19:19:26 +0200
   Message-ID: <[email protected]>

   Subject: [PATCH] MAINTAINERS: Fix hexagon-linux-user.mak path
   Date: Wed, 20 May 2026 14:39:47 +0200
   Message-ID: <[email protected]>

This series takes care of the remainder, except for one discussed below. It applies cleanly with and without Philippe's patches.

The exception is the last line in

Python scripts
M: John Snow <[email protected]>
M: Cleber Rosa <[email protected]>
S: Odd Fixes
F: scripts/*.py
F: tests/*.py

Both F: are actually wrong here: they match only in the scripts/ and tests/ not further down. Left for another day.

Markus Armbruster (39):
MAINTAINERS: Improve another "Overall" section headline
MAINTAINERS: Delete trailing colons in section headlines
MAINTAINERS: Drop stale F: from "Guest CPU cores (TCG)"
MAINTAINERS: Drop stale F: in "RISC-V TCG CPUs"
MAINTAINERS: Drop stale F: in "SPARC TCG CPUs"
MAINTAINERS: Drop stale F: from "Overall KVM CPUs"
MAINTAINERS: Drop stale F: from "Overall CPUs other accelerators"
MAINTAINERS: Drop stale F: from "virtio"
MAINTAINERS: Fix F: in "Apple Silicon HVF CPUs"
MAINTAINERS: Drop bad F: in "X86 Xen CPUs"
MAINTAINERS: Fix F: in "WebAssembly"
MAINTAINERS: Fix F: in "Allwinner-a10"
MAINTAINERS: Fix F: in "Raspberry Pi"
MAINTAINERS: Drop bad F: from "Xilinx Zynq"
MAINTAINERS: Drop stale F: from "New World (mac99)"
MAINTAINERS: Drop stale F: from "sPAPR (pseries)"
MAINTAINERS: Fix F: typo in "sam460ex"
MAINTAINERS: Fix F: in "SiFive Machines"
MAINTAINERS: Fix F: typo in "ACPI/HEST/GHES/ARM processor CPER"
MAINTAINERS: Fix F: in "SSI"
MAINTAINERS: Fix F: in "vhost"
MAINTAINERS: Fix F: in "virtio-input"
MAINTAINERS: Fix bad / stale F: in "virtio-rng"
MAINTAINERS: Fix F: in "vhost-user-stubs"
MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"
MAINTAINERS: Fix F: typo in "pcf8574"
MAINTAINERS: Drop stale F: from "Block I/O path"
MAINTAINERS: Fix F: typo in "Dump"
MAINTAINERS: Drop stale F: from "Human Monitor (HMP)"
MAINTAINERS: Fix F: in "QDev"
MAINTAINERS: Fix F: in "QMP"
MAINTAINERS: Fix F: typo in "I3C"
MAINTAINERS: Drop stale F: from "EDK2 Firmware"
MAINTAINERS: Drop stale F: from "TCI TCG target"
MAINTAINERS: Drop stale F: from "Linux io_uring"
MAINTAINERS: Fix F: in "VFIO-USER"
MAINTAINERS: Fix F: in "Build and test automation"
MAINTAINERS: Drop stale F: from "Sphinx documentation configuration

Quoted 6 lines
    ..."

MAINTAINERS: Fix F: in "Rust build system integration"

 MAINTAINERS | 73 ++++++++++++++++++-----------------------------------
 1 file changed, 24 insertions(+), 49 deletions(-)

thanks for posting this.

In addition, see the patch attached to this email.
It integrates checking this directly at configure time, so we never run into any missing entry again in the future.

I share this here not for a review, but simply to avoid a duplicated effort, and make sure people know it will be sent after this series.

I don't believe in adding this in checkpatch, because it's not enforced systematically unfortunately. Breaking the meson configuration is a good way to make sure it's enforced by design.

With your series applied, the left entries are:
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +258:
configs/targets/hexagon-linux-user/default.mak
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +259:
docker/dockerfiles/debian-hexagon-cross.docker
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2956:
hw/s390x/storage-keys.h
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2965:
hw/s390x/storage-attributes.h
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3241:
scripts/coverity-model.c
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3468:
tests/*.py
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +4149:
tcg/s390/

Once your current series is pulled, I'll fix the remaining and send the attached patch. Or feel free to do it directly if you like the idea :)

Regards,
Pierrick

From 6c9b49ac7ec06c0159d2b4ba9c9d1081e02ef765 Mon Sep 17 00:00:00 2001
From: Pierrick Bouvier <[email protected]>
Date: Fri, 22 May 2026 12:23:17 -0700
Subject: [PATCH] meson.build: check MAINTAINERS file is consistent with source
tree

We add a new script: scripts/check-maintainers-file.py, that will run at configuration time (and not at build time), to not hurt build time. This script runs in 0.2s on my dev VM, which has an old cpu.

We can expect things to be mostly in sync since adding or removing a source or test file will trigger a configure step.
For the rest, like docs, tcg tests, or remaining files, GitLab CI will build things from scratch and always run the configure step.

With this, it should be impossible by design to have an upstream MAINTAINERS file with non existing file entries.

---
 meson.build                       |  5 +++
 scripts/check-maintainers-file.py | 53 +++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100755 scripts/check-maintainers-file.py
meson.build +5 -0
index eeb096c1487..ddfb0b90ca6 100644
@@ -18,6 +18,11 @@ add_test_setup('thorough',
 
 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
 
+# check our MAINTAINERS file is consistent
+check_maintainers = find_program('scripts/check-maintainers-file.py')
+maintainers_file = files('MAINTAINERS')
+run_command([check_maintainers, maintainers_file], check: true, console: true)
+
 ####################
 # Global variables #
 ####################
scripts/check-maintainers-file.py new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
2.43.0
Reviewed-by on v1 37/39
#64 lore raw

Re: [PATCH 37/39] MAINTAINERS: Fix F: in "Build and test automation"

In reply to Markus Armbruster
Quoted 5 lines · Markus Armbruster

We neglected to update MAINTAINERS when we split of the testing docs. Commit 97b091c88f (MAINTAINERS: Update the paths to the testing documentation files, 2025-06-10) updated it belatedly, but missed one line. Correct that now.

Quoted 8 lines
Fixes ff41da5030 (docs/devel: Split testing docs from the build docs and move to separate folder, 2024-08-30)
Cc Alex Bennée <[email protected]>
Cc Pierrick Bouvier <[email protected]>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by on v1 30/39
#50 lore raw

Re: [PATCH 30/39] MAINTAINERS: Fix F: in "QDev"

In reply to Markus Armbruster
Quoted 11 lines · Markus Armbruster

We neglected to update MAINTAINERS when we moved qdev headers from include/hw/ to include/hw/core/. Update it now.

Fixes 3775d19906 (include: move hw/qdev-clock.h to hw/core/, 2025-11-27)
Fixes d1000ecae2 (include: move hw/qdev-core.h to hw/core/, rename, 2025-11-27)
Fixes f7889f86bd (include: move hw/qdev-dma.h to hw/core/, 2025-11-27)
Fixes 78d45220b4 (include: move hw/qdev-properties.h to hw/core/, 2025-11-27)
Fixes e1e9a72500 (include: move hw/qdev-properties-system.h to hw/core/, 2025-11-27)
Cc Paolo Bonzini <[email protected]>
Cc Daniel P. Berrange <[email protected]>
Quoted 3 lines
---
  MAINTAINERS | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by on v1 28/39
#46 lore raw

Re: [PATCH 28/39] MAINTAINERS: Fix F: typo in "Dump"

In reply to Markus Armbruster
Quoted 7 lines · Markus Armbruster
Fixes 6d3da32c8b (MAINTAINERS: Add Windows dump to section "Dump", 2019-06-19)
Cc Marc-André Lureau <[email protected]>
Cc Ani Sinha <[email protected]>
---
  MAINTAINERS | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by on v1 13/39
#19 lore raw

Re: [PATCH 13/39] MAINTAINERS: Fix F: in "Raspberry Pi"

In reply to Markus Armbruster
Quoted 11 lines · Markus Armbruster

Cover hw/arm/raspi4b.c. Drop hw/arm/raspi_platform.h, it's in include/hw/arm/, and covered there.

Fixes 95a5db3ae5 (MAINTAINERS: Add entries for missing ARM boards, 2018-11-19)
Cc Peter Maydell <[email protected]>
Cc Philippe Mathieu-Daudé <[email protected]>
---
  MAINTAINERS | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by on v1 36/39
#62 lore raw

Re: [PATCH 36/39] MAINTAINERS: Fix F: in "VFIO-USER"

In reply to Markus Armbruster
Quoted 19 lines · Markus Armbruster

The commit adding the section added two bad F: lines:
include/hw/vfio-user/ never existed, and subprojects/libvfio-user had long been replaced by subprojects/libvfio.wrap. Drop the former, and correct the latter.

Fixes 9fca2b7d70 (vfio-user: add vfio-user class and container, 2025-06-25)
Cc John Levon <[email protected]>
Cc Thanos Makatos <[email protected]>
Cc Cédric Le Goater <[email protected]>
---
 MAINTAINERS | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +0 -0
index 7a1b1317cf..ca86e1410b 100644

MAINTAINERS S: Supported · line 4474

Quoted 9 lines
MAINTAINERS +1 -2
@@ -4468,8 +4468,7 @@ S: Supported
 F: docs/interop/vfio-user.rst
 F: docs/system/devices/vfio-user.rst
 F: hw/vfio-user/*
-F: include/hw/vfio-user/*
-F: subprojects/libvfio-user
+F: subprojects/libvfio-user.wrap
 F: tests/functional/x86_64/test_vfio_user_client.py
 
 EBPF
Reviewed-by on v1 25/39
#40 lore raw

Re: [PATCH 25/39] MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"

In reply to Markus Armbruster
Quoted 30 lines · Markus Armbruster

We neglected to update MAINTAINERS when we moved docs/system/devices/virtio-snd.rst and docs/system/devices/virtio-gpu.rst to docs/system/devices/virtio/. Update it now.

Fixes 487ce6ce99 (docs/system: split VirtIO devices from the rest, 2025-10-16)
Cc Gerd Hoffmann <[email protected]>
Cc Manos Pitsidianakis <[email protected]>
Cc Alex Bennée <[email protected]>
Cc Akihiko Odaki <[email protected]>
Cc Dmitry Osipenko <[email protected]>
---
 MAINTAINERS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
MAINTAINERS +1 -1
index 03817a0ebe..c864fb971d 100644
@@ -2613,7 +2613,7 @@ S: Supported
 F: hw/audio/virtio-snd.c
 F: hw/audio/virtio-snd-pci.c
 F: include/hw/audio/virtio-snd.h
-F: docs/system/devices/virtio-snd.rst
+F: docs/system/devices/virtio/virtio-snd.rst
 
 nvme
 M: Keith Busch <[email protected]>

MAINTAINERS S: Odd Fixes · line 2808

Quoted 8 lines
MAINTAINERS +1 -1
@@ -2802,7 +2802,7 @@ S: Odd Fixes
 F: hw/display/virtio-gpu*
 F: hw/display/virtio-vga.*
 F: include/hw/virtio/virtio-gpu.h
-F: docs/system/devices/virtio-gpu.rst
+F: docs/system/devices/virtio/virtio-gpu.rst
 F: tests/functional/aarch64/test_virt_gpu.py
 F: tests/functional/x86_64/test_virtio_gpu.py
 
Signature · 2 lines
Best regards,
Dmitry
Reviewed-by on v1 4/39
#7 lore raw

Re: [PATCH 04/39] MAINTAINERS: Drop stale F: in "RISC-V TCG CPUs"

In reply to Markus Armbruster
Quoted 8 lines · Markus Armbruster

We neglected to update MAINTAINERS when we merged linux-user/host/riscv32/ and linux-user/host/riscv32/ into linux-user/host/riscv/.  The files since moved to linux linux-user/include/host/riscv64/, which is covered by "Linux user". Good enough; drop the stale lines.  Matches the other targets.

Fixes ba0e733362 (configure: Merge riscv32 and riscv64 host

architectures, 2021-09-17)

Quoted 8 lines
Cc Palmer Dabbelt <[email protected]>
Cc Alistair Francis <[email protected]>
Cc Weiwei Li <[email protected]>
Cc Daniel Henrique Barboza <[email protected]>
Cc Liu Zhiwei <[email protected]>
Cc Chao Liu <[email protected]>

Alistair

Quoted 17 lines

---
 MAINTAINERS | 2 --

 1 file changed, 2 deletions(-)
MAINTAINERS +0 -0
index af76d9544d..366fc6c257 100644
@@ -361,8 +361,6 @@ F: hw/riscv/

 F: hw/intc/riscv*
 F: include/hw/char/riscv_htif.h
 F: include/hw/riscv/

MAINTAINERS +0 -2
-F: linux-user/host/riscv32/
-F: linux-user/host/riscv64/

 F: common-user/host/riscv*
 F: tests/functional/riscv32
 F: tests/functional/riscv64

Reviewed-by on v1 18/39
#27 lore raw

Re: [PATCH 18/39] MAINTAINERS: Fix F: in "SiFive Machines"

In reply to Markus Armbruster
Quoted 9 lines · Markus Armbruster

The MAINTAINERS update for moving tests into target-specific folders missed one file.  Correct that.

Fixes e1a8572a8d (tests/functional: Move riscv32/riscv64 tests into

target-specific folders, 2025-08-19)

Alistair

Quoted 17 lines

---
 MAINTAINERS | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +0 -0
index 00a24612b7..6268ee1d73 100644
@@ -1773,7 +1773,7 @@ S: Supported

 F: docs/system/riscv/sifive_u.rst
 F: hw/*/*sifive*.c
 F: include/hw/*/*sifive*.h

MAINTAINERS +1 -1
-F: tests/functional/test_riscv64_sifive_u.py
+F: tests/functional/riscv64/test_sifive_u.py


 AMD Microblaze-V Generic Board
 M: Sai Pavan Boddu <[email protected]>

#69 lore raw
In reply to Pierrick Bouvier
Quoted 107 lines · Pierrick Bouvier

Hi Markus,

Quoted 91 lines · Markus Armbruster

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

Philippe Mathieu-Daudé recently posted a few fixes:

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path
MAINTAINERS: Cover debian-loongarch-cross.docker with LoongArch section
MAINTAINERS: Cover debian-xtensa-cross.docker with Xtensa section
MAINTAINERS: Cover debian-tricore-cross.docker with TriCore section
MAINTAINERS: Cover python.docker with Python library section
MAINTAINERS: Fix s390x storage key/attribute device paths
MAINTAINERS: Fix tcg/s390x/ path
MAINTAINERS: Correct scripts/coverity-model.c path
MAINTAINERS: Fix hexagon-linux-user.mak path

These are in

   Subject: [PATCH 0/7] docker: Remove LegacyKeyValueFormat warnings
   Date: Mon, 18 May 2026 12:22:15 +0200
   Message-ID: <[email protected]>

   Subject: [PATCH v2 0/4] buildsys: Stop checking for ESA/390 host
   Date: Tue, 19 May 2026 19:12:36 +0200
   Message-ID: <[email protected]>


   Subject: [PATCH] MAINTAINERS: Correct scripts/coverity-model.c path
   Date: Tue, 19 May 2026 19:19:26 +0200
   Message-ID: <[email protected]>

   Subject: [PATCH] MAINTAINERS: Fix hexagon-linux-user.mak path
   Date: Wed, 20 May 2026 14:39:47 +0200
   Message-ID: <[email protected]>

This series takes care of the remainder, except for one discussed below. It applies cleanly with and without Philippe's patches.

The exception is the last line in

Python scripts
M: John Snow <[email protected]>
M: Cleber Rosa <[email protected]>
S: Odd Fixes
F: scripts/*.py
F: tests/*.py

Both F: are actually wrong here: they match only in the scripts/ and tests/ not further down. Left for another day.

Markus Armbruster (39):
MAINTAINERS: Improve another "Overall" section headline
MAINTAINERS: Delete trailing colons in section headlines
MAINTAINERS: Drop stale F: from "Guest CPU cores (TCG)"
MAINTAINERS: Drop stale F: in "RISC-V TCG CPUs"
MAINTAINERS: Drop stale F: in "SPARC TCG CPUs"
MAINTAINERS: Drop stale F: from "Overall KVM CPUs"
MAINTAINERS: Drop stale F: from "Overall CPUs other accelerators"
MAINTAINERS: Drop stale F: from "virtio"
MAINTAINERS: Fix F: in "Apple Silicon HVF CPUs"
MAINTAINERS: Drop bad F: in "X86 Xen CPUs"
MAINTAINERS: Fix F: in "WebAssembly"
MAINTAINERS: Fix F: in "Allwinner-a10"
MAINTAINERS: Fix F: in "Raspberry Pi"
MAINTAINERS: Drop bad F: from "Xilinx Zynq"
MAINTAINERS: Drop stale F: from "New World (mac99)"
MAINTAINERS: Drop stale F: from "sPAPR (pseries)"
MAINTAINERS: Fix F: typo in "sam460ex"
MAINTAINERS: Fix F: in "SiFive Machines"
MAINTAINERS: Fix F: typo in "ACPI/HEST/GHES/ARM processor CPER"
MAINTAINERS: Fix F: in "SSI"
MAINTAINERS: Fix F: in "vhost"
MAINTAINERS: Fix F: in "virtio-input"
MAINTAINERS: Fix bad / stale F: in "virtio-rng"
MAINTAINERS: Fix F: in "vhost-user-stubs"
MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"
MAINTAINERS: Fix F: typo in "pcf8574"
MAINTAINERS: Drop stale F: from "Block I/O path"
MAINTAINERS: Fix F: typo in "Dump"
MAINTAINERS: Drop stale F: from "Human Monitor (HMP)"
MAINTAINERS: Fix F: in "QDev"
MAINTAINERS: Fix F: in "QMP"
MAINTAINERS: Fix F: typo in "I3C"
MAINTAINERS: Drop stale F: from "EDK2 Firmware"
MAINTAINERS: Drop stale F: from "TCI TCG target"
MAINTAINERS: Drop stale F: from "Linux io_uring"
MAINTAINERS: Fix F: in "VFIO-USER"
MAINTAINERS: Fix F: in "Build and test automation"
MAINTAINERS: Drop stale F: from "Sphinx documentation configuration

Quoted 6 lines
    ..."

MAINTAINERS: Fix F: in "Rust build system integration"

 MAINTAINERS | 73 ++++++++++++++++++-----------------------------------
 1 file changed, 24 insertions(+), 49 deletions(-)

thanks for posting this.

In addition, see the patch attached to this email.
It integrates checking this directly at configure time, so we never run into any missing entry again in the future.

Quoted 6 lines

I share this here not for a review, but simply to avoid a duplicated effort, and make sure people know it will be sent after this series.

I don't believe in adding this in checkpatch, because it's not enforced systematically unfortunately. Breaking the meson configuration is a good way to make sure it's enforced by design.

No objection.

Quoted 1 line

With your series applied, the left entries are:

Most of these are fixed in Philippe's patches mentioned above.

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +258:
configs/targets/hexagon-linux-user/default.mak

MAINTAINERS: Fix hexagon-linux-user.mak path

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +259:
docker/dockerfiles/debian-hexagon-cross.docker

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path

Quoted 4 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2956:
hw/s390x/storage-keys.h
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2965:
hw/s390x/storage-attributes.h

MAINTAINERS: Fix s390x storage key/attribute device paths

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3241:
scripts/coverity-model.c

MAINTAINERS: Correct scripts/coverity-model.c path

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3468:
tests/*.py

This is the exception I mentioned above.

The intent is to match *.py below tests/. It actually matches only in tests/, not in its subdirectories.

Here's a dumb fix:

    F: tests/*.py
    F: tests/*/*.py
    F: tests/*/*/*.py
    F: tests/*/*/*/*.py

for however many levels we have. Same for the scripts/ line next to it. Blech.

The smart fix might be to port N: from the kernel.

N: Files and directories *Regex* patterns.
N: [^a-z]tegra all files whose path contains tegra
(not including files like integrator)
One pattern per line. Multiple N: lines acceptable. scripts/get_maintainer.pl has different behavior for files that match F: pattern and matches of N: patterns. By default, get_maintainer will not look at git log history when an F: pattern match occurs. When an N: match occurs, git log history is used to also notify the people that have git commit signatures.

But I wonder: is this section useful at all?

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +4149:
tcg/s390/

MAINTAINERS: Fix tcg/s390x/ path

Quoted 5 lines

Once your current series is pulled, I'll fix the remaining and send the attached patch. Or feel free to do it directly if you like the idea :)

Regards,
Pierrick

Two remarks inline.

Quoted 30 lines

From 6c9b49ac7ec06c0159d2b4ba9c9d1081e02ef765 Mon Sep 17 00:00:00 2001
From: Pierrick Bouvier <[email protected]>
Date: Fri, 22 May 2026 12:23:17 -0700
Subject: [PATCH] meson.build: check MAINTAINERS file is consistent with source
tree

We add a new script: scripts/check-maintainers-file.py, that will run at configuration time (and not at build time), to not hurt build time. This script runs in 0.2s on my dev VM, which has an old cpu.

We can expect things to be mostly in sync since adding or removing a source or test file will trigger a configure step.
For the rest, like docs, tcg tests, or remaining files, GitLab CI will build things from scratch and always run the configure step.

With this, it should be impossible by design to have an upstream MAINTAINERS file with non existing file entries.

---
 meson.build                       |  5 +++
 scripts/check-maintainers-file.py | 53 +++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100755 scripts/check-maintainers-file.py
meson.build +0 -0
index eeb096c1487..ddfb0b90ca6 100644

meson.build add_test_setup('thorough', · line 24

Quoted 7 lines
meson.build +4 -0
@@ -18,6 +18,11 @@ add_test_setup('thorough',
 
 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
 
+# check our MAINTAINERS file is consistent
+check_maintainers = find_program('scripts/check-maintainers-file.py')
+maintainers_file = files('MAINTAINERS')
+run_command([check_maintainers, maintainers_file], check: true, console: true)

My version of meson (1.8.5) chokes on console: true. According to
https://mesonbuild.com/Reference-manual_functions_run_command.html#run_command_console
it's new in 1.11.0.

I tested with it deleted.

Quoted 36 lines
meson.build +1 -0
+
 ####################
 # Global variables #
 ####################
scripts/check-maintainers-file.py new file +26 -0
new file mode 100755
index 00000000000..b001816a401
@@ -0,0 +1,53 @@
+#! /usr/bin/env python3
+
+# Check incorrect file entries in MAINTAINERS
+#
+# Author: Pierrick Bouvier <[email protected]>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import argparse
+import glob
+import sys
+
+
+def check_one_entry(line) -> bool:
+    return True
+
+
+def main() -> None:
+    parser = argparse.ArgumentParser(description="Check MAINTAINERS file")
+    parser.add_argument("maintainers", help="Path to MAINTAINERS file")
+    args = parser.parse_args()
+
+    found_file_entry = False
+    found_incorrect_entries = False
+    line_counter = 0
+

scripts/check-maintainers-file.py line 36

Quoted 10 lines
scripts/check-maintainers-file.py new file +10 -0
+    with open(args.maintainers) as file:
+        for entry in file:
+            line_counter += 1
+
+            if not entry.startswith("F:"):
+                continue
+            entry = entry[2:].strip()
+            found_file_entry = True
+
+            file_exists = len(glob.glob(entry, recursive=True)) > 0

I'm afraid this matches files not in git, just like my quick & dirty one-liner. Shouldn't we match against contents of HEAD, say output of "git-ls-tree -r --name-only @"?

Quoted 17 lines
scripts/check-maintainers-file.py new file +17 -0
+            if file_exists:
+                continue
+
+            found_incorrect_entries = True
+            print(
+                f"No matching files for {args.maintainers} +{line_counter}: {entry}",
+                file=sys.stderr,
+            )
+
+    if not found_file_entry:
+        raise Exception("no file entry found - is MAINTAINERS path correct?")
+    if found_incorrect_entries:
+        raise Exception(f"incorrect entries found in {args.maintainers}")
+
+
+if __name__ == "__main__":
+    main()
#70 lore raw
Quoted 116 lines · Markus Armbruster
Quoted 107 lines · Pierrick Bouvier

Hi Markus,

Quoted 91 lines · Markus Armbruster

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

Philippe Mathieu-Daudé recently posted a few fixes:

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path
MAINTAINERS: Cover debian-loongarch-cross.docker with LoongArch section
MAINTAINERS: Cover debian-xtensa-cross.docker with Xtensa section
MAINTAINERS: Cover debian-tricore-cross.docker with TriCore section
MAINTAINERS: Cover python.docker with Python library section
MAINTAINERS: Fix s390x storage key/attribute device paths
MAINTAINERS: Fix tcg/s390x/ path
MAINTAINERS: Correct scripts/coverity-model.c path
MAINTAINERS: Fix hexagon-linux-user.mak path

These are in

   Subject: [PATCH 0/7] docker: Remove LegacyKeyValueFormat warnings
   Date: Mon, 18 May 2026 12:22:15 +0200
   Message-ID: <[email protected]>

   Subject: [PATCH v2 0/4] buildsys: Stop checking for ESA/390 host
   Date: Tue, 19 May 2026 19:12:36 +0200
   Message-ID: <[email protected]>


   Subject: [PATCH] MAINTAINERS: Correct scripts/coverity-model.c path
   Date: Tue, 19 May 2026 19:19:26 +0200
   Message-ID: <[email protected]>

   Subject: [PATCH] MAINTAINERS: Fix hexagon-linux-user.mak path
   Date: Wed, 20 May 2026 14:39:47 +0200
   Message-ID: <[email protected]>

This series takes care of the remainder, except for one discussed below. It applies cleanly with and without Philippe's patches.

The exception is the last line in

Python scripts
M: John Snow <[email protected]>
M: Cleber Rosa <[email protected]>
S: Odd Fixes
F: scripts/*.py
F: tests/*.py

Both F: are actually wrong here: they match only in the scripts/ and tests/ not further down. Left for another day.

Markus Armbruster (39):
MAINTAINERS: Improve another "Overall" section headline
MAINTAINERS: Delete trailing colons in section headlines
MAINTAINERS: Drop stale F: from "Guest CPU cores (TCG)"
MAINTAINERS: Drop stale F: in "RISC-V TCG CPUs"
MAINTAINERS: Drop stale F: in "SPARC TCG CPUs"
MAINTAINERS: Drop stale F: from "Overall KVM CPUs"
MAINTAINERS: Drop stale F: from "Overall CPUs other accelerators"
MAINTAINERS: Drop stale F: from "virtio"
MAINTAINERS: Fix F: in "Apple Silicon HVF CPUs"
MAINTAINERS: Drop bad F: in "X86 Xen CPUs"
MAINTAINERS: Fix F: in "WebAssembly"
MAINTAINERS: Fix F: in "Allwinner-a10"
MAINTAINERS: Fix F: in "Raspberry Pi"
MAINTAINERS: Drop bad F: from "Xilinx Zynq"
MAINTAINERS: Drop stale F: from "New World (mac99)"
MAINTAINERS: Drop stale F: from "sPAPR (pseries)"
MAINTAINERS: Fix F: typo in "sam460ex"
MAINTAINERS: Fix F: in "SiFive Machines"
MAINTAINERS: Fix F: typo in "ACPI/HEST/GHES/ARM processor CPER"
MAINTAINERS: Fix F: in "SSI"
MAINTAINERS: Fix F: in "vhost"
MAINTAINERS: Fix F: in "virtio-input"
MAINTAINERS: Fix bad / stale F: in "virtio-rng"
MAINTAINERS: Fix F: in "vhost-user-stubs"
MAINTAINERS: Fix F: in "virtio-snd" and "virtio-gpu"
MAINTAINERS: Fix F: typo in "pcf8574"
MAINTAINERS: Drop stale F: from "Block I/O path"
MAINTAINERS: Fix F: typo in "Dump"
MAINTAINERS: Drop stale F: from "Human Monitor (HMP)"
MAINTAINERS: Fix F: in "QDev"
MAINTAINERS: Fix F: in "QMP"
MAINTAINERS: Fix F: typo in "I3C"
MAINTAINERS: Drop stale F: from "EDK2 Firmware"
MAINTAINERS: Drop stale F: from "TCI TCG target"
MAINTAINERS: Drop stale F: from "Linux io_uring"
MAINTAINERS: Fix F: in "VFIO-USER"
MAINTAINERS: Fix F: in "Build and test automation"
MAINTAINERS: Drop stale F: from "Sphinx documentation configuration

Quoted 6 lines
    ..."

MAINTAINERS: Fix F: in "Rust build system integration"

 MAINTAINERS | 73 ++++++++++++++++++-----------------------------------
 1 file changed, 24 insertions(+), 49 deletions(-)

thanks for posting this.

In addition, see the patch attached to this email.
It integrates checking this directly at configure time, so we never run into any missing entry again in the future.

Quoted 6 lines

I share this here not for a review, but simply to avoid a duplicated effort, and make sure people know it will be sent after this series.

I don't believe in adding this in checkpatch, because it's not enforced systematically unfortunately. Breaking the meson configuration is a good way to make sure it's enforced by design.

Quoted 6 lines

No objection.

Quoted 1 line

With your series applied, the left entries are:

Most of these are fixed in Philippe's patches mentioned above.

👍

Quoted 30 lines
Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +258:
configs/targets/hexagon-linux-user/default.mak

MAINTAINERS: Fix hexagon-linux-user.mak path

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +259:
docker/dockerfiles/debian-hexagon-cross.docker

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path

Quoted 4 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2956:
hw/s390x/storage-keys.h
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2965:
hw/s390x/storage-attributes.h

MAINTAINERS: Fix s390x storage key/attribute device paths

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3241:
scripts/coverity-model.c

MAINTAINERS: Correct scripts/coverity-model.c path

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3468:
tests/*.py

This is the exception I mentioned above.

The intent is to match *.py below tests/. It actually matches only in tests/, not in its subdirectories.

Quoted 7 lines

Here's a dumb fix:

    F: tests/*.py
    F: tests/*/*.py
    F: tests/*/*/*.py
    F: tests/*/*/*/*.py

It's acceptable, and nice because it's not ambiguous. Also, it shows us the first line is not a correct entry (there is no tests/*.py).

Quoted 15 lines

for however many levels we have. Same for the scripts/ line next to it. Blech.

The smart fix might be to port N: from the kernel.

N: Files and directories *Regex* patterns.
N: [^a-z]tegra all files whose path contains tegra
(not including files like integrator)
One pattern per line. Multiple N: lines acceptable. scripts/get_maintainer.pl has different behavior for files that match F: pattern and matches of N: patterns. By default, get_maintainer will not look at git log history when an F: pattern match occurs. When an N: match occurs, git log history is used to also notify the people that have git commit signatures.

Quoted 2 lines

But I wonder: is this section useful at all?

I would prefer to use the manual entries approach above, especially if there is only folder that is concerned.
When we'll have two different use case, maybe we can consider a more generic approach.

Quoted 46 lines
Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +4149:
tcg/s390/

MAINTAINERS: Fix tcg/s390x/ path

Quoted 5 lines

Once your current series is pulled, I'll fix the remaining and send the attached patch. Or feel free to do it directly if you like the idea :)

Regards,
Pierrick

Two remarks inline.

Quoted 33 lines

From 6c9b49ac7ec06c0159d2b4ba9c9d1081e02ef765 Mon Sep 17 00:00:00 2001
From: Pierrick Bouvier <[email protected]>
Date: Fri, 22 May 2026 12:23:17 -0700
Subject: [PATCH] meson.build: check MAINTAINERS file is consistent with source
tree

We add a new script: scripts/check-maintainers-file.py, that will run at configuration time (and not at build time), to not hurt build time. This script runs in 0.2s on my dev VM, which has an old cpu.

We can expect things to be mostly in sync since adding or removing a source or test file will trigger a configure step.
For the rest, like docs, tcg tests, or remaining files, GitLab CI will build things from scratch and always run the configure step.

With this, it should be impossible by design to have an upstream MAINTAINERS file with non existing file entries.

---
 meson.build                       |  5 +++
 scripts/check-maintainers-file.py | 53 +++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100755 scripts/check-maintainers-file.py
meson.build +0 -0
index eeb096c1487..ddfb0b90ca6 100644
@@ -18,6 +18,11 @@ add_test_setup('thorough',
 
 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
 
Quoted 9 lines

meson.build add_test_setup('thorough', · line 24

Quoted 4 lines
meson.build +4 -0
+# check our MAINTAINERS file is consistent
+check_maintainers = find_program('scripts/check-maintainers-file.py')
+maintainers_file = files('MAINTAINERS')
+run_command([check_maintainers, maintainers_file], check: true, console: true)

My version of meson (1.8.5) chokes on console: true. According to
https://mesonbuild.com/Reference-manual_functions_run_command.html#run_command_console
it's new in 1.11.0.

Our configure script creates a venv with an updated version of meson, which is 1.11.1 at the moment.
If you called meson directly (which uses your host meson), it's not how we're supposed to build QEMU.
How did you try this?

Quoted 44 lines

I tested with it deleted.

Quoted 42 lines
meson.build +1 -0
+
 ####################
 # Global variables #
 ####################
scripts/check-maintainers-file.py new file +32 -0
new file mode 100755
index 00000000000..b001816a401
@@ -0,0 +1,53 @@
+#! /usr/bin/env python3
+
+# Check incorrect file entries in MAINTAINERS
+#
+# Author: Pierrick Bouvier <[email protected]>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import argparse
+import glob
+import sys
+
+
+def check_one_entry(line) -> bool:
+    return True
+
+
+def main() -> None:
+    parser = argparse.ArgumentParser(description="Check MAINTAINERS file")
+    parser.add_argument("maintainers", help="Path to MAINTAINERS file")
+    args = parser.parse_args()
+
+    found_file_entry = False
+    found_incorrect_entries = False
+    line_counter = 0
+
+    with open(args.maintainers) as file:
+        for entry in file:
+            line_counter += 1
+
+            if not entry.startswith("F:"):
+                continue
Quoted 9 lines

scripts/check-maintainers-file.py line 36

Quoted 4 lines
scripts/check-maintainers-file.py new file +4 -0
+            entry = entry[2:].strip()
+            found_file_entry = True
+
+            file_exists = len(glob.glob(entry, recursive=True)) > 0

I'm afraid this matches files not in git, just like my quick & dirty one-liner. Shouldn't we match against contents of HEAD, say output of "git-ls-tree -r --name-only @"?

I don't think it's needed to restrict to git ls-tree. The only risk is that people have a local file they forgot (or didn't want) to add in git. It will be caught by CI that won't have such a file, so we're safe.

What do you think?

Quoted 9 lines
Quoted 9 lines
scripts/check-maintainers-file.py new file +9 -0
+            if file_exists:
+                continue
+
+            found_incorrect_entries = True
+            print(
+                f"No matching files for {args.maintainers} +{line_counter}: {entry}",
+                file=sys.stderr,
+            )
+
Quoted 9 lines

scripts/check-maintainers-file.py line 53

Quoted 8 lines
scripts/check-maintainers-file.py new file +8 -0
+    if not found_file_entry:
+        raise Exception("no file entry found - is MAINTAINERS path correct?")
+    if found_incorrect_entries:
+        raise Exception(f"incorrect entries found in {args.maintainers}")
+
+
+if __name__ == "__main__":
+    main()

Regards,
Pierrick

#71 lore raw
Quoted 23 lines · Pierrick Bouvier
Quoted 22 lines · Markus Armbruster
Quoted 20 lines · Pierrick Bouvier

Hi Markus,

Quoted 17 lines · Markus Armbruster

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

Philippe Mathieu-Daudé recently posted a few fixes:

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path
MAINTAINERS: Cover debian-loongarch-cross.docker with LoongArch section
MAINTAINERS: Cover debian-xtensa-cross.docker with Xtensa section
MAINTAINERS: Cover debian-tricore-cross.docker with TriCore section
MAINTAINERS: Cover python.docker with Python library section
MAINTAINERS: Fix s390x storage key/attribute device paths
MAINTAINERS: Fix tcg/s390x/ path
MAINTAINERS: Correct scripts/coverity-model.c path
MAINTAINERS: Fix hexagon-linux-user.mak path

[...]

Quoted 58 lines
Quoted 11 lines
Quoted 10 lines

In addition, see the patch attached to this email.
It integrates checking this directly at configure time, so we never run into any missing entry again in the future.

I share this here not for a review, but simply to avoid a duplicated effort, and make sure people know it will be sent after this series.

I don't believe in adding this in checkpatch, because it's not enforced systematically unfortunately. Breaking the meson configuration is a good way to make sure it's enforced by design.

Quoted 6 lines

No objection.

Quoted 1 line

With your series applied, the left entries are:

Most of these are fixed in Philippe's patches mentioned above.

👍

Quoted 30 lines
Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +258:
configs/targets/hexagon-linux-user/default.mak

MAINTAINERS: Fix hexagon-linux-user.mak path

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +259:
docker/dockerfiles/debian-hexagon-cross.docker

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path

Quoted 4 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2956:
hw/s390x/storage-keys.h
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2965:
hw/s390x/storage-attributes.h

MAINTAINERS: Fix s390x storage key/attribute device paths

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3241:
scripts/coverity-model.c

MAINTAINERS: Correct scripts/coverity-model.c path

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3468:
tests/*.py

This is the exception I mentioned above.

The intent is to match *.py below tests/. It actually matches only in tests/, not in its subdirectories.

Quoted 7 lines

Here's a dumb fix:

    F: tests/*.py
    F: tests/*/*.py
    F: tests/*/*/*.py
    F: tests/*/*/*/*.py
Quoted 3 lines

It's acceptable, and nice because it's not ambiguous. Also, it shows us the first line is not a correct entry (there is no tests/*.py).

It's also brittle: breaks when we add the first .py at level.

Quoted 15 lines
Quoted 15 lines

for however many levels we have. Same for the scripts/ line next to it. Blech.

The smart fix might be to port N: from the kernel.

N: Files and directories *Regex* patterns.
N: [^a-z]tegra all files whose path contains tegra
(not including files like integrator)
One pattern per line. Multiple N: lines acceptable. scripts/get_maintainer.pl has different behavior for files that match F: pattern and matches of N: patterns. By default, get_maintainer will not look at git log history when an F: pattern match occurs. When an N: match occurs, git log history is used to also notify the people that have git commit signatures.

Quoted 6 lines
Quoted 1 line

But I wonder: is this section useful at all?

I would prefer to use the manual entries approach above, especially if there is only folder that is concerned.
When we'll have two different use case, maybe we can consider a more generic approach.

I'm aware of just two:

Python scripts
M: John Snow <[email protected]>
M: Cleber Rosa <[email protected]>
S: Odd Fixes
F: scripts/*.py
F: tests/*.py

The section was added almost a decade ago (commit ad904f6689f), and never worked as intended. I asked John Snow about deleting it to unblock your work. He told me he'd be fine with that. Could add it back later fixed.

Quoted 56 lines
Quoted 46 lines
Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +4149:
tcg/s390/

MAINTAINERS: Fix tcg/s390x/ path

Quoted 5 lines

Once your current series is pulled, I'll fix the remaining and send the attached patch. Or feel free to do it directly if you like the idea :)

Regards,
Pierrick

Two remarks inline.

Quoted 33 lines

From 6c9b49ac7ec06c0159d2b4ba9c9d1081e02ef765 Mon Sep 17 00:00:00 2001
From: Pierrick Bouvier <[email protected]>
Date: Fri, 22 May 2026 12:23:17 -0700
Subject: [PATCH] meson.build: check MAINTAINERS file is consistent with source
tree

We add a new script: scripts/check-maintainers-file.py, that will run at configuration time (and not at build time), to not hurt build time. This script runs in 0.2s on my dev VM, which has an old cpu.

We can expect things to be mostly in sync since adding or removing a source or test file will trigger a configure step.
For the rest, like docs, tcg tests, or remaining files, GitLab CI will build things from scratch and always run the configure step.

With this, it should be impossible by design to have an upstream MAINTAINERS file with non existing file entries.

---
 meson.build                       |  5 +++
 scripts/check-maintainers-file.py | 53 +++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100755 scripts/check-maintainers-file.py
meson.build +0 -0
index eeb096c1487..ddfb0b90ca6 100644
@@ -18,6 +18,11 @@ add_test_setup('thorough',
 
 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
 
Quoted 9 lines

meson.build add_test_setup('thorough', · line 24

Quoted 4 lines
meson.build +4 -0
+# check our MAINTAINERS file is consistent
+check_maintainers = find_program('scripts/check-maintainers-file.py')
+maintainers_file = files('MAINTAINERS')
+run_command([check_maintainers, maintainers_file], check: true, console: true)

My version of meson (1.8.5) chokes on console: true. According to
https://mesonbuild.com/Reference-manual_functions_run_command.html#run_command_console
it's new in 1.11.0.

Quoted 5 lines

Our configure script creates a venv with an updated version of meson, which is 1.11.1 at the moment.
If you called meson directly (which uses your host meson), it's not how we're supposed to build QEMU.
How did you try this?

I ran make :)

Quoted 54 lines
Quoted 44 lines

I tested with it deleted.

Quoted 42 lines
meson.build +1 -0
+
 ####################
 # Global variables #
 ####################
scripts/check-maintainers-file.py new file +32 -0
new file mode 100755
index 00000000000..b001816a401
@@ -0,0 +1,53 @@
+#! /usr/bin/env python3
+
+# Check incorrect file entries in MAINTAINERS
+#
+# Author: Pierrick Bouvier <[email protected]>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import argparse
+import glob
+import sys
+
+
+def check_one_entry(line) -> bool:
+    return True
+
+
+def main() -> None:
+    parser = argparse.ArgumentParser(description="Check MAINTAINERS file")
+    parser.add_argument("maintainers", help="Path to MAINTAINERS file")
+    args = parser.parse_args()
+
+    found_file_entry = False
+    found_incorrect_entries = False
+    line_counter = 0
+
+    with open(args.maintainers) as file:
+        for entry in file:
+            line_counter += 1
+
+            if not entry.startswith("F:"):
+                continue
Quoted 9 lines

scripts/check-maintainers-file.py line 36

Quoted 4 lines
scripts/check-maintainers-file.py new file +4 -0
+            entry = entry[2:].strip()
+            found_file_entry = True
+
+            file_exists = len(glob.glob(entry, recursive=True)) > 0

I'm afraid this matches files not in git, just like my quick & dirty one-liner. Shouldn't we match against contents of HEAD, say output of "git-ls-tree -r --name-only @"?

Quoted 5 lines

I don't think it's needed to restrict to git ls-tree. The only risk is that people have a local file they forgot (or didn't want) to add in git. It will be caught by CI that won't have such a file, so we're safe.

What do you think?

Yes, we're safe, but the earlier we catch mistakes, the better. Now, the juice isn't always worth the squeeze. How hard would we have to squeeze here? We could use fnmatch.filter(names, pat) to test whether @pat matches anything in @names, where @names is from git-ls-tree.

Quoted 21 lines
Quoted 9 lines
Quoted 9 lines
scripts/check-maintainers-file.py new file +9 -0
+            if file_exists:
+                continue
+
+            found_incorrect_entries = True
+            print(
+                f"No matching files for {args.maintainers} +{line_counter}: {entry}",
+                file=sys.stderr,
+            )
+
Quoted 9 lines

scripts/check-maintainers-file.py line 53

Quoted 8 lines
scripts/check-maintainers-file.py new file +8 -0
+    if not found_file_entry:
+        raise Exception("no file entry found - is MAINTAINERS path correct?")
+    if found_incorrect_entries:
+        raise Exception(f"incorrect entries found in {args.maintainers}")
+
+
+if __name__ == "__main__":
+    main()

Regards,
Pierrick

#72 lore raw
Quoted 250 lines · Markus Armbruster
Quoted 23 lines · Pierrick Bouvier
Quoted 22 lines · Markus Armbruster
Quoted 20 lines · Pierrick Bouvier

Hi Markus,

Quoted 17 lines · Markus Armbruster

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

Philippe Mathieu-Daudé recently posted a few fixes:

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path
MAINTAINERS: Cover debian-loongarch-cross.docker with LoongArch section
MAINTAINERS: Cover debian-xtensa-cross.docker with Xtensa section
MAINTAINERS: Cover debian-tricore-cross.docker with TriCore section
MAINTAINERS: Cover python.docker with Python library section
MAINTAINERS: Fix s390x storage key/attribute device paths
MAINTAINERS: Fix tcg/s390x/ path
MAINTAINERS: Correct scripts/coverity-model.c path
MAINTAINERS: Fix hexagon-linux-user.mak path

[...]

Quoted 58 lines
Quoted 11 lines
Quoted 10 lines

In addition, see the patch attached to this email.
It integrates checking this directly at configure time, so we never run into any missing entry again in the future.

I share this here not for a review, but simply to avoid a duplicated effort, and make sure people know it will be sent after this series.

I don't believe in adding this in checkpatch, because it's not enforced systematically unfortunately. Breaking the meson configuration is a good way to make sure it's enforced by design.

Quoted 6 lines

No objection.

Quoted 1 line

With your series applied, the left entries are:

Most of these are fixed in Philippe's patches mentioned above.

👍

Quoted 30 lines
Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +258:
configs/targets/hexagon-linux-user/default.mak

MAINTAINERS: Fix hexagon-linux-user.mak path

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +259:
docker/dockerfiles/debian-hexagon-cross.docker

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path

Quoted 4 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2956:
hw/s390x/storage-keys.h
No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +2965:
hw/s390x/storage-attributes.h

MAINTAINERS: Fix s390x storage key/attribute device paths

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3241:
scripts/coverity-model.c

MAINTAINERS: Correct scripts/coverity-model.c path

Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +3468:
tests/*.py

This is the exception I mentioned above.

The intent is to match *.py below tests/. It actually matches only in tests/, not in its subdirectories.

Quoted 7 lines

Here's a dumb fix:

    F: tests/*.py
    F: tests/*/*.py
    F: tests/*/*/*.py
    F: tests/*/*/*/*.py
Quoted 3 lines

It's acceptable, and nice because it's not ambiguous. Also, it shows us the first line is not a correct entry (there is no tests/*.py).

It's also brittle: breaks when we add the first .py at level.

Quoted 15 lines
Quoted 15 lines

for however many levels we have. Same for the scripts/ line next to it. Blech.

The smart fix might be to port N: from the kernel.

N: Files and directories *Regex* patterns.
N: [^a-z]tegra all files whose path contains tegra
(not including files like integrator)
One pattern per line. Multiple N: lines acceptable. scripts/get_maintainer.pl has different behavior for files that match F: pattern and matches of N: patterns. By default, get_maintainer will not look at git log history when an F: pattern match occurs. When an N: match occurs, git log history is used to also notify the people that have git commit signatures.

Quoted 6 lines
Quoted 1 line

But I wonder: is this section useful at all?

I would prefer to use the manual entries approach above, especially if there is only folder that is concerned.
When we'll have two different use case, maybe we can consider a more generic approach.

I'm aware of just two:

Python scripts
M: John Snow <[email protected]>
M: Cleber Rosa <[email protected]>
S: Odd Fixes
F: scripts/*.py
F: tests/*.py

The section was added almost a decade ago (commit ad904f6689f), and never worked as intended. I asked John Snow about deleting it to unblock your work. He told me he'd be fine with that. Could add it back later fixed.

Quoted 56 lines
Quoted 46 lines
Quoted 2 lines

No matching files for /usr2/pbouvier/.work/qemu/MAINTAINERS +4149:
tcg/s390/

MAINTAINERS: Fix tcg/s390x/ path

Quoted 5 lines

Once your current series is pulled, I'll fix the remaining and send the attached patch. Or feel free to do it directly if you like the idea :)

Regards,
Pierrick

Two remarks inline.

Quoted 33 lines

From 6c9b49ac7ec06c0159d2b4ba9c9d1081e02ef765 Mon Sep 17 00:00:00 2001
From: Pierrick Bouvier <[email protected]>
Date: Fri, 22 May 2026 12:23:17 -0700
Subject: [PATCH] meson.build: check MAINTAINERS file is consistent with source
tree

We add a new script: scripts/check-maintainers-file.py, that will run at configuration time (and not at build time), to not hurt build time. This script runs in 0.2s on my dev VM, which has an old cpu.

We can expect things to be mostly in sync since adding or removing a source or test file will trigger a configure step.
For the rest, like docs, tcg tests, or remaining files, GitLab CI will build things from scratch and always run the configure step.

With this, it should be impossible by design to have an upstream MAINTAINERS file with non existing file entries.

---
 meson.build                       |  5 +++
 scripts/check-maintainers-file.py | 53 +++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100755 scripts/check-maintainers-file.py
meson.build +0 -0
index eeb096c1487..ddfb0b90ca6 100644
@@ -18,6 +18,11 @@ add_test_setup('thorough',
 
 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
 
Quoted 9 lines

meson.build add_test_setup('thorough', · line 24

Quoted 4 lines
meson.build +4 -0
+# check our MAINTAINERS file is consistent
+check_maintainers = find_program('scripts/check-maintainers-file.py')
+maintainers_file = files('MAINTAINERS')
+run_command([check_maintainers, maintainers_file], check: true, console: true)

My version of meson (1.8.5) chokes on console: true. According to
https://mesonbuild.com/Reference-manual_functions_run_command.html#run_command_console
it's new in 1.11.0.

Quoted 5 lines

Our configure script creates a venv with an updated version of meson, which is 1.11.1 at the moment.
If you called meson directly (which uses your host meson), it's not how we're supposed to build QEMU.
How did you try this?

I ran make :)

Quoted 58 lines
Quoted 44 lines

I tested with it deleted.

Quoted 42 lines
meson.build +1 -0
+
 ####################
 # Global variables #
 ####################
scripts/check-maintainers-file.py new file +32 -0
new file mode 100755
index 00000000000..b001816a401
@@ -0,0 +1,53 @@
+#! /usr/bin/env python3
+
+# Check incorrect file entries in MAINTAINERS
+#
+# Author: Pierrick Bouvier <[email protected]>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import argparse
+import glob
+import sys
+
+
+def check_one_entry(line) -> bool:
+    return True
+
+
+def main() -> None:
+    parser = argparse.ArgumentParser(description="Check MAINTAINERS file")
+    parser.add_argument("maintainers", help="Path to MAINTAINERS file")
+    args = parser.parse_args()
+
+    found_file_entry = False
+    found_incorrect_entries = False
+    line_counter = 0
+
+    with open(args.maintainers) as file:
+        for entry in file:
+            line_counter += 1
+
+            if not entry.startswith("F:"):
+                continue
Quoted 9 lines

scripts/check-maintainers-file.py line 36

Quoted 4 lines
scripts/check-maintainers-file.py new file +4 -0
+            entry = entry[2:].strip()
+            found_file_entry = True
+
+            file_exists = len(glob.glob(entry, recursive=True)) > 0

I'm afraid this matches files not in git, just like my quick & dirty one-liner. Shouldn't we match against contents of HEAD, say output of "git-ls-tree -r --name-only @"?

I don't think it's needed to restrict to git ls-tree. The only risk is that people have a local file they forgot (or didn't want) to add in git. It will be caught by CI that won't have such a file, so we're safe.

Quoted 7 lines
Quoted 1 line

What do you think?

Yes, we're safe, but the earlier we catch mistakes, the better. Now, the juice isn't always worth the squeeze. How hard would we have to squeeze here? We could use fnmatch.filter(names, pat) to test whether @pat matches anything in @names, where @names is from git-ls-tree.

"the earlier we catch mistakes, the better" is a good paradigm, but I don't think we should project that to developer machine. The only thing we need to keep "green" are our upstream branches.

I like the simplicity of current script, only dealing with file paths, instead of having to do string regexp compare with git ls-files output, but it's just a matter of personal taste and choosing the easiest solution for a given problem.

That said, if filtering through git ls-files is a strong requirement, I would be happy to implement it. Only thing that matters is that we have something catching mistakes.

Quoted 22 lines
Quoted 21 lines
Quoted 9 lines
Quoted 9 lines
scripts/check-maintainers-file.py new file +9 -0
+            if file_exists:
+                continue
+
+            found_incorrect_entries = True
+            print(
+                f"No matching files for {args.maintainers} +{line_counter}: {entry}",
+                file=sys.stderr,
+            )
+
Quoted 9 lines

scripts/check-maintainers-file.py line 53

Quoted 8 lines
scripts/check-maintainers-file.py new file +8 -0
+    if not found_file_entry:
+        raise Exception("no file entry found - is MAINTAINERS path correct?")
+    if found_incorrect_entries:
+        raise Exception(f"incorrect entries found in {args.maintainers}")
+
+
+if __name__ == "__main__":
+    main()

Regards,
Pierrick

#73 lore raw
Quoted 26 lines · Pierrick Bouvier
Quoted 25 lines · Markus Armbruster
Quoted 23 lines · Pierrick Bouvier
Quoted 22 lines · Markus Armbruster
Quoted 20 lines · Pierrick Bouvier

Hi Markus,

Quoted 17 lines · Markus Armbruster

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

Philippe Mathieu-Daudé recently posted a few fixes:

MAINTAINERS: Fix docker/dockerfiles/debian-hexagon-cross.docker path
MAINTAINERS: Cover debian-loongarch-cross.docker with LoongArch section
MAINTAINERS: Cover debian-xtensa-cross.docker with Xtensa section
MAINTAINERS: Cover debian-tricore-cross.docker with TriCore section
MAINTAINERS: Cover python.docker with Python library section
MAINTAINERS: Fix s390x storage key/attribute device paths
MAINTAINERS: Fix tcg/s390x/ path
MAINTAINERS: Correct scripts/coverity-model.c path
MAINTAINERS: Fix hexagon-linux-user.mak path

[...]

Quoted 21 lines
Quoted 9 lines
Quoted 9 lines
Quoted 4 lines

I'm afraid this matches files not in git, just like my quick & dirty one-liner. Shouldn't we match against contents of HEAD, say output of "git-ls-tree -r --name-only @"?

I don't think it's needed to restrict to git ls-tree. The only risk is that people have a local file they forgot (or didn't want) to add in git. It will be caught by CI that won't have such a file, so we're safe.

Quoted 7 lines
Quoted 1 line

What do you think?

Yes, we're safe, but the earlier we catch mistakes, the better. Now, the juice isn't always worth the squeeze. How hard would we have to squeeze here? We could use fnmatch.filter(names, pat) to test whether @pat matches anything in @names, where @names is from git-ls-tree.

"the earlier we catch mistakes, the better" is a good paradigm, but I don't think we should project that to developer machine. The only thing we need to keep "green" are our upstream branches.

Quoted 8 lines

I like the simplicity of current script, only dealing with file paths, instead of having to do string regexp compare with git ls-files output, but it's just a matter of personal taste and choosing the easiest solution for a given problem.

That said, if filtering through git ls-files is a strong requirement, I would be happy to implement it. Only thing that matters is that we have something catching mistakes.

It's what I would do, but that does *not* make it a requirement, let alone a strong one. I'm not the maintainer here. You, however, are the patch's author :)

If you want simple, consider

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

[...]

#74 lore raw
In reply to Pierrick Bouvier
Quoted 8 lines · Pierrick Bouvier

Hi Markus,

Quoted 5 lines · Markus Armbruster

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

[...]

Quoted 14 lines
Quoted 14 lines

This series takes care of the remainder, except for one discussed below. It applies cleanly with and without Philippe's patches.

The exception is the last line in

Python scripts
M: John Snow <[email protected]>
M: Cleber Rosa <[email protected]>
S: Odd Fixes
F: scripts/*.py
F: tests/*.py

Both F: are actually wrong here: they match only in the scripts/ and tests/ not further down. Left for another day.

[...]

Quoted 5 lines

thanks for posting this.

In addition, see the patch attached to this email.
It integrates checking this directly at configure time, so we never run into any missing entry again in the future.

[...]

Quoted 5 lines

Once your current series is pulled, I'll fix the remaining and send the attached patch. Or feel free to do it directly if you like the idea :)

Regards,
Pierrick

master is now clean except for "F: tests/*.py".

#75 lore raw
Quoted 38 lines · Markus Armbruster
Quoted 8 lines · Pierrick Bouvier

Hi Markus,

Quoted 5 lines · Markus Armbruster

Quite a few F: lines don't match any files. The quick & dirty check

    $ ls `sed -n 's/^F: *//p' MAINTAINERS ` >/dev/null

finds about fifty.

[...]

Quoted 14 lines
Quoted 14 lines

This series takes care of the remainder, except for one discussed below. It applies cleanly with and without Philippe's patches.

The exception is the last line in

Python scripts
M: John Snow <[email protected]>
M: Cleber Rosa <[email protected]>
S: Odd Fixes
F: scripts/*.py
F: tests/*.py

Both F: are actually wrong here: they match only in the scripts/ and tests/ not further down. Left for another day.

[...]

Quoted 5 lines

thanks for posting this.

In addition, see the patch attached to this email.
It integrates checking this directly at configure time, so we never run into any missing entry again in the future.

[...]

Quoted 8 lines
Quoted 5 lines

Once your current series is pulled, I'll fix the remaining and send the attached patch. Or feel free to do it directly if you like the idea :)

Regards,
Pierrick

master is now clean except for "F: tests/*.py".

Thanks Markus,
I sent this series to follow up on this:
https://lore.kernel.org/qemu-devel/[email protected]/T/#

Cheers,
Pierrick