Re: [PATCH] VFIO: remove dead notifier code

Alex Williamson
2026-04-10T19:32:05Z

On Fri, 10 Apr 2026 15:10:06 -0300
Jason Gunthorpe <jgg@ziepe.ca> wrote:

> 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")
>
> ?

Technically yes, but is it really worth having stable pick this up?
Seems not. Thanks,

Alex