Re: [PATCH] VFIO: remove dead notifier code

From: Jason Gunthorpe

Date: Fri Apr 10 2026 - 14:10:26 EST


On Tue, Apr 07, 2026 at 07:59:34PM +0200, Paolo Bonzini wrote:
> group->notifier is dead code. VFIO initializes it and checks it for emptiness on
> teardown, but nobody ever registers on it or triggers it.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---
> Documentation/arch/s390/vfio-ap.rst | 18 ++++++------------
> drivers/vfio/group.c | 3 ---
> drivers/vfio/vfio.h | 1 -
> drivers/vfio/vfio_iommu_type1.c | 1 -
> 4 files changed, 6 insertions(+), 17 deletions(-)

Fixes: 421cfe6596f6 ("vfio: remove VFIO_GROUP_NOTIFY_SET_KVM")

?

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason