Re: [PATCH] VFIO: remove dead notifier code

Jason Gunthorpe
2026-04-10T18:10:08Z

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@redhat.com>
> ---
> 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@nvidia.com>

Jason